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

com.passkit.grpc.JobOuterClass Maven / Gradle / Ivy

Go to download

SDK for the PassKit gRPC API that can be used to create, configure and manage Membership, Loyalty, Event Ticket, Coupon, Transit and Boarding Pass content for mobile wallet applications, including Apple Pay and Google Pay.

There is a newer version: 1.1.97
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: io/common/job.proto

package com.passkit.grpc;

public final class JobOuterClass {
  private JobOuterClass() {}
  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 io.JobStatus}
   */
  public enum JobStatus
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * JOB_SCHEDULED = 0;
     */
    JOB_SCHEDULED(0),
    /**
     * JOB_RUNNING = 1;
     */
    JOB_RUNNING(1),
    /**
     * JOB_PAUSED = 2;
     */
    JOB_PAUSED(2),
    /**
     * JOB_COMPLETED = 3;
     */
    JOB_COMPLETED(3),
    /**
     * JOB_COMPLETED_WITH_ERRORS = 4;
     */
    JOB_COMPLETED_WITH_ERRORS(4),
    UNRECOGNIZED(-1),
    ;

    /**
     * JOB_SCHEDULED = 0;
     */
    public static final int JOB_SCHEDULED_VALUE = 0;
    /**
     * JOB_RUNNING = 1;
     */
    public static final int JOB_RUNNING_VALUE = 1;
    /**
     * JOB_PAUSED = 2;
     */
    public static final int JOB_PAUSED_VALUE = 2;
    /**
     * JOB_COMPLETED = 3;
     */
    public static final int JOB_COMPLETED_VALUE = 3;
    /**
     * JOB_COMPLETED_WITH_ERRORS = 4;
     */
    public static final int JOB_COMPLETED_WITH_ERRORS_VALUE = 4;


    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 JobStatus 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 JobStatus forNumber(int value) {
      switch (value) {
        case 0: return JOB_SCHEDULED;
        case 1: return JOB_RUNNING;
        case 2: return JOB_PAUSED;
        case 3: return JOB_COMPLETED;
        case 4: return JOB_COMPLETED_WITH_ERRORS;
        default: return null;
      }
    }

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

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

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

    // @@protoc_insertion_point(enum_scope:io.JobStatus)
  }

  /**
   * Protobuf enum {@code io.JobType}
   */
  public enum JobType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * JOB_CSV_IMPORT = 0;
     */
    JOB_CSV_IMPORT(0),
    /**
     * JOB_CSV_EXPORT = 1;
     */
    JOB_CSV_EXPORT(1),
    UNRECOGNIZED(-1),
    ;

    /**
     * JOB_CSV_IMPORT = 0;
     */
    public static final int JOB_CSV_IMPORT_VALUE = 0;
    /**
     * JOB_CSV_EXPORT = 1;
     */
    public static final int JOB_CSV_EXPORT_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 JobType 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 JobType forNumber(int value) {
      switch (value) {
        case 0: return JOB_CSV_IMPORT;
        case 1: return JOB_CSV_EXPORT;
        default: return null;
      }
    }

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

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

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

    // @@protoc_insertion_point(enum_scope:io.JobType)
  }

  public interface JobOrBuilder extends
      // @@protoc_insertion_point(interface_extends:io.Job)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * Auto generated 22 char identifier.
     * 
* * string id = 1; * @return The id. */ java.lang.String getId(); /** *
     * Auto generated 22 char identifier.
     * 
* * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * The username of the user that requested the job.
     * 
* * string username = 2; * @return The username. */ java.lang.String getUsername(); /** *
     * The username of the user that requested the job.
     * 
* * string username = 2; * @return The bytes for username. */ com.google.protobuf.ByteString getUsernameBytes(); /** *
     * The protocol of the associated resource.
     * 
* * .io.PassProtocol protocol = 3; * @return The enum numeric value on the wire for protocol. */ int getProtocolValue(); /** *
     * The protocol of the associated resource.
     * 
* * .io.PassProtocol protocol = 3; * @return The protocol. */ com.passkit.grpc.Protocols.PassProtocol getProtocol(); /** *
     * The status of the job.
     * 
* * .io.JobStatus status = 4; * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** *
     * The status of the job.
     * 
* * .io.JobStatus status = 4; * @return The status. */ com.passkit.grpc.JobOuterClass.JobStatus getStatus(); /** *
     * The type of job running.
     * 
* * .io.JobType type = 5; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** *
     * The type of job running.
     * 
* * .io.JobType type = 5; * @return The type. */ com.passkit.grpc.JobOuterClass.JobType getType(); /** *
     * Defines the recurrence schedule of the job.
     * 
* * .io.Schedule schedule = 6; * @return Whether the schedule field is set. */ boolean hasSchedule(); /** *
     * Defines the recurrence schedule of the job.
     * 
* * .io.Schedule schedule = 6; * @return The schedule. */ com.passkit.grpc.JobOuterClass.Schedule getSchedule(); /** *
     * Defines the recurrence schedule of the job.
     * 
* * .io.Schedule schedule = 6; */ com.passkit.grpc.JobOuterClass.ScheduleOrBuilder getScheduleOrBuilder(); /** *
     * The date the job was created in the PassKit system.
     * 
* * .google.protobuf.Timestamp created = 7; * @return Whether the created field is set. */ boolean hasCreated(); /** *
     * The date the job was created in the PassKit system.
     * 
* * .google.protobuf.Timestamp created = 7; * @return The created. */ com.google.protobuf.Timestamp getCreated(); /** *
     * The date the job was created in the PassKit system.
     * 
* * .google.protobuf.Timestamp created = 7; */ com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder(); /** *
     * The date the job was updated in the PassKit system.
     * 
* * .google.protobuf.Timestamp updated = 8; * @return Whether the updated field is set. */ boolean hasUpdated(); /** *
     * The date the job was updated in the PassKit system.
     * 
* * .google.protobuf.Timestamp updated = 8; * @return The updated. */ com.google.protobuf.Timestamp getUpdated(); /** *
     * The date the job was updated in the PassKit system.
     * 
* * .google.protobuf.Timestamp updated = 8; */ com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder(); /** *
     * The date the job will run for the first time in the PassKit system.
     * 
* * .google.protobuf.Timestamp firstRun = 9; * @return Whether the firstRun field is set. */ boolean hasFirstRun(); /** *
     * The date the job will run for the first time in the PassKit system.
     * 
* * .google.protobuf.Timestamp firstRun = 9; * @return The firstRun. */ com.google.protobuf.Timestamp getFirstRun(); /** *
     * The date the job will run for the first time in the PassKit system.
     * 
* * .google.protobuf.Timestamp firstRun = 9; */ com.google.protobuf.TimestampOrBuilder getFirstRunOrBuilder(); /** *
     * The date the job will run for the last time in the PassKit system.
     * 
* * .google.protobuf.Timestamp finalRun = 10; * @return Whether the finalRun field is set. */ boolean hasFinalRun(); /** *
     * The date the job will run for the last time in the PassKit system.
     * 
* * .google.protobuf.Timestamp finalRun = 10; * @return The finalRun. */ com.google.protobuf.Timestamp getFinalRun(); /** *
     * The date the job will run for the last time in the PassKit system.
     * 
* * .google.protobuf.Timestamp finalRun = 10; */ com.google.protobuf.TimestampOrBuilder getFinalRunOrBuilder(); /** *
     * The date the job will run next in the PassKit system.
     * 
* * .google.protobuf.Timestamp nextRun = 11; * @return Whether the nextRun field is set. */ boolean hasNextRun(); /** *
     * The date the job will run next in the PassKit system.
     * 
* * .google.protobuf.Timestamp nextRun = 11; * @return The nextRun. */ com.google.protobuf.Timestamp getNextRun(); /** *
     * The date the job will run next in the PassKit system.
     * 
* * .google.protobuf.Timestamp nextRun = 11; */ com.google.protobuf.TimestampOrBuilder getNextRunOrBuilder(); /** *
     * The date the job was last run in the PassKit system.
     * 
* * .google.protobuf.Timestamp lastRun = 12; * @return Whether the lastRun field is set. */ boolean hasLastRun(); /** *
     * The date the job was last run in the PassKit system.
     * 
* * .google.protobuf.Timestamp lastRun = 12; * @return The lastRun. */ com.google.protobuf.Timestamp getLastRun(); /** *
     * The date the job was last run in the PassKit system.
     * 
* * .google.protobuf.Timestamp lastRun = 12; */ com.google.protobuf.TimestampOrBuilder getLastRunOrBuilder(); } /** * Protobuf type {@code io.Job} */ public static final class Job extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.Job) JobOrBuilder { private static final long serialVersionUID = 0L; // Use Job.newBuilder() to construct. private Job(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Job() { id_ = ""; username_ = ""; protocol_ = 0; status_ = 0; type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Job(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Job( 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(); username_ = s; break; } case 24: { int rawValue = input.readEnum(); protocol_ = rawValue; break; } case 32: { int rawValue = input.readEnum(); status_ = rawValue; break; } case 40: { int rawValue = input.readEnum(); type_ = rawValue; break; } case 50: { com.passkit.grpc.JobOuterClass.Schedule.Builder subBuilder = null; if (schedule_ != null) { subBuilder = schedule_.toBuilder(); } schedule_ = input.readMessage(com.passkit.grpc.JobOuterClass.Schedule.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(schedule_); schedule_ = subBuilder.buildPartial(); } break; } case 58: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (created_ != null) { subBuilder = created_.toBuilder(); } created_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(created_); created_ = subBuilder.buildPartial(); } break; } case 66: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (updated_ != null) { subBuilder = updated_.toBuilder(); } updated_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(updated_); updated_ = subBuilder.buildPartial(); } break; } case 74: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (firstRun_ != null) { subBuilder = firstRun_.toBuilder(); } firstRun_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(firstRun_); firstRun_ = subBuilder.buildPartial(); } break; } case 82: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (finalRun_ != null) { subBuilder = finalRun_.toBuilder(); } finalRun_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(finalRun_); finalRun_ = subBuilder.buildPartial(); } break; } case 90: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (nextRun_ != null) { subBuilder = nextRun_.toBuilder(); } nextRun_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(nextRun_); nextRun_ = subBuilder.buildPartial(); } break; } case 98: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (lastRun_ != null) { subBuilder = lastRun_.toBuilder(); } lastRun_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(lastRun_); lastRun_ = 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 com.passkit.grpc.JobOuterClass.internal_static_io_Job_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.JobOuterClass.internal_static_io_Job_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.JobOuterClass.Job.class, com.passkit.grpc.JobOuterClass.Job.Builder.class); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * Auto generated 22 char identifier.
     * 
* * 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; } } /** *
     * Auto generated 22 char identifier.
     * 
* * 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 USERNAME_FIELD_NUMBER = 2; private volatile java.lang.Object username_; /** *
     * The username of the user that requested the job.
     * 
* * string username = 2; * @return The username. */ @java.lang.Override public java.lang.String getUsername() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } } /** *
     * The username of the user that requested the job.
     * 
* * string username = 2; * @return The bytes for username. */ @java.lang.Override public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROTOCOL_FIELD_NUMBER = 3; private int protocol_; /** *
     * The protocol of the associated resource.
     * 
* * .io.PassProtocol protocol = 3; * @return The enum numeric value on the wire for protocol. */ @java.lang.Override public int getProtocolValue() { return protocol_; } /** *
     * The protocol of the associated resource.
     * 
* * .io.PassProtocol protocol = 3; * @return The protocol. */ @java.lang.Override public com.passkit.grpc.Protocols.PassProtocol getProtocol() { @SuppressWarnings("deprecation") com.passkit.grpc.Protocols.PassProtocol result = com.passkit.grpc.Protocols.PassProtocol.valueOf(protocol_); return result == null ? com.passkit.grpc.Protocols.PassProtocol.UNRECOGNIZED : result; } public static final int STATUS_FIELD_NUMBER = 4; private int status_; /** *
     * The status of the job.
     * 
* * .io.JobStatus status = 4; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
     * The status of the job.
     * 
* * .io.JobStatus status = 4; * @return The status. */ @java.lang.Override public com.passkit.grpc.JobOuterClass.JobStatus getStatus() { @SuppressWarnings("deprecation") com.passkit.grpc.JobOuterClass.JobStatus result = com.passkit.grpc.JobOuterClass.JobStatus.valueOf(status_); return result == null ? com.passkit.grpc.JobOuterClass.JobStatus.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 5; private int type_; /** *
     * The type of job running.
     * 
* * .io.JobType type = 5; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** *
     * The type of job running.
     * 
* * .io.JobType type = 5; * @return The type. */ @java.lang.Override public com.passkit.grpc.JobOuterClass.JobType getType() { @SuppressWarnings("deprecation") com.passkit.grpc.JobOuterClass.JobType result = com.passkit.grpc.JobOuterClass.JobType.valueOf(type_); return result == null ? com.passkit.grpc.JobOuterClass.JobType.UNRECOGNIZED : result; } public static final int SCHEDULE_FIELD_NUMBER = 6; private com.passkit.grpc.JobOuterClass.Schedule schedule_; /** *
     * Defines the recurrence schedule of the job.
     * 
* * .io.Schedule schedule = 6; * @return Whether the schedule field is set. */ @java.lang.Override public boolean hasSchedule() { return schedule_ != null; } /** *
     * Defines the recurrence schedule of the job.
     * 
* * .io.Schedule schedule = 6; * @return The schedule. */ @java.lang.Override public com.passkit.grpc.JobOuterClass.Schedule getSchedule() { return schedule_ == null ? com.passkit.grpc.JobOuterClass.Schedule.getDefaultInstance() : schedule_; } /** *
     * Defines the recurrence schedule of the job.
     * 
* * .io.Schedule schedule = 6; */ @java.lang.Override public com.passkit.grpc.JobOuterClass.ScheduleOrBuilder getScheduleOrBuilder() { return getSchedule(); } public static final int CREATED_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp created_; /** *
     * The date the job was created in the PassKit system.
     * 
* * .google.protobuf.Timestamp created = 7; * @return Whether the created field is set. */ @java.lang.Override public boolean hasCreated() { return created_ != null; } /** *
     * The date the job was created in the PassKit system.
     * 
* * .google.protobuf.Timestamp created = 7; * @return The created. */ @java.lang.Override public com.google.protobuf.Timestamp getCreated() { return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_; } /** *
     * The date the job was created in the PassKit system.
     * 
* * .google.protobuf.Timestamp created = 7; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() { return getCreated(); } public static final int UPDATED_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp updated_; /** *
     * The date the job was updated in the PassKit system.
     * 
* * .google.protobuf.Timestamp updated = 8; * @return Whether the updated field is set. */ @java.lang.Override public boolean hasUpdated() { return updated_ != null; } /** *
     * The date the job was updated in the PassKit system.
     * 
* * .google.protobuf.Timestamp updated = 8; * @return The updated. */ @java.lang.Override public com.google.protobuf.Timestamp getUpdated() { return updated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updated_; } /** *
     * The date the job was updated in the PassKit system.
     * 
* * .google.protobuf.Timestamp updated = 8; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder() { return getUpdated(); } public static final int FIRSTRUN_FIELD_NUMBER = 9; private com.google.protobuf.Timestamp firstRun_; /** *
     * The date the job will run for the first time in the PassKit system.
     * 
* * .google.protobuf.Timestamp firstRun = 9; * @return Whether the firstRun field is set. */ @java.lang.Override public boolean hasFirstRun() { return firstRun_ != null; } /** *
     * The date the job will run for the first time in the PassKit system.
     * 
* * .google.protobuf.Timestamp firstRun = 9; * @return The firstRun. */ @java.lang.Override public com.google.protobuf.Timestamp getFirstRun() { return firstRun_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : firstRun_; } /** *
     * The date the job will run for the first time in the PassKit system.
     * 
* * .google.protobuf.Timestamp firstRun = 9; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getFirstRunOrBuilder() { return getFirstRun(); } public static final int FINALRUN_FIELD_NUMBER = 10; private com.google.protobuf.Timestamp finalRun_; /** *
     * The date the job will run for the last time in the PassKit system.
     * 
* * .google.protobuf.Timestamp finalRun = 10; * @return Whether the finalRun field is set. */ @java.lang.Override public boolean hasFinalRun() { return finalRun_ != null; } /** *
     * The date the job will run for the last time in the PassKit system.
     * 
* * .google.protobuf.Timestamp finalRun = 10; * @return The finalRun. */ @java.lang.Override public com.google.protobuf.Timestamp getFinalRun() { return finalRun_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finalRun_; } /** *
     * The date the job will run for the last time in the PassKit system.
     * 
* * .google.protobuf.Timestamp finalRun = 10; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getFinalRunOrBuilder() { return getFinalRun(); } public static final int NEXTRUN_FIELD_NUMBER = 11; private com.google.protobuf.Timestamp nextRun_; /** *
     * The date the job will run next in the PassKit system.
     * 
* * .google.protobuf.Timestamp nextRun = 11; * @return Whether the nextRun field is set. */ @java.lang.Override public boolean hasNextRun() { return nextRun_ != null; } /** *
     * The date the job will run next in the PassKit system.
     * 
* * .google.protobuf.Timestamp nextRun = 11; * @return The nextRun. */ @java.lang.Override public com.google.protobuf.Timestamp getNextRun() { return nextRun_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : nextRun_; } /** *
     * The date the job will run next in the PassKit system.
     * 
* * .google.protobuf.Timestamp nextRun = 11; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getNextRunOrBuilder() { return getNextRun(); } public static final int LASTRUN_FIELD_NUMBER = 12; private com.google.protobuf.Timestamp lastRun_; /** *
     * The date the job was last run in the PassKit system.
     * 
* * .google.protobuf.Timestamp lastRun = 12; * @return Whether the lastRun field is set. */ @java.lang.Override public boolean hasLastRun() { return lastRun_ != null; } /** *
     * The date the job was last run in the PassKit system.
     * 
* * .google.protobuf.Timestamp lastRun = 12; * @return The lastRun. */ @java.lang.Override public com.google.protobuf.Timestamp getLastRun() { return lastRun_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastRun_; } /** *
     * The date the job was last run in the PassKit system.
     * 
* * .google.protobuf.Timestamp lastRun = 12; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getLastRunOrBuilder() { return getLastRun(); } 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 (!getIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (!getUsernameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, username_); } if (protocol_ != com.passkit.grpc.Protocols.PassProtocol.PASS_PROTOCOL_DO_NOT_USE.getNumber()) { output.writeEnum(3, protocol_); } if (status_ != com.passkit.grpc.JobOuterClass.JobStatus.JOB_SCHEDULED.getNumber()) { output.writeEnum(4, status_); } if (type_ != com.passkit.grpc.JobOuterClass.JobType.JOB_CSV_IMPORT.getNumber()) { output.writeEnum(5, type_); } if (schedule_ != null) { output.writeMessage(6, getSchedule()); } if (created_ != null) { output.writeMessage(7, getCreated()); } if (updated_ != null) { output.writeMessage(8, getUpdated()); } if (firstRun_ != null) { output.writeMessage(9, getFirstRun()); } if (finalRun_ != null) { output.writeMessage(10, getFinalRun()); } if (nextRun_ != null) { output.writeMessage(11, getNextRun()); } if (lastRun_ != null) { output.writeMessage(12, getLastRun()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (!getUsernameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, username_); } if (protocol_ != com.passkit.grpc.Protocols.PassProtocol.PASS_PROTOCOL_DO_NOT_USE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(3, protocol_); } if (status_ != com.passkit.grpc.JobOuterClass.JobStatus.JOB_SCHEDULED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, status_); } if (type_ != com.passkit.grpc.JobOuterClass.JobType.JOB_CSV_IMPORT.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, type_); } if (schedule_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getSchedule()); } if (created_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getCreated()); } if (updated_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getUpdated()); } if (firstRun_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getFirstRun()); } if (finalRun_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getFinalRun()); } if (nextRun_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getNextRun()); } if (lastRun_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getLastRun()); } 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 com.passkit.grpc.JobOuterClass.Job)) { return super.equals(obj); } com.passkit.grpc.JobOuterClass.Job other = (com.passkit.grpc.JobOuterClass.Job) obj; if (!getId() .equals(other.getId())) return false; if (!getUsername() .equals(other.getUsername())) return false; if (protocol_ != other.protocol_) return false; if (status_ != other.status_) return false; if (type_ != other.type_) return false; if (hasSchedule() != other.hasSchedule()) return false; if (hasSchedule()) { if (!getSchedule() .equals(other.getSchedule())) return false; } if (hasCreated() != other.hasCreated()) return false; if (hasCreated()) { if (!getCreated() .equals(other.getCreated())) return false; } if (hasUpdated() != other.hasUpdated()) return false; if (hasUpdated()) { if (!getUpdated() .equals(other.getUpdated())) return false; } if (hasFirstRun() != other.hasFirstRun()) return false; if (hasFirstRun()) { if (!getFirstRun() .equals(other.getFirstRun())) return false; } if (hasFinalRun() != other.hasFinalRun()) return false; if (hasFinalRun()) { if (!getFinalRun() .equals(other.getFinalRun())) return false; } if (hasNextRun() != other.hasNextRun()) return false; if (hasNextRun()) { if (!getNextRun() .equals(other.getNextRun())) return false; } if (hasLastRun() != other.hasLastRun()) return false; if (hasLastRun()) { if (!getLastRun() .equals(other.getLastRun())) 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) + USERNAME_FIELD_NUMBER; hash = (53 * hash) + getUsername().hashCode(); hash = (37 * hash) + PROTOCOL_FIELD_NUMBER; hash = (53 * hash) + protocol_; hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; if (hasSchedule()) { hash = (37 * hash) + SCHEDULE_FIELD_NUMBER; hash = (53 * hash) + getSchedule().hashCode(); } if (hasCreated()) { hash = (37 * hash) + CREATED_FIELD_NUMBER; hash = (53 * hash) + getCreated().hashCode(); } if (hasUpdated()) { hash = (37 * hash) + UPDATED_FIELD_NUMBER; hash = (53 * hash) + getUpdated().hashCode(); } if (hasFirstRun()) { hash = (37 * hash) + FIRSTRUN_FIELD_NUMBER; hash = (53 * hash) + getFirstRun().hashCode(); } if (hasFinalRun()) { hash = (37 * hash) + FINALRUN_FIELD_NUMBER; hash = (53 * hash) + getFinalRun().hashCode(); } if (hasNextRun()) { hash = (37 * hash) + NEXTRUN_FIELD_NUMBER; hash = (53 * hash) + getNextRun().hashCode(); } if (hasLastRun()) { hash = (37 * hash) + LASTRUN_FIELD_NUMBER; hash = (53 * hash) + getLastRun().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.JobOuterClass.Job parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.JobOuterClass.Job parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.JobOuterClass.Job parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.JobOuterClass.Job parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.JobOuterClass.Job parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.JobOuterClass.Job parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.JobOuterClass.Job parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.JobOuterClass.Job 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 com.passkit.grpc.JobOuterClass.Job parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.JobOuterClass.Job 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 com.passkit.grpc.JobOuterClass.Job parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.JobOuterClass.Job 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(com.passkit.grpc.JobOuterClass.Job 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 io.Job} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.Job) com.passkit.grpc.JobOuterClass.JobOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.JobOuterClass.internal_static_io_Job_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.JobOuterClass.internal_static_io_Job_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.JobOuterClass.Job.class, com.passkit.grpc.JobOuterClass.Job.Builder.class); } // Construct using com.passkit.grpc.JobOuterClass.Job.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_ = ""; username_ = ""; protocol_ = 0; status_ = 0; type_ = 0; if (scheduleBuilder_ == null) { schedule_ = null; } else { schedule_ = null; scheduleBuilder_ = null; } if (createdBuilder_ == null) { created_ = null; } else { created_ = null; createdBuilder_ = null; } if (updatedBuilder_ == null) { updated_ = null; } else { updated_ = null; updatedBuilder_ = null; } if (firstRunBuilder_ == null) { firstRun_ = null; } else { firstRun_ = null; firstRunBuilder_ = null; } if (finalRunBuilder_ == null) { finalRun_ = null; } else { finalRun_ = null; finalRunBuilder_ = null; } if (nextRunBuilder_ == null) { nextRun_ = null; } else { nextRun_ = null; nextRunBuilder_ = null; } if (lastRunBuilder_ == null) { lastRun_ = null; } else { lastRun_ = null; lastRunBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.JobOuterClass.internal_static_io_Job_descriptor; } @java.lang.Override public com.passkit.grpc.JobOuterClass.Job getDefaultInstanceForType() { return com.passkit.grpc.JobOuterClass.Job.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.JobOuterClass.Job build() { com.passkit.grpc.JobOuterClass.Job result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.JobOuterClass.Job buildPartial() { com.passkit.grpc.JobOuterClass.Job result = new com.passkit.grpc.JobOuterClass.Job(this); result.id_ = id_; result.username_ = username_; result.protocol_ = protocol_; result.status_ = status_; result.type_ = type_; if (scheduleBuilder_ == null) { result.schedule_ = schedule_; } else { result.schedule_ = scheduleBuilder_.build(); } if (createdBuilder_ == null) { result.created_ = created_; } else { result.created_ = createdBuilder_.build(); } if (updatedBuilder_ == null) { result.updated_ = updated_; } else { result.updated_ = updatedBuilder_.build(); } if (firstRunBuilder_ == null) { result.firstRun_ = firstRun_; } else { result.firstRun_ = firstRunBuilder_.build(); } if (finalRunBuilder_ == null) { result.finalRun_ = finalRun_; } else { result.finalRun_ = finalRunBuilder_.build(); } if (nextRunBuilder_ == null) { result.nextRun_ = nextRun_; } else { result.nextRun_ = nextRunBuilder_.build(); } if (lastRunBuilder_ == null) { result.lastRun_ = lastRun_; } else { result.lastRun_ = lastRunBuilder_.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 com.passkit.grpc.JobOuterClass.Job) { return mergeFrom((com.passkit.grpc.JobOuterClass.Job)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.JobOuterClass.Job other) { if (other == com.passkit.grpc.JobOuterClass.Job.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (!other.getUsername().isEmpty()) { username_ = other.username_; onChanged(); } if (other.protocol_ != 0) { setProtocolValue(other.getProtocolValue()); } if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } if (other.hasSchedule()) { mergeSchedule(other.getSchedule()); } if (other.hasCreated()) { mergeCreated(other.getCreated()); } if (other.hasUpdated()) { mergeUpdated(other.getUpdated()); } if (other.hasFirstRun()) { mergeFirstRun(other.getFirstRun()); } if (other.hasFinalRun()) { mergeFinalRun(other.getFinalRun()); } if (other.hasNextRun()) { mergeNextRun(other.getNextRun()); } if (other.hasLastRun()) { mergeLastRun(other.getLastRun()); } 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 { com.passkit.grpc.JobOuterClass.Job parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.JobOuterClass.Job) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object id_ = ""; /** *
       * Auto generated 22 char identifier.
       * 
* * 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; } } /** *
       * Auto generated 22 char identifier.
       * 
* * 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; } } /** *
       * Auto generated 22 char identifier.
       * 
* * 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; } /** *
       * Auto generated 22 char identifier.
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * Auto generated 22 char identifier.
       * 
* * 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 username_ = ""; /** *
       * The username of the user that requested the job.
       * 
* * string username = 2; * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The username of the user that requested the job.
       * 
* * string username = 2; * @return The bytes for username. */ public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The username of the user that requested the job.
       * 
* * string username = 2; * @param value The username to set. * @return This builder for chaining. */ public Builder setUsername( java.lang.String value) { if (value == null) { throw new NullPointerException(); } username_ = value; onChanged(); return this; } /** *
       * The username of the user that requested the job.
       * 
* * string username = 2; * @return This builder for chaining. */ public Builder clearUsername() { username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** *
       * The username of the user that requested the job.
       * 
* * string username = 2; * @param value The bytes for username to set. * @return This builder for chaining. */ public Builder setUsernameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); username_ = value; onChanged(); return this; } private int protocol_ = 0; /** *
       * The protocol of the associated resource.
       * 
* * .io.PassProtocol protocol = 3; * @return The enum numeric value on the wire for protocol. */ @java.lang.Override public int getProtocolValue() { return protocol_; } /** *
       * The protocol of the associated resource.
       * 
* * .io.PassProtocol protocol = 3; * @param value The enum numeric value on the wire for protocol to set. * @return This builder for chaining. */ public Builder setProtocolValue(int value) { protocol_ = value; onChanged(); return this; } /** *
       * The protocol of the associated resource.
       * 
* * .io.PassProtocol protocol = 3; * @return The protocol. */ @java.lang.Override public com.passkit.grpc.Protocols.PassProtocol getProtocol() { @SuppressWarnings("deprecation") com.passkit.grpc.Protocols.PassProtocol result = com.passkit.grpc.Protocols.PassProtocol.valueOf(protocol_); return result == null ? com.passkit.grpc.Protocols.PassProtocol.UNRECOGNIZED : result; } /** *
       * The protocol of the associated resource.
       * 
* * .io.PassProtocol protocol = 3; * @param value The protocol to set. * @return This builder for chaining. */ public Builder setProtocol(com.passkit.grpc.Protocols.PassProtocol value) { if (value == null) { throw new NullPointerException(); } protocol_ = value.getNumber(); onChanged(); return this; } /** *
       * The protocol of the associated resource.
       * 
* * .io.PassProtocol protocol = 3; * @return This builder for chaining. */ public Builder clearProtocol() { protocol_ = 0; onChanged(); return this; } private int status_ = 0; /** *
       * The status of the job.
       * 
* * .io.JobStatus status = 4; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
       * The status of the job.
       * 
* * .io.JobStatus status = 4; * @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; } /** *
       * The status of the job.
       * 
* * .io.JobStatus status = 4; * @return The status. */ @java.lang.Override public com.passkit.grpc.JobOuterClass.JobStatus getStatus() { @SuppressWarnings("deprecation") com.passkit.grpc.JobOuterClass.JobStatus result = com.passkit.grpc.JobOuterClass.JobStatus.valueOf(status_); return result == null ? com.passkit.grpc.JobOuterClass.JobStatus.UNRECOGNIZED : result; } /** *
       * The status of the job.
       * 
* * .io.JobStatus status = 4; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(com.passkit.grpc.JobOuterClass.JobStatus value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /** *
       * The status of the job.
       * 
* * .io.JobStatus status = 4; * @return This builder for chaining. */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } private int type_ = 0; /** *
       * The type of job running.
       * 
* * .io.JobType type = 5; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** *
       * The type of job running.
       * 
* * .io.JobType type = 5; * @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; } /** *
       * The type of job running.
       * 
* * .io.JobType type = 5; * @return The type. */ @java.lang.Override public com.passkit.grpc.JobOuterClass.JobType getType() { @SuppressWarnings("deprecation") com.passkit.grpc.JobOuterClass.JobType result = com.passkit.grpc.JobOuterClass.JobType.valueOf(type_); return result == null ? com.passkit.grpc.JobOuterClass.JobType.UNRECOGNIZED : result; } /** *
       * The type of job running.
       * 
* * .io.JobType type = 5; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(com.passkit.grpc.JobOuterClass.JobType value) { if (value == null) { throw new NullPointerException(); } type_ = value.getNumber(); onChanged(); return this; } /** *
       * The type of job running.
       * 
* * .io.JobType type = 5; * @return This builder for chaining. */ public Builder clearType() { type_ = 0; onChanged(); return this; } private com.passkit.grpc.JobOuterClass.Schedule schedule_; private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.JobOuterClass.Schedule, com.passkit.grpc.JobOuterClass.Schedule.Builder, com.passkit.grpc.JobOuterClass.ScheduleOrBuilder> scheduleBuilder_; /** *
       * Defines the recurrence schedule of the job.
       * 
* * .io.Schedule schedule = 6; * @return Whether the schedule field is set. */ public boolean hasSchedule() { return scheduleBuilder_ != null || schedule_ != null; } /** *
       * Defines the recurrence schedule of the job.
       * 
* * .io.Schedule schedule = 6; * @return The schedule. */ public com.passkit.grpc.JobOuterClass.Schedule getSchedule() { if (scheduleBuilder_ == null) { return schedule_ == null ? com.passkit.grpc.JobOuterClass.Schedule.getDefaultInstance() : schedule_; } else { return scheduleBuilder_.getMessage(); } } /** *
       * Defines the recurrence schedule of the job.
       * 
* * .io.Schedule schedule = 6; */ public Builder setSchedule(com.passkit.grpc.JobOuterClass.Schedule value) { if (scheduleBuilder_ == null) { if (value == null) { throw new NullPointerException(); } schedule_ = value; onChanged(); } else { scheduleBuilder_.setMessage(value); } return this; } /** *
       * Defines the recurrence schedule of the job.
       * 
* * .io.Schedule schedule = 6; */ public Builder setSchedule( com.passkit.grpc.JobOuterClass.Schedule.Builder builderForValue) { if (scheduleBuilder_ == null) { schedule_ = builderForValue.build(); onChanged(); } else { scheduleBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Defines the recurrence schedule of the job.
       * 
* * .io.Schedule schedule = 6; */ public Builder mergeSchedule(com.passkit.grpc.JobOuterClass.Schedule value) { if (scheduleBuilder_ == null) { if (schedule_ != null) { schedule_ = com.passkit.grpc.JobOuterClass.Schedule.newBuilder(schedule_).mergeFrom(value).buildPartial(); } else { schedule_ = value; } onChanged(); } else { scheduleBuilder_.mergeFrom(value); } return this; } /** *
       * Defines the recurrence schedule of the job.
       * 
* * .io.Schedule schedule = 6; */ public Builder clearSchedule() { if (scheduleBuilder_ == null) { schedule_ = null; onChanged(); } else { schedule_ = null; scheduleBuilder_ = null; } return this; } /** *
       * Defines the recurrence schedule of the job.
       * 
* * .io.Schedule schedule = 6; */ public com.passkit.grpc.JobOuterClass.Schedule.Builder getScheduleBuilder() { onChanged(); return getScheduleFieldBuilder().getBuilder(); } /** *
       * Defines the recurrence schedule of the job.
       * 
* * .io.Schedule schedule = 6; */ public com.passkit.grpc.JobOuterClass.ScheduleOrBuilder getScheduleOrBuilder() { if (scheduleBuilder_ != null) { return scheduleBuilder_.getMessageOrBuilder(); } else { return schedule_ == null ? com.passkit.grpc.JobOuterClass.Schedule.getDefaultInstance() : schedule_; } } /** *
       * Defines the recurrence schedule of the job.
       * 
* * .io.Schedule schedule = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.JobOuterClass.Schedule, com.passkit.grpc.JobOuterClass.Schedule.Builder, com.passkit.grpc.JobOuterClass.ScheduleOrBuilder> getScheduleFieldBuilder() { if (scheduleBuilder_ == null) { scheduleBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.JobOuterClass.Schedule, com.passkit.grpc.JobOuterClass.Schedule.Builder, com.passkit.grpc.JobOuterClass.ScheduleOrBuilder>( getSchedule(), getParentForChildren(), isClean()); schedule_ = null; } return scheduleBuilder_; } private com.google.protobuf.Timestamp created_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdBuilder_; /** *
       * The date the job was created in the PassKit system.
       * 
* * .google.protobuf.Timestamp created = 7; * @return Whether the created field is set. */ public boolean hasCreated() { return createdBuilder_ != null || created_ != null; } /** *
       * The date the job was created in the PassKit system.
       * 
* * .google.protobuf.Timestamp created = 7; * @return The created. */ public com.google.protobuf.Timestamp getCreated() { if (createdBuilder_ == null) { return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_; } else { return createdBuilder_.getMessage(); } } /** *
       * The date the job was created in the PassKit system.
       * 
* * .google.protobuf.Timestamp created = 7; */ public Builder setCreated(com.google.protobuf.Timestamp value) { if (createdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } created_ = value; onChanged(); } else { createdBuilder_.setMessage(value); } return this; } /** *
       * The date the job was created in the PassKit system.
       * 
* * .google.protobuf.Timestamp created = 7; */ public Builder setCreated( com.google.protobuf.Timestamp.Builder builderForValue) { if (createdBuilder_ == null) { created_ = builderForValue.build(); onChanged(); } else { createdBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The date the job was created in the PassKit system.
       * 
* * .google.protobuf.Timestamp created = 7; */ public Builder mergeCreated(com.google.protobuf.Timestamp value) { if (createdBuilder_ == null) { if (created_ != null) { created_ = com.google.protobuf.Timestamp.newBuilder(created_).mergeFrom(value).buildPartial(); } else { created_ = value; } onChanged(); } else { createdBuilder_.mergeFrom(value); } return this; } /** *
       * The date the job was created in the PassKit system.
       * 
* * .google.protobuf.Timestamp created = 7; */ public Builder clearCreated() { if (createdBuilder_ == null) { created_ = null; onChanged(); } else { created_ = null; createdBuilder_ = null; } return this; } /** *
       * The date the job was created in the PassKit system.
       * 
* * .google.protobuf.Timestamp created = 7; */ public com.google.protobuf.Timestamp.Builder getCreatedBuilder() { onChanged(); return getCreatedFieldBuilder().getBuilder(); } /** *
       * The date the job was created in the PassKit system.
       * 
* * .google.protobuf.Timestamp created = 7; */ public com.google.protobuf.TimestampOrBuilder getCreatedOrBuilder() { if (createdBuilder_ != null) { return createdBuilder_.getMessageOrBuilder(); } else { return created_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : created_; } } /** *
       * The date the job was created in the PassKit system.
       * 
* * .google.protobuf.Timestamp created = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreatedFieldBuilder() { if (createdBuilder_ == null) { createdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getCreated(), getParentForChildren(), isClean()); created_ = null; } return createdBuilder_; } private com.google.protobuf.Timestamp updated_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updatedBuilder_; /** *
       * The date the job was updated in the PassKit system.
       * 
* * .google.protobuf.Timestamp updated = 8; * @return Whether the updated field is set. */ public boolean hasUpdated() { return updatedBuilder_ != null || updated_ != null; } /** *
       * The date the job was updated in the PassKit system.
       * 
* * .google.protobuf.Timestamp updated = 8; * @return The updated. */ public com.google.protobuf.Timestamp getUpdated() { if (updatedBuilder_ == null) { return updated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updated_; } else { return updatedBuilder_.getMessage(); } } /** *
       * The date the job was updated in the PassKit system.
       * 
* * .google.protobuf.Timestamp updated = 8; */ public Builder setUpdated(com.google.protobuf.Timestamp value) { if (updatedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } updated_ = value; onChanged(); } else { updatedBuilder_.setMessage(value); } return this; } /** *
       * The date the job was updated in the PassKit system.
       * 
* * .google.protobuf.Timestamp updated = 8; */ public Builder setUpdated( com.google.protobuf.Timestamp.Builder builderForValue) { if (updatedBuilder_ == null) { updated_ = builderForValue.build(); onChanged(); } else { updatedBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The date the job was updated in the PassKit system.
       * 
* * .google.protobuf.Timestamp updated = 8; */ public Builder mergeUpdated(com.google.protobuf.Timestamp value) { if (updatedBuilder_ == null) { if (updated_ != null) { updated_ = com.google.protobuf.Timestamp.newBuilder(updated_).mergeFrom(value).buildPartial(); } else { updated_ = value; } onChanged(); } else { updatedBuilder_.mergeFrom(value); } return this; } /** *
       * The date the job was updated in the PassKit system.
       * 
* * .google.protobuf.Timestamp updated = 8; */ public Builder clearUpdated() { if (updatedBuilder_ == null) { updated_ = null; onChanged(); } else { updated_ = null; updatedBuilder_ = null; } return this; } /** *
       * The date the job was updated in the PassKit system.
       * 
* * .google.protobuf.Timestamp updated = 8; */ public com.google.protobuf.Timestamp.Builder getUpdatedBuilder() { onChanged(); return getUpdatedFieldBuilder().getBuilder(); } /** *
       * The date the job was updated in the PassKit system.
       * 
* * .google.protobuf.Timestamp updated = 8; */ public com.google.protobuf.TimestampOrBuilder getUpdatedOrBuilder() { if (updatedBuilder_ != null) { return updatedBuilder_.getMessageOrBuilder(); } else { return updated_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updated_; } } /** *
       * The date the job was updated in the PassKit system.
       * 
* * .google.protobuf.Timestamp updated = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getUpdatedFieldBuilder() { if (updatedBuilder_ == null) { updatedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getUpdated(), getParentForChildren(), isClean()); updated_ = null; } return updatedBuilder_; } private com.google.protobuf.Timestamp firstRun_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> firstRunBuilder_; /** *
       * The date the job will run for the first time in the PassKit system.
       * 
* * .google.protobuf.Timestamp firstRun = 9; * @return Whether the firstRun field is set. */ public boolean hasFirstRun() { return firstRunBuilder_ != null || firstRun_ != null; } /** *
       * The date the job will run for the first time in the PassKit system.
       * 
* * .google.protobuf.Timestamp firstRun = 9; * @return The firstRun. */ public com.google.protobuf.Timestamp getFirstRun() { if (firstRunBuilder_ == null) { return firstRun_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : firstRun_; } else { return firstRunBuilder_.getMessage(); } } /** *
       * The date the job will run for the first time in the PassKit system.
       * 
* * .google.protobuf.Timestamp firstRun = 9; */ public Builder setFirstRun(com.google.protobuf.Timestamp value) { if (firstRunBuilder_ == null) { if (value == null) { throw new NullPointerException(); } firstRun_ = value; onChanged(); } else { firstRunBuilder_.setMessage(value); } return this; } /** *
       * The date the job will run for the first time in the PassKit system.
       * 
* * .google.protobuf.Timestamp firstRun = 9; */ public Builder setFirstRun( com.google.protobuf.Timestamp.Builder builderForValue) { if (firstRunBuilder_ == null) { firstRun_ = builderForValue.build(); onChanged(); } else { firstRunBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The date the job will run for the first time in the PassKit system.
       * 
* * .google.protobuf.Timestamp firstRun = 9; */ public Builder mergeFirstRun(com.google.protobuf.Timestamp value) { if (firstRunBuilder_ == null) { if (firstRun_ != null) { firstRun_ = com.google.protobuf.Timestamp.newBuilder(firstRun_).mergeFrom(value).buildPartial(); } else { firstRun_ = value; } onChanged(); } else { firstRunBuilder_.mergeFrom(value); } return this; } /** *
       * The date the job will run for the first time in the PassKit system.
       * 
* * .google.protobuf.Timestamp firstRun = 9; */ public Builder clearFirstRun() { if (firstRunBuilder_ == null) { firstRun_ = null; onChanged(); } else { firstRun_ = null; firstRunBuilder_ = null; } return this; } /** *
       * The date the job will run for the first time in the PassKit system.
       * 
* * .google.protobuf.Timestamp firstRun = 9; */ public com.google.protobuf.Timestamp.Builder getFirstRunBuilder() { onChanged(); return getFirstRunFieldBuilder().getBuilder(); } /** *
       * The date the job will run for the first time in the PassKit system.
       * 
* * .google.protobuf.Timestamp firstRun = 9; */ public com.google.protobuf.TimestampOrBuilder getFirstRunOrBuilder() { if (firstRunBuilder_ != null) { return firstRunBuilder_.getMessageOrBuilder(); } else { return firstRun_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : firstRun_; } } /** *
       * The date the job will run for the first time in the PassKit system.
       * 
* * .google.protobuf.Timestamp firstRun = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFirstRunFieldBuilder() { if (firstRunBuilder_ == null) { firstRunBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getFirstRun(), getParentForChildren(), isClean()); firstRun_ = null; } return firstRunBuilder_; } private com.google.protobuf.Timestamp finalRun_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> finalRunBuilder_; /** *
       * The date the job will run for the last time in the PassKit system.
       * 
* * .google.protobuf.Timestamp finalRun = 10; * @return Whether the finalRun field is set. */ public boolean hasFinalRun() { return finalRunBuilder_ != null || finalRun_ != null; } /** *
       * The date the job will run for the last time in the PassKit system.
       * 
* * .google.protobuf.Timestamp finalRun = 10; * @return The finalRun. */ public com.google.protobuf.Timestamp getFinalRun() { if (finalRunBuilder_ == null) { return finalRun_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finalRun_; } else { return finalRunBuilder_.getMessage(); } } /** *
       * The date the job will run for the last time in the PassKit system.
       * 
* * .google.protobuf.Timestamp finalRun = 10; */ public Builder setFinalRun(com.google.protobuf.Timestamp value) { if (finalRunBuilder_ == null) { if (value == null) { throw new NullPointerException(); } finalRun_ = value; onChanged(); } else { finalRunBuilder_.setMessage(value); } return this; } /** *
       * The date the job will run for the last time in the PassKit system.
       * 
* * .google.protobuf.Timestamp finalRun = 10; */ public Builder setFinalRun( com.google.protobuf.Timestamp.Builder builderForValue) { if (finalRunBuilder_ == null) { finalRun_ = builderForValue.build(); onChanged(); } else { finalRunBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The date the job will run for the last time in the PassKit system.
       * 
* * .google.protobuf.Timestamp finalRun = 10; */ public Builder mergeFinalRun(com.google.protobuf.Timestamp value) { if (finalRunBuilder_ == null) { if (finalRun_ != null) { finalRun_ = com.google.protobuf.Timestamp.newBuilder(finalRun_).mergeFrom(value).buildPartial(); } else { finalRun_ = value; } onChanged(); } else { finalRunBuilder_.mergeFrom(value); } return this; } /** *
       * The date the job will run for the last time in the PassKit system.
       * 
* * .google.protobuf.Timestamp finalRun = 10; */ public Builder clearFinalRun() { if (finalRunBuilder_ == null) { finalRun_ = null; onChanged(); } else { finalRun_ = null; finalRunBuilder_ = null; } return this; } /** *
       * The date the job will run for the last time in the PassKit system.
       * 
* * .google.protobuf.Timestamp finalRun = 10; */ public com.google.protobuf.Timestamp.Builder getFinalRunBuilder() { onChanged(); return getFinalRunFieldBuilder().getBuilder(); } /** *
       * The date the job will run for the last time in the PassKit system.
       * 
* * .google.protobuf.Timestamp finalRun = 10; */ public com.google.protobuf.TimestampOrBuilder getFinalRunOrBuilder() { if (finalRunBuilder_ != null) { return finalRunBuilder_.getMessageOrBuilder(); } else { return finalRun_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : finalRun_; } } /** *
       * The date the job will run for the last time in the PassKit system.
       * 
* * .google.protobuf.Timestamp finalRun = 10; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getFinalRunFieldBuilder() { if (finalRunBuilder_ == null) { finalRunBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getFinalRun(), getParentForChildren(), isClean()); finalRun_ = null; } return finalRunBuilder_; } private com.google.protobuf.Timestamp nextRun_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> nextRunBuilder_; /** *
       * The date the job will run next in the PassKit system.
       * 
* * .google.protobuf.Timestamp nextRun = 11; * @return Whether the nextRun field is set. */ public boolean hasNextRun() { return nextRunBuilder_ != null || nextRun_ != null; } /** *
       * The date the job will run next in the PassKit system.
       * 
* * .google.protobuf.Timestamp nextRun = 11; * @return The nextRun. */ public com.google.protobuf.Timestamp getNextRun() { if (nextRunBuilder_ == null) { return nextRun_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : nextRun_; } else { return nextRunBuilder_.getMessage(); } } /** *
       * The date the job will run next in the PassKit system.
       * 
* * .google.protobuf.Timestamp nextRun = 11; */ public Builder setNextRun(com.google.protobuf.Timestamp value) { if (nextRunBuilder_ == null) { if (value == null) { throw new NullPointerException(); } nextRun_ = value; onChanged(); } else { nextRunBuilder_.setMessage(value); } return this; } /** *
       * The date the job will run next in the PassKit system.
       * 
* * .google.protobuf.Timestamp nextRun = 11; */ public Builder setNextRun( com.google.protobuf.Timestamp.Builder builderForValue) { if (nextRunBuilder_ == null) { nextRun_ = builderForValue.build(); onChanged(); } else { nextRunBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The date the job will run next in the PassKit system.
       * 
* * .google.protobuf.Timestamp nextRun = 11; */ public Builder mergeNextRun(com.google.protobuf.Timestamp value) { if (nextRunBuilder_ == null) { if (nextRun_ != null) { nextRun_ = com.google.protobuf.Timestamp.newBuilder(nextRun_).mergeFrom(value).buildPartial(); } else { nextRun_ = value; } onChanged(); } else { nextRunBuilder_.mergeFrom(value); } return this; } /** *
       * The date the job will run next in the PassKit system.
       * 
* * .google.protobuf.Timestamp nextRun = 11; */ public Builder clearNextRun() { if (nextRunBuilder_ == null) { nextRun_ = null; onChanged(); } else { nextRun_ = null; nextRunBuilder_ = null; } return this; } /** *
       * The date the job will run next in the PassKit system.
       * 
* * .google.protobuf.Timestamp nextRun = 11; */ public com.google.protobuf.Timestamp.Builder getNextRunBuilder() { onChanged(); return getNextRunFieldBuilder().getBuilder(); } /** *
       * The date the job will run next in the PassKit system.
       * 
* * .google.protobuf.Timestamp nextRun = 11; */ public com.google.protobuf.TimestampOrBuilder getNextRunOrBuilder() { if (nextRunBuilder_ != null) { return nextRunBuilder_.getMessageOrBuilder(); } else { return nextRun_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : nextRun_; } } /** *
       * The date the job will run next in the PassKit system.
       * 
* * .google.protobuf.Timestamp nextRun = 11; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getNextRunFieldBuilder() { if (nextRunBuilder_ == null) { nextRunBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getNextRun(), getParentForChildren(), isClean()); nextRun_ = null; } return nextRunBuilder_; } private com.google.protobuf.Timestamp lastRun_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> lastRunBuilder_; /** *
       * The date the job was last run in the PassKit system.
       * 
* * .google.protobuf.Timestamp lastRun = 12; * @return Whether the lastRun field is set. */ public boolean hasLastRun() { return lastRunBuilder_ != null || lastRun_ != null; } /** *
       * The date the job was last run in the PassKit system.
       * 
* * .google.protobuf.Timestamp lastRun = 12; * @return The lastRun. */ public com.google.protobuf.Timestamp getLastRun() { if (lastRunBuilder_ == null) { return lastRun_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastRun_; } else { return lastRunBuilder_.getMessage(); } } /** *
       * The date the job was last run in the PassKit system.
       * 
* * .google.protobuf.Timestamp lastRun = 12; */ public Builder setLastRun(com.google.protobuf.Timestamp value) { if (lastRunBuilder_ == null) { if (value == null) { throw new NullPointerException(); } lastRun_ = value; onChanged(); } else { lastRunBuilder_.setMessage(value); } return this; } /** *
       * The date the job was last run in the PassKit system.
       * 
* * .google.protobuf.Timestamp lastRun = 12; */ public Builder setLastRun( com.google.protobuf.Timestamp.Builder builderForValue) { if (lastRunBuilder_ == null) { lastRun_ = builderForValue.build(); onChanged(); } else { lastRunBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The date the job was last run in the PassKit system.
       * 
* * .google.protobuf.Timestamp lastRun = 12; */ public Builder mergeLastRun(com.google.protobuf.Timestamp value) { if (lastRunBuilder_ == null) { if (lastRun_ != null) { lastRun_ = com.google.protobuf.Timestamp.newBuilder(lastRun_).mergeFrom(value).buildPartial(); } else { lastRun_ = value; } onChanged(); } else { lastRunBuilder_.mergeFrom(value); } return this; } /** *
       * The date the job was last run in the PassKit system.
       * 
* * .google.protobuf.Timestamp lastRun = 12; */ public Builder clearLastRun() { if (lastRunBuilder_ == null) { lastRun_ = null; onChanged(); } else { lastRun_ = null; lastRunBuilder_ = null; } return this; } /** *
       * The date the job was last run in the PassKit system.
       * 
* * .google.protobuf.Timestamp lastRun = 12; */ public com.google.protobuf.Timestamp.Builder getLastRunBuilder() { onChanged(); return getLastRunFieldBuilder().getBuilder(); } /** *
       * The date the job was last run in the PassKit system.
       * 
* * .google.protobuf.Timestamp lastRun = 12; */ public com.google.protobuf.TimestampOrBuilder getLastRunOrBuilder() { if (lastRunBuilder_ != null) { return lastRunBuilder_.getMessageOrBuilder(); } else { return lastRun_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : lastRun_; } } /** *
       * The date the job was last run in the PassKit system.
       * 
* * .google.protobuf.Timestamp lastRun = 12; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getLastRunFieldBuilder() { if (lastRunBuilder_ == null) { lastRunBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getLastRun(), getParentForChildren(), isClean()); lastRun_ = null; } return lastRunBuilder_; } @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:io.Job) } // @@protoc_insertion_point(class_scope:io.Job) private static final com.passkit.grpc.JobOuterClass.Job DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.JobOuterClass.Job(); } public static com.passkit.grpc.JobOuterClass.Job getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Job parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Job(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 com.passkit.grpc.JobOuterClass.Job getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CompletedJobOrBuilder extends // @@protoc_insertion_point(interface_extends:io.CompletedJob) com.google.protobuf.MessageOrBuilder { /** *
     * Auto generated 22 char identifier.
     * 
* * string id = 1; * @return The id. */ java.lang.String getId(); /** *
     * Auto generated 22 char identifier.
     * 
* * string id = 1; * @return The bytes for id. */ com.google.protobuf.ByteString getIdBytes(); /** *
     * The company id of the user that requested the job.
     * 
* * string cid = 2; * @return The cid. */ java.lang.String getCid(); /** *
     * The company id of the user that requested the job.
     * 
* * string cid = 2; * @return The bytes for cid. */ com.google.protobuf.ByteString getCidBytes(); /** *
     * The user id of the user that requested the job.
     * 
* * string uid = 3; * @return The uid. */ java.lang.String getUid(); /** *
     * The user id of the user that requested the job.
     * 
* * string uid = 3; * @return The bytes for uid. */ com.google.protobuf.ByteString getUidBytes(); /** *
     * The protocol of the associated resource.
     * 
* * .io.PassProtocol protocol = 4; * @return The enum numeric value on the wire for protocol. */ int getProtocolValue(); /** *
     * The protocol of the associated resource.
     * 
* * .io.PassProtocol protocol = 4; * @return The protocol. */ com.passkit.grpc.Protocols.PassProtocol getProtocol(); /** *
     * The type of job completed.
     * 
* * .io.JobType type = 5; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** *
     * The type of job completed.
     * 
* * .io.JobType type = 5; * @return The type. */ com.passkit.grpc.JobOuterClass.JobType getType(); /** *
     * The status of the completed Job.
     * 
* * .io.JobStatus status = 6; * @return The enum numeric value on the wire for status. */ int getStatusValue(); /** *
     * The status of the completed Job.
     * 
* * .io.JobStatus status = 6; * @return The status. */ com.passkit.grpc.JobOuterClass.JobStatus getStatus(); /** *
     * Any details about the Job that are relevant to the user.
     * 
* * string details = 7; * @return The details. */ java.lang.String getDetails(); /** *
     * Any details about the Job that are relevant to the user.
     * 
* * string details = 7; * @return The bytes for details. */ com.google.protobuf.ByteString getDetailsBytes(); /** *
     * The date the job was completed in the PassKit system.
     * 
* * .google.protobuf.Timestamp completed = 8; * @return Whether the completed field is set. */ boolean hasCompleted(); /** *
     * The date the job was completed in the PassKit system.
     * 
* * .google.protobuf.Timestamp completed = 8; * @return The completed. */ com.google.protobuf.Timestamp getCompleted(); /** *
     * The date the job was completed in the PassKit system.
     * 
* * .google.protobuf.Timestamp completed = 8; */ com.google.protobuf.TimestampOrBuilder getCompletedOrBuilder(); /** * .io.CompletedCsvImport completedCsvImport = 9; * @return Whether the completedCsvImport field is set. */ boolean hasCompletedCsvImport(); /** * .io.CompletedCsvImport completedCsvImport = 9; * @return The completedCsvImport. */ com.passkit.grpc.JobOuterClass.CompletedCsvImport getCompletedCsvImport(); /** * .io.CompletedCsvImport completedCsvImport = 9; */ com.passkit.grpc.JobOuterClass.CompletedCsvImportOrBuilder getCompletedCsvImportOrBuilder(); public com.passkit.grpc.JobOuterClass.CompletedJob.CompletedJobOutputCase getCompletedJobOutputCase(); } /** * Protobuf type {@code io.CompletedJob} */ public static final class CompletedJob extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.CompletedJob) CompletedJobOrBuilder { private static final long serialVersionUID = 0L; // Use CompletedJob.newBuilder() to construct. private CompletedJob(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CompletedJob() { id_ = ""; cid_ = ""; uid_ = ""; protocol_ = 0; type_ = 0; status_ = 0; details_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CompletedJob(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CompletedJob( 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(); cid_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); uid_ = s; break; } case 32: { int rawValue = input.readEnum(); protocol_ = rawValue; break; } case 40: { int rawValue = input.readEnum(); type_ = rawValue; break; } case 48: { int rawValue = input.readEnum(); status_ = rawValue; break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); details_ = s; break; } case 66: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (completed_ != null) { subBuilder = completed_.toBuilder(); } completed_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(completed_); completed_ = subBuilder.buildPartial(); } break; } case 74: { com.passkit.grpc.JobOuterClass.CompletedCsvImport.Builder subBuilder = null; if (completedJobOutputCase_ == 9) { subBuilder = ((com.passkit.grpc.JobOuterClass.CompletedCsvImport) completedJobOutput_).toBuilder(); } completedJobOutput_ = input.readMessage(com.passkit.grpc.JobOuterClass.CompletedCsvImport.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((com.passkit.grpc.JobOuterClass.CompletedCsvImport) completedJobOutput_); completedJobOutput_ = subBuilder.buildPartial(); } completedJobOutputCase_ = 9; 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 com.passkit.grpc.JobOuterClass.internal_static_io_CompletedJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.JobOuterClass.internal_static_io_CompletedJob_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.JobOuterClass.CompletedJob.class, com.passkit.grpc.JobOuterClass.CompletedJob.Builder.class); } private int completedJobOutputCase_ = 0; private java.lang.Object completedJobOutput_; public enum CompletedJobOutputCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COMPLETEDCSVIMPORT(9), COMPLETEDJOBOUTPUT_NOT_SET(0); private final int value; private CompletedJobOutputCase(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 CompletedJobOutputCase valueOf(int value) { return forNumber(value); } public static CompletedJobOutputCase forNumber(int value) { switch (value) { case 9: return COMPLETEDCSVIMPORT; case 0: return COMPLETEDJOBOUTPUT_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public CompletedJobOutputCase getCompletedJobOutputCase() { return CompletedJobOutputCase.forNumber( completedJobOutputCase_); } public static final int ID_FIELD_NUMBER = 1; private volatile java.lang.Object id_; /** *
     * Auto generated 22 char identifier.
     * 
* * 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; } } /** *
     * Auto generated 22 char identifier.
     * 
* * 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 CID_FIELD_NUMBER = 2; private volatile java.lang.Object cid_; /** *
     * The company id of the user that requested the job.
     * 
* * string cid = 2; * @return The cid. */ @java.lang.Override public java.lang.String getCid() { java.lang.Object ref = cid_; 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(); cid_ = s; return s; } } /** *
     * The company id of the user that requested the job.
     * 
* * string cid = 2; * @return The bytes for cid. */ @java.lang.Override public com.google.protobuf.ByteString getCidBytes() { java.lang.Object ref = cid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int UID_FIELD_NUMBER = 3; private volatile java.lang.Object uid_; /** *
     * The user id of the user that requested the job.
     * 
* * string uid = 3; * @return The uid. */ @java.lang.Override public java.lang.String getUid() { java.lang.Object ref = uid_; 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(); uid_ = s; return s; } } /** *
     * The user id of the user that requested the job.
     * 
* * string uid = 3; * @return The bytes for uid. */ @java.lang.Override public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROTOCOL_FIELD_NUMBER = 4; private int protocol_; /** *
     * The protocol of the associated resource.
     * 
* * .io.PassProtocol protocol = 4; * @return The enum numeric value on the wire for protocol. */ @java.lang.Override public int getProtocolValue() { return protocol_; } /** *
     * The protocol of the associated resource.
     * 
* * .io.PassProtocol protocol = 4; * @return The protocol. */ @java.lang.Override public com.passkit.grpc.Protocols.PassProtocol getProtocol() { @SuppressWarnings("deprecation") com.passkit.grpc.Protocols.PassProtocol result = com.passkit.grpc.Protocols.PassProtocol.valueOf(protocol_); return result == null ? com.passkit.grpc.Protocols.PassProtocol.UNRECOGNIZED : result; } public static final int TYPE_FIELD_NUMBER = 5; private int type_; /** *
     * The type of job completed.
     * 
* * .io.JobType type = 5; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** *
     * The type of job completed.
     * 
* * .io.JobType type = 5; * @return The type. */ @java.lang.Override public com.passkit.grpc.JobOuterClass.JobType getType() { @SuppressWarnings("deprecation") com.passkit.grpc.JobOuterClass.JobType result = com.passkit.grpc.JobOuterClass.JobType.valueOf(type_); return result == null ? com.passkit.grpc.JobOuterClass.JobType.UNRECOGNIZED : result; } public static final int STATUS_FIELD_NUMBER = 6; private int status_; /** *
     * The status of the completed Job.
     * 
* * .io.JobStatus status = 6; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
     * The status of the completed Job.
     * 
* * .io.JobStatus status = 6; * @return The status. */ @java.lang.Override public com.passkit.grpc.JobOuterClass.JobStatus getStatus() { @SuppressWarnings("deprecation") com.passkit.grpc.JobOuterClass.JobStatus result = com.passkit.grpc.JobOuterClass.JobStatus.valueOf(status_); return result == null ? com.passkit.grpc.JobOuterClass.JobStatus.UNRECOGNIZED : result; } public static final int DETAILS_FIELD_NUMBER = 7; private volatile java.lang.Object details_; /** *
     * Any details about the Job that are relevant to the user.
     * 
* * string details = 7; * @return The details. */ @java.lang.Override public java.lang.String getDetails() { java.lang.Object ref = details_; 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(); details_ = s; return s; } } /** *
     * Any details about the Job that are relevant to the user.
     * 
* * string details = 7; * @return The bytes for details. */ @java.lang.Override public com.google.protobuf.ByteString getDetailsBytes() { java.lang.Object ref = details_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); details_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COMPLETED_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp completed_; /** *
     * The date the job was completed in the PassKit system.
     * 
* * .google.protobuf.Timestamp completed = 8; * @return Whether the completed field is set. */ @java.lang.Override public boolean hasCompleted() { return completed_ != null; } /** *
     * The date the job was completed in the PassKit system.
     * 
* * .google.protobuf.Timestamp completed = 8; * @return The completed. */ @java.lang.Override public com.google.protobuf.Timestamp getCompleted() { return completed_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : completed_; } /** *
     * The date the job was completed in the PassKit system.
     * 
* * .google.protobuf.Timestamp completed = 8; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCompletedOrBuilder() { return getCompleted(); } public static final int COMPLETEDCSVIMPORT_FIELD_NUMBER = 9; /** * .io.CompletedCsvImport completedCsvImport = 9; * @return Whether the completedCsvImport field is set. */ @java.lang.Override public boolean hasCompletedCsvImport() { return completedJobOutputCase_ == 9; } /** * .io.CompletedCsvImport completedCsvImport = 9; * @return The completedCsvImport. */ @java.lang.Override public com.passkit.grpc.JobOuterClass.CompletedCsvImport getCompletedCsvImport() { if (completedJobOutputCase_ == 9) { return (com.passkit.grpc.JobOuterClass.CompletedCsvImport) completedJobOutput_; } return com.passkit.grpc.JobOuterClass.CompletedCsvImport.getDefaultInstance(); } /** * .io.CompletedCsvImport completedCsvImport = 9; */ @java.lang.Override public com.passkit.grpc.JobOuterClass.CompletedCsvImportOrBuilder getCompletedCsvImportOrBuilder() { if (completedJobOutputCase_ == 9) { return (com.passkit.grpc.JobOuterClass.CompletedCsvImport) completedJobOutput_; } return com.passkit.grpc.JobOuterClass.CompletedCsvImport.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 (!getIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } if (!getCidBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, cid_); } if (!getUidBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, uid_); } if (protocol_ != com.passkit.grpc.Protocols.PassProtocol.PASS_PROTOCOL_DO_NOT_USE.getNumber()) { output.writeEnum(4, protocol_); } if (type_ != com.passkit.grpc.JobOuterClass.JobType.JOB_CSV_IMPORT.getNumber()) { output.writeEnum(5, type_); } if (status_ != com.passkit.grpc.JobOuterClass.JobStatus.JOB_SCHEDULED.getNumber()) { output.writeEnum(6, status_); } if (!getDetailsBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, details_); } if (completed_ != null) { output.writeMessage(8, getCompleted()); } if (completedJobOutputCase_ == 9) { output.writeMessage(9, (com.passkit.grpc.JobOuterClass.CompletedCsvImport) completedJobOutput_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_); } if (!getCidBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cid_); } if (!getUidBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, uid_); } if (protocol_ != com.passkit.grpc.Protocols.PassProtocol.PASS_PROTOCOL_DO_NOT_USE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(4, protocol_); } if (type_ != com.passkit.grpc.JobOuterClass.JobType.JOB_CSV_IMPORT.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(5, type_); } if (status_ != com.passkit.grpc.JobOuterClass.JobStatus.JOB_SCHEDULED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(6, status_); } if (!getDetailsBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, details_); } if (completed_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getCompleted()); } if (completedJobOutputCase_ == 9) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, (com.passkit.grpc.JobOuterClass.CompletedCsvImport) completedJobOutput_); } 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 com.passkit.grpc.JobOuterClass.CompletedJob)) { return super.equals(obj); } com.passkit.grpc.JobOuterClass.CompletedJob other = (com.passkit.grpc.JobOuterClass.CompletedJob) obj; if (!getId() .equals(other.getId())) return false; if (!getCid() .equals(other.getCid())) return false; if (!getUid() .equals(other.getUid())) return false; if (protocol_ != other.protocol_) return false; if (type_ != other.type_) return false; if (status_ != other.status_) return false; if (!getDetails() .equals(other.getDetails())) return false; if (hasCompleted() != other.hasCompleted()) return false; if (hasCompleted()) { if (!getCompleted() .equals(other.getCompleted())) return false; } if (!getCompletedJobOutputCase().equals(other.getCompletedJobOutputCase())) return false; switch (completedJobOutputCase_) { case 9: if (!getCompletedCsvImport() .equals(other.getCompletedCsvImport())) 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) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); hash = (37 * hash) + CID_FIELD_NUMBER; hash = (53 * hash) + getCid().hashCode(); hash = (37 * hash) + UID_FIELD_NUMBER; hash = (53 * hash) + getUid().hashCode(); hash = (37 * hash) + PROTOCOL_FIELD_NUMBER; hash = (53 * hash) + protocol_; hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + STATUS_FIELD_NUMBER; hash = (53 * hash) + status_; hash = (37 * hash) + DETAILS_FIELD_NUMBER; hash = (53 * hash) + getDetails().hashCode(); if (hasCompleted()) { hash = (37 * hash) + COMPLETED_FIELD_NUMBER; hash = (53 * hash) + getCompleted().hashCode(); } switch (completedJobOutputCase_) { case 9: hash = (37 * hash) + COMPLETEDCSVIMPORT_FIELD_NUMBER; hash = (53 * hash) + getCompletedCsvImport().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.JobOuterClass.CompletedJob parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.JobOuterClass.CompletedJob parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.JobOuterClass.CompletedJob parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.JobOuterClass.CompletedJob parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.JobOuterClass.CompletedJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.JobOuterClass.CompletedJob parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.JobOuterClass.CompletedJob parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.JobOuterClass.CompletedJob 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 com.passkit.grpc.JobOuterClass.CompletedJob parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.JobOuterClass.CompletedJob 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 com.passkit.grpc.JobOuterClass.CompletedJob parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.JobOuterClass.CompletedJob 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(com.passkit.grpc.JobOuterClass.CompletedJob 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 io.CompletedJob} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.CompletedJob) com.passkit.grpc.JobOuterClass.CompletedJobOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.JobOuterClass.internal_static_io_CompletedJob_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.JobOuterClass.internal_static_io_CompletedJob_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.JobOuterClass.CompletedJob.class, com.passkit.grpc.JobOuterClass.CompletedJob.Builder.class); } // Construct using com.passkit.grpc.JobOuterClass.CompletedJob.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_ = ""; cid_ = ""; uid_ = ""; protocol_ = 0; type_ = 0; status_ = 0; details_ = ""; if (completedBuilder_ == null) { completed_ = null; } else { completed_ = null; completedBuilder_ = null; } completedJobOutputCase_ = 0; completedJobOutput_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.JobOuterClass.internal_static_io_CompletedJob_descriptor; } @java.lang.Override public com.passkit.grpc.JobOuterClass.CompletedJob getDefaultInstanceForType() { return com.passkit.grpc.JobOuterClass.CompletedJob.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.JobOuterClass.CompletedJob build() { com.passkit.grpc.JobOuterClass.CompletedJob result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.JobOuterClass.CompletedJob buildPartial() { com.passkit.grpc.JobOuterClass.CompletedJob result = new com.passkit.grpc.JobOuterClass.CompletedJob(this); result.id_ = id_; result.cid_ = cid_; result.uid_ = uid_; result.protocol_ = protocol_; result.type_ = type_; result.status_ = status_; result.details_ = details_; if (completedBuilder_ == null) { result.completed_ = completed_; } else { result.completed_ = completedBuilder_.build(); } if (completedJobOutputCase_ == 9) { if (completedCsvImportBuilder_ == null) { result.completedJobOutput_ = completedJobOutput_; } else { result.completedJobOutput_ = completedCsvImportBuilder_.build(); } } result.completedJobOutputCase_ = completedJobOutputCase_; 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 com.passkit.grpc.JobOuterClass.CompletedJob) { return mergeFrom((com.passkit.grpc.JobOuterClass.CompletedJob)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.JobOuterClass.CompletedJob other) { if (other == com.passkit.grpc.JobOuterClass.CompletedJob.getDefaultInstance()) return this; if (!other.getId().isEmpty()) { id_ = other.id_; onChanged(); } if (!other.getCid().isEmpty()) { cid_ = other.cid_; onChanged(); } if (!other.getUid().isEmpty()) { uid_ = other.uid_; onChanged(); } if (other.protocol_ != 0) { setProtocolValue(other.getProtocolValue()); } if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } if (other.status_ != 0) { setStatusValue(other.getStatusValue()); } if (!other.getDetails().isEmpty()) { details_ = other.details_; onChanged(); } if (other.hasCompleted()) { mergeCompleted(other.getCompleted()); } switch (other.getCompletedJobOutputCase()) { case COMPLETEDCSVIMPORT: { mergeCompletedCsvImport(other.getCompletedCsvImport()); break; } case COMPLETEDJOBOUTPUT_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 { com.passkit.grpc.JobOuterClass.CompletedJob parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.JobOuterClass.CompletedJob) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int completedJobOutputCase_ = 0; private java.lang.Object completedJobOutput_; public CompletedJobOutputCase getCompletedJobOutputCase() { return CompletedJobOutputCase.forNumber( completedJobOutputCase_); } public Builder clearCompletedJobOutput() { completedJobOutputCase_ = 0; completedJobOutput_ = null; onChanged(); return this; } private java.lang.Object id_ = ""; /** *
       * Auto generated 22 char identifier.
       * 
* * 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; } } /** *
       * Auto generated 22 char identifier.
       * 
* * 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; } } /** *
       * Auto generated 22 char identifier.
       * 
* * 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; } /** *
       * Auto generated 22 char identifier.
       * 
* * string id = 1; * @return This builder for chaining. */ public Builder clearId() { id_ = getDefaultInstance().getId(); onChanged(); return this; } /** *
       * Auto generated 22 char identifier.
       * 
* * 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 cid_ = ""; /** *
       * The company id of the user that requested the job.
       * 
* * string cid = 2; * @return The cid. */ public java.lang.String getCid() { java.lang.Object ref = cid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cid_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The company id of the user that requested the job.
       * 
* * string cid = 2; * @return The bytes for cid. */ public com.google.protobuf.ByteString getCidBytes() { java.lang.Object ref = cid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The company id of the user that requested the job.
       * 
* * string cid = 2; * @param value The cid to set. * @return This builder for chaining. */ public Builder setCid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } cid_ = value; onChanged(); return this; } /** *
       * The company id of the user that requested the job.
       * 
* * string cid = 2; * @return This builder for chaining. */ public Builder clearCid() { cid_ = getDefaultInstance().getCid(); onChanged(); return this; } /** *
       * The company id of the user that requested the job.
       * 
* * string cid = 2; * @param value The bytes for cid to set. * @return This builder for chaining. */ public Builder setCidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cid_ = value; onChanged(); return this; } private java.lang.Object uid_ = ""; /** *
       * The user id of the user that requested the job.
       * 
* * string uid = 3; * @return The uid. */ public java.lang.String getUid() { java.lang.Object ref = uid_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); uid_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The user id of the user that requested the job.
       * 
* * string uid = 3; * @return The bytes for uid. */ public com.google.protobuf.ByteString getUidBytes() { java.lang.Object ref = uid_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); uid_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The user id of the user that requested the job.
       * 
* * string uid = 3; * @param value The uid to set. * @return This builder for chaining. */ public Builder setUid( java.lang.String value) { if (value == null) { throw new NullPointerException(); } uid_ = value; onChanged(); return this; } /** *
       * The user id of the user that requested the job.
       * 
* * string uid = 3; * @return This builder for chaining. */ public Builder clearUid() { uid_ = getDefaultInstance().getUid(); onChanged(); return this; } /** *
       * The user id of the user that requested the job.
       * 
* * string uid = 3; * @param value The bytes for uid to set. * @return This builder for chaining. */ public Builder setUidBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); uid_ = value; onChanged(); return this; } private int protocol_ = 0; /** *
       * The protocol of the associated resource.
       * 
* * .io.PassProtocol protocol = 4; * @return The enum numeric value on the wire for protocol. */ @java.lang.Override public int getProtocolValue() { return protocol_; } /** *
       * The protocol of the associated resource.
       * 
* * .io.PassProtocol protocol = 4; * @param value The enum numeric value on the wire for protocol to set. * @return This builder for chaining. */ public Builder setProtocolValue(int value) { protocol_ = value; onChanged(); return this; } /** *
       * The protocol of the associated resource.
       * 
* * .io.PassProtocol protocol = 4; * @return The protocol. */ @java.lang.Override public com.passkit.grpc.Protocols.PassProtocol getProtocol() { @SuppressWarnings("deprecation") com.passkit.grpc.Protocols.PassProtocol result = com.passkit.grpc.Protocols.PassProtocol.valueOf(protocol_); return result == null ? com.passkit.grpc.Protocols.PassProtocol.UNRECOGNIZED : result; } /** *
       * The protocol of the associated resource.
       * 
* * .io.PassProtocol protocol = 4; * @param value The protocol to set. * @return This builder for chaining. */ public Builder setProtocol(com.passkit.grpc.Protocols.PassProtocol value) { if (value == null) { throw new NullPointerException(); } protocol_ = value.getNumber(); onChanged(); return this; } /** *
       * The protocol of the associated resource.
       * 
* * .io.PassProtocol protocol = 4; * @return This builder for chaining. */ public Builder clearProtocol() { protocol_ = 0; onChanged(); return this; } private int type_ = 0; /** *
       * The type of job completed.
       * 
* * .io.JobType type = 5; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** *
       * The type of job completed.
       * 
* * .io.JobType type = 5; * @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; } /** *
       * The type of job completed.
       * 
* * .io.JobType type = 5; * @return The type. */ @java.lang.Override public com.passkit.grpc.JobOuterClass.JobType getType() { @SuppressWarnings("deprecation") com.passkit.grpc.JobOuterClass.JobType result = com.passkit.grpc.JobOuterClass.JobType.valueOf(type_); return result == null ? com.passkit.grpc.JobOuterClass.JobType.UNRECOGNIZED : result; } /** *
       * The type of job completed.
       * 
* * .io.JobType type = 5; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(com.passkit.grpc.JobOuterClass.JobType value) { if (value == null) { throw new NullPointerException(); } type_ = value.getNumber(); onChanged(); return this; } /** *
       * The type of job completed.
       * 
* * .io.JobType type = 5; * @return This builder for chaining. */ public Builder clearType() { type_ = 0; onChanged(); return this; } private int status_ = 0; /** *
       * The status of the completed Job.
       * 
* * .io.JobStatus status = 6; * @return The enum numeric value on the wire for status. */ @java.lang.Override public int getStatusValue() { return status_; } /** *
       * The status of the completed Job.
       * 
* * .io.JobStatus status = 6; * @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; } /** *
       * The status of the completed Job.
       * 
* * .io.JobStatus status = 6; * @return The status. */ @java.lang.Override public com.passkit.grpc.JobOuterClass.JobStatus getStatus() { @SuppressWarnings("deprecation") com.passkit.grpc.JobOuterClass.JobStatus result = com.passkit.grpc.JobOuterClass.JobStatus.valueOf(status_); return result == null ? com.passkit.grpc.JobOuterClass.JobStatus.UNRECOGNIZED : result; } /** *
       * The status of the completed Job.
       * 
* * .io.JobStatus status = 6; * @param value The status to set. * @return This builder for chaining. */ public Builder setStatus(com.passkit.grpc.JobOuterClass.JobStatus value) { if (value == null) { throw new NullPointerException(); } status_ = value.getNumber(); onChanged(); return this; } /** *
       * The status of the completed Job.
       * 
* * .io.JobStatus status = 6; * @return This builder for chaining. */ public Builder clearStatus() { status_ = 0; onChanged(); return this; } private java.lang.Object details_ = ""; /** *
       * Any details about the Job that are relevant to the user.
       * 
* * string details = 7; * @return The details. */ public java.lang.String getDetails() { java.lang.Object ref = details_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); details_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Any details about the Job that are relevant to the user.
       * 
* * string details = 7; * @return The bytes for details. */ public com.google.protobuf.ByteString getDetailsBytes() { java.lang.Object ref = details_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); details_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Any details about the Job that are relevant to the user.
       * 
* * string details = 7; * @param value The details to set. * @return This builder for chaining. */ public Builder setDetails( java.lang.String value) { if (value == null) { throw new NullPointerException(); } details_ = value; onChanged(); return this; } /** *
       * Any details about the Job that are relevant to the user.
       * 
* * string details = 7; * @return This builder for chaining. */ public Builder clearDetails() { details_ = getDefaultInstance().getDetails(); onChanged(); return this; } /** *
       * Any details about the Job that are relevant to the user.
       * 
* * string details = 7; * @param value The bytes for details to set. * @return This builder for chaining. */ public Builder setDetailsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); details_ = value; onChanged(); return this; } private com.google.protobuf.Timestamp completed_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> completedBuilder_; /** *
       * The date the job was completed in the PassKit system.
       * 
* * .google.protobuf.Timestamp completed = 8; * @return Whether the completed field is set. */ public boolean hasCompleted() { return completedBuilder_ != null || completed_ != null; } /** *
       * The date the job was completed in the PassKit system.
       * 
* * .google.protobuf.Timestamp completed = 8; * @return The completed. */ public com.google.protobuf.Timestamp getCompleted() { if (completedBuilder_ == null) { return completed_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : completed_; } else { return completedBuilder_.getMessage(); } } /** *
       * The date the job was completed in the PassKit system.
       * 
* * .google.protobuf.Timestamp completed = 8; */ public Builder setCompleted(com.google.protobuf.Timestamp value) { if (completedBuilder_ == null) { if (value == null) { throw new NullPointerException(); } completed_ = value; onChanged(); } else { completedBuilder_.setMessage(value); } return this; } /** *
       * The date the job was completed in the PassKit system.
       * 
* * .google.protobuf.Timestamp completed = 8; */ public Builder setCompleted( com.google.protobuf.Timestamp.Builder builderForValue) { if (completedBuilder_ == null) { completed_ = builderForValue.build(); onChanged(); } else { completedBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The date the job was completed in the PassKit system.
       * 
* * .google.protobuf.Timestamp completed = 8; */ public Builder mergeCompleted(com.google.protobuf.Timestamp value) { if (completedBuilder_ == null) { if (completed_ != null) { completed_ = com.google.protobuf.Timestamp.newBuilder(completed_).mergeFrom(value).buildPartial(); } else { completed_ = value; } onChanged(); } else { completedBuilder_.mergeFrom(value); } return this; } /** *
       * The date the job was completed in the PassKit system.
       * 
* * .google.protobuf.Timestamp completed = 8; */ public Builder clearCompleted() { if (completedBuilder_ == null) { completed_ = null; onChanged(); } else { completed_ = null; completedBuilder_ = null; } return this; } /** *
       * The date the job was completed in the PassKit system.
       * 
* * .google.protobuf.Timestamp completed = 8; */ public com.google.protobuf.Timestamp.Builder getCompletedBuilder() { onChanged(); return getCompletedFieldBuilder().getBuilder(); } /** *
       * The date the job was completed in the PassKit system.
       * 
* * .google.protobuf.Timestamp completed = 8; */ public com.google.protobuf.TimestampOrBuilder getCompletedOrBuilder() { if (completedBuilder_ != null) { return completedBuilder_.getMessageOrBuilder(); } else { return completed_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : completed_; } } /** *
       * The date the job was completed in the PassKit system.
       * 
* * .google.protobuf.Timestamp completed = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCompletedFieldBuilder() { if (completedBuilder_ == null) { completedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getCompleted(), getParentForChildren(), isClean()); completed_ = null; } return completedBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.JobOuterClass.CompletedCsvImport, com.passkit.grpc.JobOuterClass.CompletedCsvImport.Builder, com.passkit.grpc.JobOuterClass.CompletedCsvImportOrBuilder> completedCsvImportBuilder_; /** * .io.CompletedCsvImport completedCsvImport = 9; * @return Whether the completedCsvImport field is set. */ @java.lang.Override public boolean hasCompletedCsvImport() { return completedJobOutputCase_ == 9; } /** * .io.CompletedCsvImport completedCsvImport = 9; * @return The completedCsvImport. */ @java.lang.Override public com.passkit.grpc.JobOuterClass.CompletedCsvImport getCompletedCsvImport() { if (completedCsvImportBuilder_ == null) { if (completedJobOutputCase_ == 9) { return (com.passkit.grpc.JobOuterClass.CompletedCsvImport) completedJobOutput_; } return com.passkit.grpc.JobOuterClass.CompletedCsvImport.getDefaultInstance(); } else { if (completedJobOutputCase_ == 9) { return completedCsvImportBuilder_.getMessage(); } return com.passkit.grpc.JobOuterClass.CompletedCsvImport.getDefaultInstance(); } } /** * .io.CompletedCsvImport completedCsvImport = 9; */ public Builder setCompletedCsvImport(com.passkit.grpc.JobOuterClass.CompletedCsvImport value) { if (completedCsvImportBuilder_ == null) { if (value == null) { throw new NullPointerException(); } completedJobOutput_ = value; onChanged(); } else { completedCsvImportBuilder_.setMessage(value); } completedJobOutputCase_ = 9; return this; } /** * .io.CompletedCsvImport completedCsvImport = 9; */ public Builder setCompletedCsvImport( com.passkit.grpc.JobOuterClass.CompletedCsvImport.Builder builderForValue) { if (completedCsvImportBuilder_ == null) { completedJobOutput_ = builderForValue.build(); onChanged(); } else { completedCsvImportBuilder_.setMessage(builderForValue.build()); } completedJobOutputCase_ = 9; return this; } /** * .io.CompletedCsvImport completedCsvImport = 9; */ public Builder mergeCompletedCsvImport(com.passkit.grpc.JobOuterClass.CompletedCsvImport value) { if (completedCsvImportBuilder_ == null) { if (completedJobOutputCase_ == 9 && completedJobOutput_ != com.passkit.grpc.JobOuterClass.CompletedCsvImport.getDefaultInstance()) { completedJobOutput_ = com.passkit.grpc.JobOuterClass.CompletedCsvImport.newBuilder((com.passkit.grpc.JobOuterClass.CompletedCsvImport) completedJobOutput_) .mergeFrom(value).buildPartial(); } else { completedJobOutput_ = value; } onChanged(); } else { if (completedJobOutputCase_ == 9) { completedCsvImportBuilder_.mergeFrom(value); } completedCsvImportBuilder_.setMessage(value); } completedJobOutputCase_ = 9; return this; } /** * .io.CompletedCsvImport completedCsvImport = 9; */ public Builder clearCompletedCsvImport() { if (completedCsvImportBuilder_ == null) { if (completedJobOutputCase_ == 9) { completedJobOutputCase_ = 0; completedJobOutput_ = null; onChanged(); } } else { if (completedJobOutputCase_ == 9) { completedJobOutputCase_ = 0; completedJobOutput_ = null; } completedCsvImportBuilder_.clear(); } return this; } /** * .io.CompletedCsvImport completedCsvImport = 9; */ public com.passkit.grpc.JobOuterClass.CompletedCsvImport.Builder getCompletedCsvImportBuilder() { return getCompletedCsvImportFieldBuilder().getBuilder(); } /** * .io.CompletedCsvImport completedCsvImport = 9; */ @java.lang.Override public com.passkit.grpc.JobOuterClass.CompletedCsvImportOrBuilder getCompletedCsvImportOrBuilder() { if ((completedJobOutputCase_ == 9) && (completedCsvImportBuilder_ != null)) { return completedCsvImportBuilder_.getMessageOrBuilder(); } else { if (completedJobOutputCase_ == 9) { return (com.passkit.grpc.JobOuterClass.CompletedCsvImport) completedJobOutput_; } return com.passkit.grpc.JobOuterClass.CompletedCsvImport.getDefaultInstance(); } } /** * .io.CompletedCsvImport completedCsvImport = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.JobOuterClass.CompletedCsvImport, com.passkit.grpc.JobOuterClass.CompletedCsvImport.Builder, com.passkit.grpc.JobOuterClass.CompletedCsvImportOrBuilder> getCompletedCsvImportFieldBuilder() { if (completedCsvImportBuilder_ == null) { if (!(completedJobOutputCase_ == 9)) { completedJobOutput_ = com.passkit.grpc.JobOuterClass.CompletedCsvImport.getDefaultInstance(); } completedCsvImportBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.passkit.grpc.JobOuterClass.CompletedCsvImport, com.passkit.grpc.JobOuterClass.CompletedCsvImport.Builder, com.passkit.grpc.JobOuterClass.CompletedCsvImportOrBuilder>( (com.passkit.grpc.JobOuterClass.CompletedCsvImport) completedJobOutput_, getParentForChildren(), isClean()); completedJobOutput_ = null; } completedJobOutputCase_ = 9; onChanged();; return completedCsvImportBuilder_; } @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:io.CompletedJob) } // @@protoc_insertion_point(class_scope:io.CompletedJob) private static final com.passkit.grpc.JobOuterClass.CompletedJob DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.JobOuterClass.CompletedJob(); } public static com.passkit.grpc.JobOuterClass.CompletedJob getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CompletedJob parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CompletedJob(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 com.passkit.grpc.JobOuterClass.CompletedJob getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CompletedCsvImportOrBuilder extends // @@protoc_insertion_point(interface_extends:io.CompletedCsvImport) com.google.protobuf.MessageOrBuilder { /** * string fileUrl = 1; * @return The fileUrl. */ java.lang.String getFileUrl(); /** * string fileUrl = 1; * @return The bytes for fileUrl. */ com.google.protobuf.ByteString getFileUrlBytes(); } /** * Protobuf type {@code io.CompletedCsvImport} */ public static final class CompletedCsvImport extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.CompletedCsvImport) CompletedCsvImportOrBuilder { private static final long serialVersionUID = 0L; // Use CompletedCsvImport.newBuilder() to construct. private CompletedCsvImport(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CompletedCsvImport() { fileUrl_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CompletedCsvImport(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CompletedCsvImport( 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(); fileUrl_ = 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 com.passkit.grpc.JobOuterClass.internal_static_io_CompletedCsvImport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.JobOuterClass.internal_static_io_CompletedCsvImport_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.JobOuterClass.CompletedCsvImport.class, com.passkit.grpc.JobOuterClass.CompletedCsvImport.Builder.class); } public static final int FILEURL_FIELD_NUMBER = 1; private volatile java.lang.Object fileUrl_; /** * string fileUrl = 1; * @return The fileUrl. */ @java.lang.Override public java.lang.String getFileUrl() { java.lang.Object ref = fileUrl_; 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(); fileUrl_ = s; return s; } } /** * string fileUrl = 1; * @return The bytes for fileUrl. */ @java.lang.Override public com.google.protobuf.ByteString getFileUrlBytes() { java.lang.Object ref = fileUrl_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileUrl_ = 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 (!getFileUrlBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, fileUrl_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getFileUrlBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, fileUrl_); } 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 com.passkit.grpc.JobOuterClass.CompletedCsvImport)) { return super.equals(obj); } com.passkit.grpc.JobOuterClass.CompletedCsvImport other = (com.passkit.grpc.JobOuterClass.CompletedCsvImport) obj; if (!getFileUrl() .equals(other.getFileUrl())) 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) + FILEURL_FIELD_NUMBER; hash = (53 * hash) + getFileUrl().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.JobOuterClass.CompletedCsvImport parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.JobOuterClass.CompletedCsvImport parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.JobOuterClass.CompletedCsvImport parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.JobOuterClass.CompletedCsvImport parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.JobOuterClass.CompletedCsvImport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.JobOuterClass.CompletedCsvImport parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.JobOuterClass.CompletedCsvImport parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.JobOuterClass.CompletedCsvImport 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 com.passkit.grpc.JobOuterClass.CompletedCsvImport parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.JobOuterClass.CompletedCsvImport 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 com.passkit.grpc.JobOuterClass.CompletedCsvImport parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.JobOuterClass.CompletedCsvImport 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(com.passkit.grpc.JobOuterClass.CompletedCsvImport 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 io.CompletedCsvImport} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.CompletedCsvImport) com.passkit.grpc.JobOuterClass.CompletedCsvImportOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.JobOuterClass.internal_static_io_CompletedCsvImport_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.JobOuterClass.internal_static_io_CompletedCsvImport_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.JobOuterClass.CompletedCsvImport.class, com.passkit.grpc.JobOuterClass.CompletedCsvImport.Builder.class); } // Construct using com.passkit.grpc.JobOuterClass.CompletedCsvImport.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(); fileUrl_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.JobOuterClass.internal_static_io_CompletedCsvImport_descriptor; } @java.lang.Override public com.passkit.grpc.JobOuterClass.CompletedCsvImport getDefaultInstanceForType() { return com.passkit.grpc.JobOuterClass.CompletedCsvImport.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.JobOuterClass.CompletedCsvImport build() { com.passkit.grpc.JobOuterClass.CompletedCsvImport result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.JobOuterClass.CompletedCsvImport buildPartial() { com.passkit.grpc.JobOuterClass.CompletedCsvImport result = new com.passkit.grpc.JobOuterClass.CompletedCsvImport(this); result.fileUrl_ = fileUrl_; 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 com.passkit.grpc.JobOuterClass.CompletedCsvImport) { return mergeFrom((com.passkit.grpc.JobOuterClass.CompletedCsvImport)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.JobOuterClass.CompletedCsvImport other) { if (other == com.passkit.grpc.JobOuterClass.CompletedCsvImport.getDefaultInstance()) return this; if (!other.getFileUrl().isEmpty()) { fileUrl_ = other.fileUrl_; 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 { com.passkit.grpc.JobOuterClass.CompletedCsvImport parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.JobOuterClass.CompletedCsvImport) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object fileUrl_ = ""; /** * string fileUrl = 1; * @return The fileUrl. */ public java.lang.String getFileUrl() { java.lang.Object ref = fileUrl_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); fileUrl_ = s; return s; } else { return (java.lang.String) ref; } } /** * string fileUrl = 1; * @return The bytes for fileUrl. */ public com.google.protobuf.ByteString getFileUrlBytes() { java.lang.Object ref = fileUrl_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); fileUrl_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string fileUrl = 1; * @param value The fileUrl to set. * @return This builder for chaining. */ public Builder setFileUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } fileUrl_ = value; onChanged(); return this; } /** * string fileUrl = 1; * @return This builder for chaining. */ public Builder clearFileUrl() { fileUrl_ = getDefaultInstance().getFileUrl(); onChanged(); return this; } /** * string fileUrl = 1; * @param value The bytes for fileUrl to set. * @return This builder for chaining. */ public Builder setFileUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); fileUrl_ = 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:io.CompletedCsvImport) } // @@protoc_insertion_point(class_scope:io.CompletedCsvImport) private static final com.passkit.grpc.JobOuterClass.CompletedCsvImport DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.JobOuterClass.CompletedCsvImport(); } public static com.passkit.grpc.JobOuterClass.CompletedCsvImport getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CompletedCsvImport parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CompletedCsvImport(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 com.passkit.grpc.JobOuterClass.CompletedCsvImport getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ScheduleOrBuilder extends // @@protoc_insertion_point(interface_extends:io.Schedule) com.google.protobuf.MessageOrBuilder { /** *
     * Defines the recurrence of the job in cronTab format.
     * 
* * string cronTabSchedule = 1; * @return The cronTabSchedule. */ java.lang.String getCronTabSchedule(); /** *
     * Defines the recurrence of the job in cronTab format.
     * 
* * string cronTabSchedule = 1; * @return The bytes for cronTabSchedule. */ com.google.protobuf.ByteString getCronTabScheduleBytes(); /** *
     * If the job repeats.
     * 
* * bool repeating = 2; * @return The repeating. */ boolean getRepeating(); /** * string timezone = 3; * @return The timezone. */ java.lang.String getTimezone(); /** * string timezone = 3; * @return The bytes for timezone. */ com.google.protobuf.ByteString getTimezoneBytes(); /** *
     * The time the job should start.
     * 
* * .google.protobuf.Timestamp startTime = 4; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** *
     * The time the job should start.
     * 
* * .google.protobuf.Timestamp startTime = 4; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** *
     * The time the job should start.
     * 
* * .google.protobuf.Timestamp startTime = 4; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** *
     * Optional time when the job will stop.
     * 
* * .google.protobuf.Timestamp runUntil = 5; * @return Whether the runUntil field is set. */ boolean hasRunUntil(); /** *
     * Optional time when the job will stop.
     * 
* * .google.protobuf.Timestamp runUntil = 5; * @return The runUntil. */ com.google.protobuf.Timestamp getRunUntil(); /** *
     * Optional time when the job will stop.
     * 
* * .google.protobuf.Timestamp runUntil = 5; */ com.google.protobuf.TimestampOrBuilder getRunUntilOrBuilder(); } /** * Protobuf type {@code io.Schedule} */ public static final class Schedule extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.Schedule) ScheduleOrBuilder { private static final long serialVersionUID = 0L; // Use Schedule.newBuilder() to construct. private Schedule(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Schedule() { cronTabSchedule_ = ""; timezone_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Schedule(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Schedule( 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(); cronTabSchedule_ = s; break; } case 16: { repeating_ = input.readBool(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); timezone_ = s; break; } case 34: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (startTime_ != null) { subBuilder = startTime_.toBuilder(); } startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(startTime_); startTime_ = subBuilder.buildPartial(); } break; } case 42: { com.google.protobuf.Timestamp.Builder subBuilder = null; if (runUntil_ != null) { subBuilder = runUntil_.toBuilder(); } runUntil_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(runUntil_); runUntil_ = 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 com.passkit.grpc.JobOuterClass.internal_static_io_Schedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.JobOuterClass.internal_static_io_Schedule_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.JobOuterClass.Schedule.class, com.passkit.grpc.JobOuterClass.Schedule.Builder.class); } public static final int CRONTABSCHEDULE_FIELD_NUMBER = 1; private volatile java.lang.Object cronTabSchedule_; /** *
     * Defines the recurrence of the job in cronTab format.
     * 
* * string cronTabSchedule = 1; * @return The cronTabSchedule. */ @java.lang.Override public java.lang.String getCronTabSchedule() { java.lang.Object ref = cronTabSchedule_; 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(); cronTabSchedule_ = s; return s; } } /** *
     * Defines the recurrence of the job in cronTab format.
     * 
* * string cronTabSchedule = 1; * @return The bytes for cronTabSchedule. */ @java.lang.Override public com.google.protobuf.ByteString getCronTabScheduleBytes() { java.lang.Object ref = cronTabSchedule_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cronTabSchedule_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REPEATING_FIELD_NUMBER = 2; private boolean repeating_; /** *
     * If the job repeats.
     * 
* * bool repeating = 2; * @return The repeating. */ @java.lang.Override public boolean getRepeating() { return repeating_; } public static final int TIMEZONE_FIELD_NUMBER = 3; private volatile java.lang.Object timezone_; /** * string timezone = 3; * @return The timezone. */ @java.lang.Override public java.lang.String getTimezone() { java.lang.Object ref = timezone_; 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(); timezone_ = s; return s; } } /** * string timezone = 3; * @return The bytes for timezone. */ @java.lang.Override public com.google.protobuf.ByteString getTimezoneBytes() { java.lang.Object ref = timezone_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timezone_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int STARTTIME_FIELD_NUMBER = 4; private com.google.protobuf.Timestamp startTime_; /** *
     * The time the job should start.
     * 
* * .google.protobuf.Timestamp startTime = 4; * @return Whether the startTime field is set. */ @java.lang.Override public boolean hasStartTime() { return startTime_ != null; } /** *
     * The time the job should start.
     * 
* * .google.protobuf.Timestamp startTime = 4; * @return The startTime. */ @java.lang.Override public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** *
     * The time the job should start.
     * 
* * .google.protobuf.Timestamp startTime = 4; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { return getStartTime(); } public static final int RUNUNTIL_FIELD_NUMBER = 5; private com.google.protobuf.Timestamp runUntil_; /** *
     * Optional time when the job will stop.
     * 
* * .google.protobuf.Timestamp runUntil = 5; * @return Whether the runUntil field is set. */ @java.lang.Override public boolean hasRunUntil() { return runUntil_ != null; } /** *
     * Optional time when the job will stop.
     * 
* * .google.protobuf.Timestamp runUntil = 5; * @return The runUntil. */ @java.lang.Override public com.google.protobuf.Timestamp getRunUntil() { return runUntil_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : runUntil_; } /** *
     * Optional time when the job will stop.
     * 
* * .google.protobuf.Timestamp runUntil = 5; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getRunUntilOrBuilder() { return getRunUntil(); } 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 (!getCronTabScheduleBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, cronTabSchedule_); } if (repeating_ != false) { output.writeBool(2, repeating_); } if (!getTimezoneBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, timezone_); } if (startTime_ != null) { output.writeMessage(4, getStartTime()); } if (runUntil_ != null) { output.writeMessage(5, getRunUntil()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getCronTabScheduleBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, cronTabSchedule_); } if (repeating_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, repeating_); } if (!getTimezoneBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, timezone_); } if (startTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getStartTime()); } if (runUntil_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getRunUntil()); } 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 com.passkit.grpc.JobOuterClass.Schedule)) { return super.equals(obj); } com.passkit.grpc.JobOuterClass.Schedule other = (com.passkit.grpc.JobOuterClass.Schedule) obj; if (!getCronTabSchedule() .equals(other.getCronTabSchedule())) return false; if (getRepeating() != other.getRepeating()) return false; if (!getTimezone() .equals(other.getTimezone())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { if (!getStartTime() .equals(other.getStartTime())) return false; } if (hasRunUntil() != other.hasRunUntil()) return false; if (hasRunUntil()) { if (!getRunUntil() .equals(other.getRunUntil())) 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) + CRONTABSCHEDULE_FIELD_NUMBER; hash = (53 * hash) + getCronTabSchedule().hashCode(); hash = (37 * hash) + REPEATING_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getRepeating()); hash = (37 * hash) + TIMEZONE_FIELD_NUMBER; hash = (53 * hash) + getTimezone().hashCode(); if (hasStartTime()) { hash = (37 * hash) + STARTTIME_FIELD_NUMBER; hash = (53 * hash) + getStartTime().hashCode(); } if (hasRunUntil()) { hash = (37 * hash) + RUNUNTIL_FIELD_NUMBER; hash = (53 * hash) + getRunUntil().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.JobOuterClass.Schedule parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.JobOuterClass.Schedule parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.JobOuterClass.Schedule parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.JobOuterClass.Schedule parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.JobOuterClass.Schedule parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.JobOuterClass.Schedule parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.JobOuterClass.Schedule parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.JobOuterClass.Schedule 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 com.passkit.grpc.JobOuterClass.Schedule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.JobOuterClass.Schedule 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 com.passkit.grpc.JobOuterClass.Schedule parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.JobOuterClass.Schedule 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(com.passkit.grpc.JobOuterClass.Schedule 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 io.Schedule} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.Schedule) com.passkit.grpc.JobOuterClass.ScheduleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.JobOuterClass.internal_static_io_Schedule_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.JobOuterClass.internal_static_io_Schedule_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.JobOuterClass.Schedule.class, com.passkit.grpc.JobOuterClass.Schedule.Builder.class); } // Construct using com.passkit.grpc.JobOuterClass.Schedule.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(); cronTabSchedule_ = ""; repeating_ = false; timezone_ = ""; if (startTimeBuilder_ == null) { startTime_ = null; } else { startTime_ = null; startTimeBuilder_ = null; } if (runUntilBuilder_ == null) { runUntil_ = null; } else { runUntil_ = null; runUntilBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.JobOuterClass.internal_static_io_Schedule_descriptor; } @java.lang.Override public com.passkit.grpc.JobOuterClass.Schedule getDefaultInstanceForType() { return com.passkit.grpc.JobOuterClass.Schedule.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.JobOuterClass.Schedule build() { com.passkit.grpc.JobOuterClass.Schedule result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.JobOuterClass.Schedule buildPartial() { com.passkit.grpc.JobOuterClass.Schedule result = new com.passkit.grpc.JobOuterClass.Schedule(this); result.cronTabSchedule_ = cronTabSchedule_; result.repeating_ = repeating_; result.timezone_ = timezone_; if (startTimeBuilder_ == null) { result.startTime_ = startTime_; } else { result.startTime_ = startTimeBuilder_.build(); } if (runUntilBuilder_ == null) { result.runUntil_ = runUntil_; } else { result.runUntil_ = runUntilBuilder_.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 com.passkit.grpc.JobOuterClass.Schedule) { return mergeFrom((com.passkit.grpc.JobOuterClass.Schedule)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.JobOuterClass.Schedule other) { if (other == com.passkit.grpc.JobOuterClass.Schedule.getDefaultInstance()) return this; if (!other.getCronTabSchedule().isEmpty()) { cronTabSchedule_ = other.cronTabSchedule_; onChanged(); } if (other.getRepeating() != false) { setRepeating(other.getRepeating()); } if (!other.getTimezone().isEmpty()) { timezone_ = other.timezone_; onChanged(); } if (other.hasStartTime()) { mergeStartTime(other.getStartTime()); } if (other.hasRunUntil()) { mergeRunUntil(other.getRunUntil()); } 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 { com.passkit.grpc.JobOuterClass.Schedule parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.JobOuterClass.Schedule) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object cronTabSchedule_ = ""; /** *
       * Defines the recurrence of the job in cronTab format.
       * 
* * string cronTabSchedule = 1; * @return The cronTabSchedule. */ public java.lang.String getCronTabSchedule() { java.lang.Object ref = cronTabSchedule_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cronTabSchedule_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Defines the recurrence of the job in cronTab format.
       * 
* * string cronTabSchedule = 1; * @return The bytes for cronTabSchedule. */ public com.google.protobuf.ByteString getCronTabScheduleBytes() { java.lang.Object ref = cronTabSchedule_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); cronTabSchedule_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Defines the recurrence of the job in cronTab format.
       * 
* * string cronTabSchedule = 1; * @param value The cronTabSchedule to set. * @return This builder for chaining. */ public Builder setCronTabSchedule( java.lang.String value) { if (value == null) { throw new NullPointerException(); } cronTabSchedule_ = value; onChanged(); return this; } /** *
       * Defines the recurrence of the job in cronTab format.
       * 
* * string cronTabSchedule = 1; * @return This builder for chaining. */ public Builder clearCronTabSchedule() { cronTabSchedule_ = getDefaultInstance().getCronTabSchedule(); onChanged(); return this; } /** *
       * Defines the recurrence of the job in cronTab format.
       * 
* * string cronTabSchedule = 1; * @param value The bytes for cronTabSchedule to set. * @return This builder for chaining. */ public Builder setCronTabScheduleBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cronTabSchedule_ = value; onChanged(); return this; } private boolean repeating_ ; /** *
       * If the job repeats.
       * 
* * bool repeating = 2; * @return The repeating. */ @java.lang.Override public boolean getRepeating() { return repeating_; } /** *
       * If the job repeats.
       * 
* * bool repeating = 2; * @param value The repeating to set. * @return This builder for chaining. */ public Builder setRepeating(boolean value) { repeating_ = value; onChanged(); return this; } /** *
       * If the job repeats.
       * 
* * bool repeating = 2; * @return This builder for chaining. */ public Builder clearRepeating() { repeating_ = false; onChanged(); return this; } private java.lang.Object timezone_ = ""; /** * string timezone = 3; * @return The timezone. */ public java.lang.String getTimezone() { java.lang.Object ref = timezone_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timezone_ = s; return s; } else { return (java.lang.String) ref; } } /** * string timezone = 3; * @return The bytes for timezone. */ public com.google.protobuf.ByteString getTimezoneBytes() { java.lang.Object ref = timezone_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timezone_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string timezone = 3; * @param value The timezone to set. * @return This builder for chaining. */ public Builder setTimezone( java.lang.String value) { if (value == null) { throw new NullPointerException(); } timezone_ = value; onChanged(); return this; } /** * string timezone = 3; * @return This builder for chaining. */ public Builder clearTimezone() { timezone_ = getDefaultInstance().getTimezone(); onChanged(); return this; } /** * string timezone = 3; * @param value The bytes for timezone to set. * @return This builder for chaining. */ public Builder setTimezoneBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); timezone_ = value; onChanged(); return this; } private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** *
       * The time the job should start.
       * 
* * .google.protobuf.Timestamp startTime = 4; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return startTimeBuilder_ != null || startTime_ != null; } /** *
       * The time the job should start.
       * 
* * .google.protobuf.Timestamp startTime = 4; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { if (startTimeBuilder_ == null) { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } else { return startTimeBuilder_.getMessage(); } } /** *
       * The time the job should start.
       * 
* * .google.protobuf.Timestamp startTime = 4; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } startTime_ = value; onChanged(); } else { startTimeBuilder_.setMessage(value); } return this; } /** *
       * The time the job should start.
       * 
* * .google.protobuf.Timestamp startTime = 4; */ public Builder setStartTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); onChanged(); } else { startTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The time the job should start.
       * 
* * .google.protobuf.Timestamp startTime = 4; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (startTime_ != null) { startTime_ = com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } onChanged(); } else { startTimeBuilder_.mergeFrom(value); } return this; } /** *
       * The time the job should start.
       * 
* * .google.protobuf.Timestamp startTime = 4; */ public Builder clearStartTime() { if (startTimeBuilder_ == null) { startTime_ = null; onChanged(); } else { startTime_ = null; startTimeBuilder_ = null; } return this; } /** *
       * The time the job should start.
       * 
* * .google.protobuf.Timestamp startTime = 4; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { onChanged(); return getStartTimeFieldBuilder().getBuilder(); } /** *
       * The time the job should start.
       * 
* * .google.protobuf.Timestamp startTime = 4; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** *
       * The time the job should start.
       * 
* * .google.protobuf.Timestamp startTime = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; } private com.google.protobuf.Timestamp runUntil_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> runUntilBuilder_; /** *
       * Optional time when the job will stop.
       * 
* * .google.protobuf.Timestamp runUntil = 5; * @return Whether the runUntil field is set. */ public boolean hasRunUntil() { return runUntilBuilder_ != null || runUntil_ != null; } /** *
       * Optional time when the job will stop.
       * 
* * .google.protobuf.Timestamp runUntil = 5; * @return The runUntil. */ public com.google.protobuf.Timestamp getRunUntil() { if (runUntilBuilder_ == null) { return runUntil_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : runUntil_; } else { return runUntilBuilder_.getMessage(); } } /** *
       * Optional time when the job will stop.
       * 
* * .google.protobuf.Timestamp runUntil = 5; */ public Builder setRunUntil(com.google.protobuf.Timestamp value) { if (runUntilBuilder_ == null) { if (value == null) { throw new NullPointerException(); } runUntil_ = value; onChanged(); } else { runUntilBuilder_.setMessage(value); } return this; } /** *
       * Optional time when the job will stop.
       * 
* * .google.protobuf.Timestamp runUntil = 5; */ public Builder setRunUntil( com.google.protobuf.Timestamp.Builder builderForValue) { if (runUntilBuilder_ == null) { runUntil_ = builderForValue.build(); onChanged(); } else { runUntilBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Optional time when the job will stop.
       * 
* * .google.protobuf.Timestamp runUntil = 5; */ public Builder mergeRunUntil(com.google.protobuf.Timestamp value) { if (runUntilBuilder_ == null) { if (runUntil_ != null) { runUntil_ = com.google.protobuf.Timestamp.newBuilder(runUntil_).mergeFrom(value).buildPartial(); } else { runUntil_ = value; } onChanged(); } else { runUntilBuilder_.mergeFrom(value); } return this; } /** *
       * Optional time when the job will stop.
       * 
* * .google.protobuf.Timestamp runUntil = 5; */ public Builder clearRunUntil() { if (runUntilBuilder_ == null) { runUntil_ = null; onChanged(); } else { runUntil_ = null; runUntilBuilder_ = null; } return this; } /** *
       * Optional time when the job will stop.
       * 
* * .google.protobuf.Timestamp runUntil = 5; */ public com.google.protobuf.Timestamp.Builder getRunUntilBuilder() { onChanged(); return getRunUntilFieldBuilder().getBuilder(); } /** *
       * Optional time when the job will stop.
       * 
* * .google.protobuf.Timestamp runUntil = 5; */ public com.google.protobuf.TimestampOrBuilder getRunUntilOrBuilder() { if (runUntilBuilder_ != null) { return runUntilBuilder_.getMessageOrBuilder(); } else { return runUntil_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : runUntil_; } } /** *
       * Optional time when the job will stop.
       * 
* * .google.protobuf.Timestamp runUntil = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getRunUntilFieldBuilder() { if (runUntilBuilder_ == null) { runUntilBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( getRunUntil(), getParentForChildren(), isClean()); runUntil_ = null; } return runUntilBuilder_; } @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:io.Schedule) } // @@protoc_insertion_point(class_scope:io.Schedule) private static final com.passkit.grpc.JobOuterClass.Schedule DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.JobOuterClass.Schedule(); } public static com.passkit.grpc.JobOuterClass.Schedule getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Schedule parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Schedule(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 com.passkit.grpc.JobOuterClass.Schedule getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CsvImportRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:io.CsvImportRequest) com.google.protobuf.MessageOrBuilder { /** * string classId = 1; * @return The classId. */ java.lang.String getClassId(); /** * string classId = 1; * @return The bytes for classId. */ com.google.protobuf.ByteString getClassIdBytes(); /** * .io.PassProtocol protocol = 2; * @return The enum numeric value on the wire for protocol. */ int getProtocolValue(); /** * .io.PassProtocol protocol = 2; * @return The protocol. */ com.passkit.grpc.Protocols.PassProtocol getProtocol(); /** * bytes fileBytes = 3; * @return The fileBytes. */ com.google.protobuf.ByteString getFileBytes(); } /** * Protobuf type {@code io.CsvImportRequest} */ public static final class CsvImportRequest extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.CsvImportRequest) CsvImportRequestOrBuilder { private static final long serialVersionUID = 0L; // Use CsvImportRequest.newBuilder() to construct. private CsvImportRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CsvImportRequest() { classId_ = ""; protocol_ = 0; fileBytes_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CsvImportRequest(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CsvImportRequest( 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(); classId_ = s; break; } case 16: { int rawValue = input.readEnum(); protocol_ = rawValue; break; } case 26: { fileBytes_ = 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 { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.JobOuterClass.internal_static_io_CsvImportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.JobOuterClass.internal_static_io_CsvImportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.JobOuterClass.CsvImportRequest.class, com.passkit.grpc.JobOuterClass.CsvImportRequest.Builder.class); } public static final int CLASSID_FIELD_NUMBER = 1; private volatile java.lang.Object classId_; /** * string classId = 1; * @return The classId. */ @java.lang.Override public java.lang.String getClassId() { java.lang.Object ref = classId_; 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(); classId_ = s; return s; } } /** * string classId = 1; * @return The bytes for classId. */ @java.lang.Override public com.google.protobuf.ByteString getClassIdBytes() { java.lang.Object ref = classId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); classId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PROTOCOL_FIELD_NUMBER = 2; private int protocol_; /** * .io.PassProtocol protocol = 2; * @return The enum numeric value on the wire for protocol. */ @java.lang.Override public int getProtocolValue() { return protocol_; } /** * .io.PassProtocol protocol = 2; * @return The protocol. */ @java.lang.Override public com.passkit.grpc.Protocols.PassProtocol getProtocol() { @SuppressWarnings("deprecation") com.passkit.grpc.Protocols.PassProtocol result = com.passkit.grpc.Protocols.PassProtocol.valueOf(protocol_); return result == null ? com.passkit.grpc.Protocols.PassProtocol.UNRECOGNIZED : result; } public static final int FILEBYTES_FIELD_NUMBER = 3; private com.google.protobuf.ByteString fileBytes_; /** * bytes fileBytes = 3; * @return The fileBytes. */ @java.lang.Override public com.google.protobuf.ByteString getFileBytes() { return fileBytes_; } 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 (!getClassIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, classId_); } if (protocol_ != com.passkit.grpc.Protocols.PassProtocol.PASS_PROTOCOL_DO_NOT_USE.getNumber()) { output.writeEnum(2, protocol_); } if (!fileBytes_.isEmpty()) { output.writeBytes(3, fileBytes_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getClassIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, classId_); } if (protocol_ != com.passkit.grpc.Protocols.PassProtocol.PASS_PROTOCOL_DO_NOT_USE.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, protocol_); } if (!fileBytes_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(3, fileBytes_); } 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 com.passkit.grpc.JobOuterClass.CsvImportRequest)) { return super.equals(obj); } com.passkit.grpc.JobOuterClass.CsvImportRequest other = (com.passkit.grpc.JobOuterClass.CsvImportRequest) obj; if (!getClassId() .equals(other.getClassId())) return false; if (protocol_ != other.protocol_) return false; if (!getFileBytes() .equals(other.getFileBytes())) 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) + CLASSID_FIELD_NUMBER; hash = (53 * hash) + getClassId().hashCode(); hash = (37 * hash) + PROTOCOL_FIELD_NUMBER; hash = (53 * hash) + protocol_; hash = (37 * hash) + FILEBYTES_FIELD_NUMBER; hash = (53 * hash) + getFileBytes().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static com.passkit.grpc.JobOuterClass.CsvImportRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.JobOuterClass.CsvImportRequest parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.JobOuterClass.CsvImportRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.JobOuterClass.CsvImportRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.JobOuterClass.CsvImportRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.passkit.grpc.JobOuterClass.CsvImportRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.passkit.grpc.JobOuterClass.CsvImportRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.JobOuterClass.CsvImportRequest 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 com.passkit.grpc.JobOuterClass.CsvImportRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.passkit.grpc.JobOuterClass.CsvImportRequest 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 com.passkit.grpc.JobOuterClass.CsvImportRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.passkit.grpc.JobOuterClass.CsvImportRequest 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(com.passkit.grpc.JobOuterClass.CsvImportRequest 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 io.CsvImportRequest} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.CsvImportRequest) com.passkit.grpc.JobOuterClass.CsvImportRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.passkit.grpc.JobOuterClass.internal_static_io_CsvImportRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.passkit.grpc.JobOuterClass.internal_static_io_CsvImportRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( com.passkit.grpc.JobOuterClass.CsvImportRequest.class, com.passkit.grpc.JobOuterClass.CsvImportRequest.Builder.class); } // Construct using com.passkit.grpc.JobOuterClass.CsvImportRequest.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(); classId_ = ""; protocol_ = 0; fileBytes_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.passkit.grpc.JobOuterClass.internal_static_io_CsvImportRequest_descriptor; } @java.lang.Override public com.passkit.grpc.JobOuterClass.CsvImportRequest getDefaultInstanceForType() { return com.passkit.grpc.JobOuterClass.CsvImportRequest.getDefaultInstance(); } @java.lang.Override public com.passkit.grpc.JobOuterClass.CsvImportRequest build() { com.passkit.grpc.JobOuterClass.CsvImportRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.passkit.grpc.JobOuterClass.CsvImportRequest buildPartial() { com.passkit.grpc.JobOuterClass.CsvImportRequest result = new com.passkit.grpc.JobOuterClass.CsvImportRequest(this); result.classId_ = classId_; result.protocol_ = protocol_; result.fileBytes_ = fileBytes_; 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 com.passkit.grpc.JobOuterClass.CsvImportRequest) { return mergeFrom((com.passkit.grpc.JobOuterClass.CsvImportRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.passkit.grpc.JobOuterClass.CsvImportRequest other) { if (other == com.passkit.grpc.JobOuterClass.CsvImportRequest.getDefaultInstance()) return this; if (!other.getClassId().isEmpty()) { classId_ = other.classId_; onChanged(); } if (other.protocol_ != 0) { setProtocolValue(other.getProtocolValue()); } if (other.getFileBytes() != com.google.protobuf.ByteString.EMPTY) { setFileBytes(other.getFileBytes()); } 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 { com.passkit.grpc.JobOuterClass.CsvImportRequest parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.passkit.grpc.JobOuterClass.CsvImportRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object classId_ = ""; /** * string classId = 1; * @return The classId. */ public java.lang.String getClassId() { java.lang.Object ref = classId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); classId_ = s; return s; } else { return (java.lang.String) ref; } } /** * string classId = 1; * @return The bytes for classId. */ public com.google.protobuf.ByteString getClassIdBytes() { java.lang.Object ref = classId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); classId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string classId = 1; * @param value The classId to set. * @return This builder for chaining. */ public Builder setClassId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } classId_ = value; onChanged(); return this; } /** * string classId = 1; * @return This builder for chaining. */ public Builder clearClassId() { classId_ = getDefaultInstance().getClassId(); onChanged(); return this; } /** * string classId = 1; * @param value The bytes for classId to set. * @return This builder for chaining. */ public Builder setClassIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); classId_ = value; onChanged(); return this; } private int protocol_ = 0; /** * .io.PassProtocol protocol = 2; * @return The enum numeric value on the wire for protocol. */ @java.lang.Override public int getProtocolValue() { return protocol_; } /** * .io.PassProtocol protocol = 2; * @param value The enum numeric value on the wire for protocol to set. * @return This builder for chaining. */ public Builder setProtocolValue(int value) { protocol_ = value; onChanged(); return this; } /** * .io.PassProtocol protocol = 2; * @return The protocol. */ @java.lang.Override public com.passkit.grpc.Protocols.PassProtocol getProtocol() { @SuppressWarnings("deprecation") com.passkit.grpc.Protocols.PassProtocol result = com.passkit.grpc.Protocols.PassProtocol.valueOf(protocol_); return result == null ? com.passkit.grpc.Protocols.PassProtocol.UNRECOGNIZED : result; } /** * .io.PassProtocol protocol = 2; * @param value The protocol to set. * @return This builder for chaining. */ public Builder setProtocol(com.passkit.grpc.Protocols.PassProtocol value) { if (value == null) { throw new NullPointerException(); } protocol_ = value.getNumber(); onChanged(); return this; } /** * .io.PassProtocol protocol = 2; * @return This builder for chaining. */ public Builder clearProtocol() { protocol_ = 0; onChanged(); return this; } private com.google.protobuf.ByteString fileBytes_ = com.google.protobuf.ByteString.EMPTY; /** * bytes fileBytes = 3; * @return The fileBytes. */ @java.lang.Override public com.google.protobuf.ByteString getFileBytes() { return fileBytes_; } /** * bytes fileBytes = 3; * @param value The fileBytes to set. * @return This builder for chaining. */ public Builder setFileBytes(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } fileBytes_ = value; onChanged(); return this; } /** * bytes fileBytes = 3; * @return This builder for chaining. */ public Builder clearFileBytes() { fileBytes_ = getDefaultInstance().getFileBytes(); 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:io.CsvImportRequest) } // @@protoc_insertion_point(class_scope:io.CsvImportRequest) private static final com.passkit.grpc.JobOuterClass.CsvImportRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.passkit.grpc.JobOuterClass.CsvImportRequest(); } public static com.passkit.grpc.JobOuterClass.CsvImportRequest getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CsvImportRequest parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CsvImportRequest(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 com.passkit.grpc.JobOuterClass.CsvImportRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_Job_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_Job_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_CompletedJob_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_CompletedJob_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_CompletedCsvImport_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_CompletedCsvImport_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_Schedule_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_Schedule_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_CsvImportRequest_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_CsvImportRequest_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\023io/common/job.proto\022\002io\032\031io/common/pro" + "tocols.proto\032\037google/protobuf/timestamp." + "proto\"\267\003\n\003Job\022\n\n\002id\030\001 \001(\t\022\020\n\010username\030\002 " + "\001(\t\022\"\n\010protocol\030\003 \001(\0162\020.io.PassProtocol\022" + "\035\n\006status\030\004 \001(\0162\r.io.JobStatus\022\031\n\004type\030\005" + " \001(\0162\013.io.JobType\022\036\n\010schedule\030\006 \001(\0132\014.io" + ".Schedule\022+\n\007created\030\007 \001(\0132\032.google.prot" + "obuf.Timestamp\022+\n\007updated\030\010 \001(\0132\032.google" + ".protobuf.Timestamp\022,\n\010firstRun\030\t \001(\0132\032." + "google.protobuf.Timestamp\022,\n\010finalRun\030\n " + "\001(\0132\032.google.protobuf.Timestamp\022+\n\007nextR" + "un\030\013 \001(\0132\032.google.protobuf.Timestamp\022+\n\007" + "lastRun\030\014 \001(\0132\032.google.protobuf.Timestam" + "pJ\004\010\r\020\016\"\236\002\n\014CompletedJob\022\n\n\002id\030\001 \001(\t\022\013\n\003" + "cid\030\002 \001(\t\022\013\n\003uid\030\003 \001(\t\022\"\n\010protocol\030\004 \001(\016" + "2\020.io.PassProtocol\022\031\n\004type\030\005 \001(\0162\013.io.Jo" + "bType\022\035\n\006status\030\006 \001(\0162\r.io.JobStatus\022\017\n\007" + "details\030\007 \001(\t\022-\n\tcompleted\030\010 \001(\0132\032.googl" + "e.protobuf.Timestamp\0224\n\022completedCsvImpo" + "rt\030\t \001(\0132\026.io.CompletedCsvImportH\000B\024\n\022Co" + "mpletedJobOutput\"%\n\022CompletedCsvImport\022\017" + "\n\007fileUrl\030\001 \001(\t\"\245\001\n\010Schedule\022\027\n\017cronTabS" + "chedule\030\001 \001(\t\022\021\n\trepeating\030\002 \001(\010\022\020\n\010time" + "zone\030\003 \001(\t\022-\n\tstartTime\030\004 \001(\0132\032.google.p" + "rotobuf.Timestamp\022,\n\010runUntil\030\005 \001(\0132\032.go" + "ogle.protobuf.Timestamp\"Z\n\020CsvImportRequ" + "est\022\017\n\007classId\030\001 \001(\t\022\"\n\010protocol\030\002 \001(\0162\020" + ".io.PassProtocol\022\021\n\tfileBytes\030\003 \001(\014*q\n\tJ" + "obStatus\022\021\n\rJOB_SCHEDULED\020\000\022\017\n\013JOB_RUNNI" + "NG\020\001\022\016\n\nJOB_PAUSED\020\002\022\021\n\rJOB_COMPLETED\020\003\022" + "\035\n\031JOB_COMPLETED_WITH_ERRORS\020\004*1\n\007JobTyp" + "e\022\022\n\016JOB_CSV_IMPORT\020\000\022\022\n\016JOB_CSV_EXPORT\020" + "\001BG\n\020com.passkit.grpcZ$stash.passkit.com" + "/io/model/sdk/go/io\252\002\014PassKit.Grpcb\006prot" + "o3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.passkit.grpc.Protocols.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), }); internal_static_io_Job_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_io_Job_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_Job_descriptor, new java.lang.String[] { "Id", "Username", "Protocol", "Status", "Type", "Schedule", "Created", "Updated", "FirstRun", "FinalRun", "NextRun", "LastRun", }); internal_static_io_CompletedJob_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_io_CompletedJob_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_CompletedJob_descriptor, new java.lang.String[] { "Id", "Cid", "Uid", "Protocol", "Type", "Status", "Details", "Completed", "CompletedCsvImport", "CompletedJobOutput", }); internal_static_io_CompletedCsvImport_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_io_CompletedCsvImport_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_CompletedCsvImport_descriptor, new java.lang.String[] { "FileUrl", }); internal_static_io_Schedule_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_io_Schedule_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_Schedule_descriptor, new java.lang.String[] { "CronTabSchedule", "Repeating", "Timezone", "StartTime", "RunUntil", }); internal_static_io_CsvImportRequest_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_io_CsvImportRequest_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_CsvImportRequest_descriptor, new java.lang.String[] { "ClassId", "Protocol", "FileBytes", }); com.passkit.grpc.Protocols.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy