diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-04-15 17:58:14 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-04-15 17:58:14 +0300 |
| commit | 15f46cb9a0de56d751ed98674996358ee2c59066 (patch) | |
| tree | fce2ab2c263f8bb9710cb71751383e272a8e897a /Software/Android_Studio | |
| parent | 3c5f32456c72b26497c05bb35fd64e3c77c6b0f5 (diff) | |
| download | Tango-15f46cb9a0de56d751ed98674996358ee2c59066.tar.gz Tango-15f46cb9a0de56d751ed98674996358ee2c59066.zip | |
Embedded necessary pmr build on android tcc.
Updated DB to latest event types.
Diffstat (limited to 'Software/Android_Studio')
31 files changed, 20856 insertions, 0 deletions
diff --git a/Software/Android_Studio/ColorCapture/app/build.gradle b/Software/Android_Studio/ColorCapture/app/build.gradle index aac081d1c..f21c20695 100644 --- a/Software/Android_Studio/ColorCapture/app/build.gradle +++ b/Software/Android_Studio/ColorCapture/app/build.gradle @@ -85,3 +85,17 @@ dependencies { implementation 'com.github.florent37:shapeofview:1.3.2' } + + +task createPMR(type: Exec, description: 'Update all PMR files') { + + commandLine '..\\..\\Visual_Studio\\Build\\Utilities\\Debug\\proto-tc.exe', '-i', '..\\..\\..\\PMR\\Messages', '-o', 'src\\main\\java', '-l', 'Java', '-c', 'Common,TCC,Integration,Connection' + + ext.output = { + return standardOutput.toString() + } +} + +//tasks.withType(JavaCompile) { +// compileTask -> compileTask.dependsOn createPMR +//} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/colorcapture/bridge/ExternalBridgeScanner.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/colorcapture/bridge/ExternalBridgeScanner.java new file mode 100644 index 000000000..56d2224f4 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/colorcapture/bridge/ExternalBridgeScanner.java @@ -0,0 +1,6 @@ +package com.twine.colorcapture.bridge; + +public class ExternalBridgeScanner +{ + +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/common/ErrorCodeOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/common/ErrorCodeOuterClass.java new file mode 100644 index 000000000..c9af7f875 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/common/ErrorCodeOuterClass.java @@ -0,0 +1,630 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ErrorCode.proto + +package com.twine.tango.pmr.common; + +public final class ErrorCodeOuterClass { + private ErrorCodeOuterClass() {} + 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 Tango.PMR.Common.ErrorCode} + */ + public enum ErrorCode + implements com.google.protobuf.ProtocolMessageEnum { + /** + * <pre> + *General (Needs to be organized) + * </pre> + * + * <code>NONE = 0;</code> + */ + NONE(0), + /** + * <code>GENERAL_ERROR = 1;</code> + */ + GENERAL_ERROR(1), + /** + * <code>BAD_CRC = 2;</code> + */ + BAD_CRC(2), + /** + * <pre> + *Can be returned by SetDigitalOutResponse. + * </pre> + * + * <code>INVALID_DIGITAL_PIN_NUMBER = 3;</code> + */ + INVALID_DIGITAL_PIN_NUMBER(3), + /** + * <pre> + *Should be returned if no ConnectionRequest with a valid password was made. + * </pre> + * + * <code>UNAUTHORIZED_CONNECTION = 4;</code> + */ + UNAUTHORIZED_CONNECTION(4), + /** + * <pre> + *Should be returned to a continuous response when aborted by the requesting client. + * </pre> + * + * <code>CONTINUOUS_RESPONSE_ABORTED = 5;</code> + */ + CONTINUOUS_RESPONSE_ABORTED(5), + /** + * <code>JOB_FAILED = 6;</code> + */ + JOB_FAILED(6), + /** + * <code>INVALID_PARAMETER = 7;</code> + */ + INVALID_PARAMETER(7), + /** + * <pre> + *IO + * </pre> + * + * <code>INVALID_UPLOAD_ID = 1000;</code> + */ + INVALID_UPLOAD_ID(1000), + /** + * <pre> + *Returned by ExecuteProcessResponse when the FileName was not found. + * </pre> + * + * <code>FILE_NOT_FOUND = 1001;</code> + */ + FILE_NOT_FOUND(1001), + /** + * <pre> + *Returned by KillProcessResponse when the process id was not found. + * </pre> + * + * <code>INVALID_PROCESS_ID = 1002;</code> + */ + INVALID_PROCESS_ID(1002), + /** + * <pre> + *Returned by FileChunkUploadResponse when the uploaded file size exceeds the expected Length from FileUploadRequest. + * </pre> + * + * <code>FILE_LENGTH_OUT_OF_RANGE = 1003;</code> + */ + FILE_LENGTH_OUT_OF_RANGE(1003), + /** + * <code>FILE_REQUEST_DISK_ERR = 1004;</code> + */ + FILE_REQUEST_DISK_ERR(1004), + /** + * <code>FILE_REQUEST_INT_ERR = 1005;</code> + */ + FILE_REQUEST_INT_ERR(1005), + /** + * <code>FILE_REQUEST_NOT_READY = 1006;</code> + */ + FILE_REQUEST_NOT_READY(1006), + /** + * <code>FILE_REQUEST_NO_FILE = 1007;</code> + */ + FILE_REQUEST_NO_FILE(1007), + /** + * <code>FILE_REQUEST_NO_PATH = 1008;</code> + */ + FILE_REQUEST_NO_PATH(1008), + /** + * <code>FILE_REQUEST_INVALID_NAME = 1009;</code> + */ + FILE_REQUEST_INVALID_NAME(1009), + /** + * <code>FILE_REQUEST_DENIED = 1010;</code> + */ + FILE_REQUEST_DENIED(1010), + /** + * <code>FILE_REQUEST_EXIST = 1011;</code> + */ + FILE_REQUEST_EXIST(1011), + /** + * <code>FILE_REQUEST_INVALID_OBJECT = 1012;</code> + */ + FILE_REQUEST_INVALID_OBJECT(1012), + /** + * <code>FILE_REQUEST_WRITE_PROTECTED = 1013;</code> + */ + FILE_REQUEST_WRITE_PROTECTED(1013), + /** + * <code>FILE_REQUEST_INVALID_DRIVE = 1014;</code> + */ + FILE_REQUEST_INVALID_DRIVE(1014), + /** + * <code>FILE_REQUEST_NOT_ENABLED = 1015;</code> + */ + FILE_REQUEST_NOT_ENABLED(1015), + /** + * <code>FILE_REQUEST_NO_FILESYSTEM = 1016;</code> + */ + FILE_REQUEST_NO_FILESYSTEM(1016), + /** + * <code>FILE_REQUEST_MKFS_ABORTED = 1017;</code> + */ + FILE_REQUEST_MKFS_ABORTED(1017), + /** + * <code>FILE_REQUEST_TIMEOUT = 1018;</code> + */ + FILE_REQUEST_TIMEOUT(1018), + /** + * <code>FILE_REQUEST_LOCKED = 1019;</code> + */ + FILE_REQUEST_LOCKED(1019), + /** + * <code>FILE_REQUEST_NOT_ENOUGH_CORE = 1020;</code> + */ + FILE_REQUEST_NOT_ENOUGH_CORE(1020), + /** + * <code>FILE_REQUEST_TOO_MANY_OPEN_FILES = 1021;</code> + */ + FILE_REQUEST_TOO_MANY_OPEN_FILES(1021), + /** + * <code>FILE_REQUEST_INVALID_PARAMETER = 1022;</code> + */ + FILE_REQUEST_INVALID_PARAMETER(1022), + /** + * <pre> + *Job Failure + * </pre> + * + * <code>JOB_UNSPECIFIED_ERROR = 2000;</code> + */ + JOB_UNSPECIFIED_ERROR(2000), + /** + * <code>JOB_THREAD_BREAK = 2001;</code> + */ + JOB_THREAD_BREAK(2001), + /** + * <code>JOB_WINDER_DANCER_FAIL = 2002;</code> + */ + JOB_WINDER_DANCER_FAIL(2002), + /** + * <code>JOB_POOLER_DANCER_FAIL = 2003;</code> + */ + JOB_POOLER_DANCER_FAIL(2003), + /** + * <code>JOB_FEEDER_DANCER_FAIL = 2004;</code> + */ + JOB_FEEDER_DANCER_FAIL(2004), + /** + * <code>JOB_OUT_OF_DYE = 2005;</code> + */ + JOB_OUT_OF_DYE(2005), + /** + * <code>JOB_OTHER_ALARM = 2006;</code> + */ + JOB_OTHER_ALARM(2006), + /** + * <pre> + *Occurs when ResumeCurrentJobRequest was called but no job is in progress. + * </pre> + * + * <code>NO_JOB_IN_PROGRESS = 2007;</code> + */ + NO_JOB_IN_PROGRESS(2007), + /** + * <code>JOB_TEMPERATURE_ALARM = 2008;</code> + */ + JOB_TEMPERATURE_ALARM(2008), + /** + * <code>JOB_LS_ALARM = 2009;</code> + */ + JOB_LS_ALARM(2009), + /** + * <code>JOB_PRESSURE_ALARM = 2010;</code> + */ + JOB_PRESSURE_ALARM(2010), + /** + * <code>JOB_CURRENT_ALARM = 2011;</code> + */ + JOB_CURRENT_ALARM(2011), + /** + * <code>JOB_MOTOR_ALARM = 2012;</code> + */ + JOB_MOTOR_ALARM(2012), + UNRECOGNIZED(-1), + ; + + /** + * <pre> + *General (Needs to be organized) + * </pre> + * + * <code>NONE = 0;</code> + */ + public static final int NONE_VALUE = 0; + /** + * <code>GENERAL_ERROR = 1;</code> + */ + public static final int GENERAL_ERROR_VALUE = 1; + /** + * <code>BAD_CRC = 2;</code> + */ + public static final int BAD_CRC_VALUE = 2; + /** + * <pre> + *Can be returned by SetDigitalOutResponse. + * </pre> + * + * <code>INVALID_DIGITAL_PIN_NUMBER = 3;</code> + */ + public static final int INVALID_DIGITAL_PIN_NUMBER_VALUE = 3; + /** + * <pre> + *Should be returned if no ConnectionRequest with a valid password was made. + * </pre> + * + * <code>UNAUTHORIZED_CONNECTION = 4;</code> + */ + public static final int UNAUTHORIZED_CONNECTION_VALUE = 4; + /** + * <pre> + *Should be returned to a continuous response when aborted by the requesting client. + * </pre> + * + * <code>CONTINUOUS_RESPONSE_ABORTED = 5;</code> + */ + public static final int CONTINUOUS_RESPONSE_ABORTED_VALUE = 5; + /** + * <code>JOB_FAILED = 6;</code> + */ + public static final int JOB_FAILED_VALUE = 6; + /** + * <code>INVALID_PARAMETER = 7;</code> + */ + public static final int INVALID_PARAMETER_VALUE = 7; + /** + * <pre> + *IO + * </pre> + * + * <code>INVALID_UPLOAD_ID = 1000;</code> + */ + public static final int INVALID_UPLOAD_ID_VALUE = 1000; + /** + * <pre> + *Returned by ExecuteProcessResponse when the FileName was not found. + * </pre> + * + * <code>FILE_NOT_FOUND = 1001;</code> + */ + public static final int FILE_NOT_FOUND_VALUE = 1001; + /** + * <pre> + *Returned by KillProcessResponse when the process id was not found. + * </pre> + * + * <code>INVALID_PROCESS_ID = 1002;</code> + */ + public static final int INVALID_PROCESS_ID_VALUE = 1002; + /** + * <pre> + *Returned by FileChunkUploadResponse when the uploaded file size exceeds the expected Length from FileUploadRequest. + * </pre> + * + * <code>FILE_LENGTH_OUT_OF_RANGE = 1003;</code> + */ + public static final int FILE_LENGTH_OUT_OF_RANGE_VALUE = 1003; + /** + * <code>FILE_REQUEST_DISK_ERR = 1004;</code> + */ + public static final int FILE_REQUEST_DISK_ERR_VALUE = 1004; + /** + * <code>FILE_REQUEST_INT_ERR = 1005;</code> + */ + public static final int FILE_REQUEST_INT_ERR_VALUE = 1005; + /** + * <code>FILE_REQUEST_NOT_READY = 1006;</code> + */ + public static final int FILE_REQUEST_NOT_READY_VALUE = 1006; + /** + * <code>FILE_REQUEST_NO_FILE = 1007;</code> + */ + public static final int FILE_REQUEST_NO_FILE_VALUE = 1007; + /** + * <code>FILE_REQUEST_NO_PATH = 1008;</code> + */ + public static final int FILE_REQUEST_NO_PATH_VALUE = 1008; + /** + * <code>FILE_REQUEST_INVALID_NAME = 1009;</code> + */ + public static final int FILE_REQUEST_INVALID_NAME_VALUE = 1009; + /** + * <code>FILE_REQUEST_DENIED = 1010;</code> + */ + public static final int FILE_REQUEST_DENIED_VALUE = 1010; + /** + * <code>FILE_REQUEST_EXIST = 1011;</code> + */ + public static final int FILE_REQUEST_EXIST_VALUE = 1011; + /** + * <code>FILE_REQUEST_INVALID_OBJECT = 1012;</code> + */ + public static final int FILE_REQUEST_INVALID_OBJECT_VALUE = 1012; + /** + * <code>FILE_REQUEST_WRITE_PROTECTED = 1013;</code> + */ + public static final int FILE_REQUEST_WRITE_PROTECTED_VALUE = 1013; + /** + * <code>FILE_REQUEST_INVALID_DRIVE = 1014;</code> + */ + public static final int FILE_REQUEST_INVALID_DRIVE_VALUE = 1014; + /** + * <code>FILE_REQUEST_NOT_ENABLED = 1015;</code> + */ + public static final int FILE_REQUEST_NOT_ENABLED_VALUE = 1015; + /** + * <code>FILE_REQUEST_NO_FILESYSTEM = 1016;</code> + */ + public static final int FILE_REQUEST_NO_FILESYSTEM_VALUE = 1016; + /** + * <code>FILE_REQUEST_MKFS_ABORTED = 1017;</code> + */ + public static final int FILE_REQUEST_MKFS_ABORTED_VALUE = 1017; + /** + * <code>FILE_REQUEST_TIMEOUT = 1018;</code> + */ + public static final int FILE_REQUEST_TIMEOUT_VALUE = 1018; + /** + * <code>FILE_REQUEST_LOCKED = 1019;</code> + */ + public static final int FILE_REQUEST_LOCKED_VALUE = 1019; + /** + * <code>FILE_REQUEST_NOT_ENOUGH_CORE = 1020;</code> + */ + public static final int FILE_REQUEST_NOT_ENOUGH_CORE_VALUE = 1020; + /** + * <code>FILE_REQUEST_TOO_MANY_OPEN_FILES = 1021;</code> + */ + public static final int FILE_REQUEST_TOO_MANY_OPEN_FILES_VALUE = 1021; + /** + * <code>FILE_REQUEST_INVALID_PARAMETER = 1022;</code> + */ + public static final int FILE_REQUEST_INVALID_PARAMETER_VALUE = 1022; + /** + * <pre> + *Job Failure + * </pre> + * + * <code>JOB_UNSPECIFIED_ERROR = 2000;</code> + */ + public static final int JOB_UNSPECIFIED_ERROR_VALUE = 2000; + /** + * <code>JOB_THREAD_BREAK = 2001;</code> + */ + public static final int JOB_THREAD_BREAK_VALUE = 2001; + /** + * <code>JOB_WINDER_DANCER_FAIL = 2002;</code> + */ + public static final int JOB_WINDER_DANCER_FAIL_VALUE = 2002; + /** + * <code>JOB_POOLER_DANCER_FAIL = 2003;</code> + */ + public static final int JOB_POOLER_DANCER_FAIL_VALUE = 2003; + /** + * <code>JOB_FEEDER_DANCER_FAIL = 2004;</code> + */ + public static final int JOB_FEEDER_DANCER_FAIL_VALUE = 2004; + /** + * <code>JOB_OUT_OF_DYE = 2005;</code> + */ + public static final int JOB_OUT_OF_DYE_VALUE = 2005; + /** + * <code>JOB_OTHER_ALARM = 2006;</code> + */ + public static final int JOB_OTHER_ALARM_VALUE = 2006; + /** + * <pre> + *Occurs when ResumeCurrentJobRequest was called but no job is in progress. + * </pre> + * + * <code>NO_JOB_IN_PROGRESS = 2007;</code> + */ + public static final int NO_JOB_IN_PROGRESS_VALUE = 2007; + /** + * <code>JOB_TEMPERATURE_ALARM = 2008;</code> + */ + public static final int JOB_TEMPERATURE_ALARM_VALUE = 2008; + /** + * <code>JOB_LS_ALARM = 2009;</code> + */ + public static final int JOB_LS_ALARM_VALUE = 2009; + /** + * <code>JOB_PRESSURE_ALARM = 2010;</code> + */ + public static final int JOB_PRESSURE_ALARM_VALUE = 2010; + /** + * <code>JOB_CURRENT_ALARM = 2011;</code> + */ + public static final int JOB_CURRENT_ALARM_VALUE = 2011; + /** + * <code>JOB_MOTOR_ALARM = 2012;</code> + */ + public static final int JOB_MOTOR_ALARM_VALUE = 2012; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ErrorCode valueOf(int value) { + return forNumber(value); + } + + public static ErrorCode forNumber(int value) { + switch (value) { + case 0: return NONE; + case 1: return GENERAL_ERROR; + case 2: return BAD_CRC; + case 3: return INVALID_DIGITAL_PIN_NUMBER; + case 4: return UNAUTHORIZED_CONNECTION; + case 5: return CONTINUOUS_RESPONSE_ABORTED; + case 6: return JOB_FAILED; + case 7: return INVALID_PARAMETER; + case 1000: return INVALID_UPLOAD_ID; + case 1001: return FILE_NOT_FOUND; + case 1002: return INVALID_PROCESS_ID; + case 1003: return FILE_LENGTH_OUT_OF_RANGE; + case 1004: return FILE_REQUEST_DISK_ERR; + case 1005: return FILE_REQUEST_INT_ERR; + case 1006: return FILE_REQUEST_NOT_READY; + case 1007: return FILE_REQUEST_NO_FILE; + case 1008: return FILE_REQUEST_NO_PATH; + case 1009: return FILE_REQUEST_INVALID_NAME; + case 1010: return FILE_REQUEST_DENIED; + case 1011: return FILE_REQUEST_EXIST; + case 1012: return FILE_REQUEST_INVALID_OBJECT; + case 1013: return FILE_REQUEST_WRITE_PROTECTED; + case 1014: return FILE_REQUEST_INVALID_DRIVE; + case 1015: return FILE_REQUEST_NOT_ENABLED; + case 1016: return FILE_REQUEST_NO_FILESYSTEM; + case 1017: return FILE_REQUEST_MKFS_ABORTED; + case 1018: return FILE_REQUEST_TIMEOUT; + case 1019: return FILE_REQUEST_LOCKED; + case 1020: return FILE_REQUEST_NOT_ENOUGH_CORE; + case 1021: return FILE_REQUEST_TOO_MANY_OPEN_FILES; + case 1022: return FILE_REQUEST_INVALID_PARAMETER; + case 2000: return JOB_UNSPECIFIED_ERROR; + case 2001: return JOB_THREAD_BREAK; + case 2002: return JOB_WINDER_DANCER_FAIL; + case 2003: return JOB_POOLER_DANCER_FAIL; + case 2004: return JOB_FEEDER_DANCER_FAIL; + case 2005: return JOB_OUT_OF_DYE; + case 2006: return JOB_OTHER_ALARM; + case 2007: return NO_JOB_IN_PROGRESS; + case 2008: return JOB_TEMPERATURE_ALARM; + case 2009: return JOB_LS_ALARM; + case 2010: return JOB_PRESSURE_ALARM; + case 2011: return JOB_CURRENT_ALARM; + case 2012: return JOB_MOTOR_ALARM; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap<ErrorCode> + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ErrorCode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap<ErrorCode>() { + public ErrorCode findValueByNumber(int number) { + return ErrorCode.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + 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.twine.tango.pmr.common.ErrorCodeOuterClass.getDescriptor().getEnumTypes().get(0); + } + + private static final ErrorCode[] VALUES = values(); + + public static ErrorCode 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 ErrorCode(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:Tango.PMR.Common.ErrorCode) + } + + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\017ErrorCode.proto\022\020Tango.PMR.Common*\252\t\n\t" + + "ErrorCode\022\010\n\004NONE\020\000\022\021\n\rGENERAL_ERROR\020\001\022\013" + + "\n\007BAD_CRC\020\002\022\036\n\032INVALID_DIGITAL_PIN_NUMBE" + + "R\020\003\022\033\n\027UNAUTHORIZED_CONNECTION\020\004\022\037\n\033CONT" + + "INUOUS_RESPONSE_ABORTED\020\005\022\016\n\nJOB_FAILED\020" + + "\006\022\025\n\021INVALID_PARAMETER\020\007\022\026\n\021INVALID_UPLO" + + "AD_ID\020\350\007\022\023\n\016FILE_NOT_FOUND\020\351\007\022\027\n\022INVALID" + + "_PROCESS_ID\020\352\007\022\035\n\030FILE_LENGTH_OUT_OF_RAN" + + "GE\020\353\007\022\032\n\025FILE_REQUEST_DISK_ERR\020\354\007\022\031\n\024FIL" + + "E_REQUEST_INT_ERR\020\355\007\022\033\n\026FILE_REQUEST_NOT", + "_READY\020\356\007\022\031\n\024FILE_REQUEST_NO_FILE\020\357\007\022\031\n\024" + + "FILE_REQUEST_NO_PATH\020\360\007\022\036\n\031FILE_REQUEST_" + + "INVALID_NAME\020\361\007\022\030\n\023FILE_REQUEST_DENIED\020\362" + + "\007\022\027\n\022FILE_REQUEST_EXIST\020\363\007\022 \n\033FILE_REQUE" + + "ST_INVALID_OBJECT\020\364\007\022!\n\034FILE_REQUEST_WRI" + + "TE_PROTECTED\020\365\007\022\037\n\032FILE_REQUEST_INVALID_" + + "DRIVE\020\366\007\022\035\n\030FILE_REQUEST_NOT_ENABLED\020\367\007\022" + + "\037\n\032FILE_REQUEST_NO_FILESYSTEM\020\370\007\022\036\n\031FILE" + + "_REQUEST_MKFS_ABORTED\020\371\007\022\031\n\024FILE_REQUEST" + + "_TIMEOUT\020\372\007\022\030\n\023FILE_REQUEST_LOCKED\020\373\007\022!\n", + "\034FILE_REQUEST_NOT_ENOUGH_CORE\020\374\007\022%\n FILE" + + "_REQUEST_TOO_MANY_OPEN_FILES\020\375\007\022#\n\036FILE_" + + "REQUEST_INVALID_PARAMETER\020\376\007\022\032\n\025JOB_UNSP" + + "ECIFIED_ERROR\020\320\017\022\025\n\020JOB_THREAD_BREAK\020\321\017\022" + + "\033\n\026JOB_WINDER_DANCER_FAIL\020\322\017\022\033\n\026JOB_POOL" + + "ER_DANCER_FAIL\020\323\017\022\033\n\026JOB_FEEDER_DANCER_F" + + "AIL\020\324\017\022\023\n\016JOB_OUT_OF_DYE\020\325\017\022\024\n\017JOB_OTHER" + + "_ALARM\020\326\017\022\027\n\022NO_JOB_IN_PROGRESS\020\327\017\022\032\n\025JO" + + "B_TEMPERATURE_ALARM\020\330\017\022\021\n\014JOB_LS_ALARM\020\331" + + "\017\022\027\n\022JOB_PRESSURE_ALARM\020\332\017\022\026\n\021JOB_CURREN", + "T_ALARM\020\333\017\022\024\n\017JOB_MOTOR_ALARM\020\334\017B\034\n\032com." + + "twine.tango.pmr.commonb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/common/ErrorResponseOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/common/ErrorResponseOuterClass.java new file mode 100644 index 000000000..a214acca5 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/common/ErrorResponseOuterClass.java @@ -0,0 +1,440 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ErrorResponse.proto + +package com.twine.tango.pmr.common; + +public final class ErrorResponseOuterClass { + private ErrorResponseOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface ErrorResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Common.ErrorResponse) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code Tango.PMR.Common.ErrorResponse} + */ + public static final class ErrorResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Common.ErrorResponse) + ErrorResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ErrorResponse.newBuilder() to construct. + private ErrorResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private ErrorResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ErrorResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + 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.twine.tango.pmr.common.ErrorResponseOuterClass.internal_static_Tango_PMR_Common_ErrorResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.common.ErrorResponseOuterClass.internal_static_Tango_PMR_Common_ErrorResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse.class, com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse)) { + return super.equals(obj); + } + com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse other = (com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse) obj; + + boolean result = true; + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse 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.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse 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.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Common.ErrorResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Common.ErrorResponse) + com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.common.ErrorResponseOuterClass.internal_static_Tango_PMR_Common_ErrorResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.common.ErrorResponseOuterClass.internal_static_Tango_PMR_Common_ErrorResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse.class, com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse.Builder.class); + } + + // Construct using com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.common.ErrorResponseOuterClass.internal_static_Tango_PMR_Common_ErrorResponse_descriptor; + } + + public com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse getDefaultInstanceForType() { + return com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse.getDefaultInstance(); + } + + public com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse build() { + com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse buildPartial() { + com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse result = new com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse(this); + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse) { + return mergeFrom((com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse other) { + if (other == com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Common.ErrorResponse) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Common.ErrorResponse) + private static final com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse(); + } + + public static com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<ErrorResponse> + PARSER = new com.google.protobuf.AbstractParser<ErrorResponse>() { + public ErrorResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ErrorResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<ErrorResponse> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<ErrorResponse> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.common.ErrorResponseOuterClass.ErrorResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Common_ErrorResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Common_ErrorResponse_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\023ErrorResponse.proto\022\020Tango.PMR.Common\"" + + "\017\n\rErrorResponseB\034\n\032com.twine.tango.pmr." + + "commonb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + internal_static_Tango_PMR_Common_ErrorResponse_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Common_ErrorResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Common_ErrorResponse_descriptor, + new java.lang.String[] { }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/common/MessageContainerOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/common/MessageContainerOuterClass.java new file mode 100644 index 000000000..1d43e553b --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/common/MessageContainerOuterClass.java @@ -0,0 +1,1293 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: MessageContainer.proto + +package com.twine.tango.pmr.common; + +public final class MessageContainerOuterClass { + private MessageContainerOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface MessageContainerOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Common.MessageContainer) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>.Tango.PMR.Common.MessageType Type = 1;</code> + */ + int getTypeValue(); + /** + * <code>.Tango.PMR.Common.MessageType Type = 1;</code> + */ + com.twine.tango.pmr.common.MessageTypeOuterClass.MessageType getType(); + + /** + * <code>string Token = 2;</code> + */ + java.lang.String getToken(); + /** + * <code>string Token = 2;</code> + */ + com.google.protobuf.ByteString + getTokenBytes(); + + /** + * <code>uint32 Timeout = 3;</code> + */ + int getTimeout(); + + /** + * <code>bool Continuous = 4;</code> + */ + boolean getContinuous(); + + /** + * <code>uint32 ContinuousTimeout = 5;</code> + */ + int getContinuousTimeout(); + + /** + * <code>bool Completed = 6;</code> + */ + boolean getCompleted(); + + /** + * <code>bytes Data = 7;</code> + */ + com.google.protobuf.ByteString getData(); + + /** + * <code>uint32 CRC = 8;</code> + */ + int getCRC(); + + /** + * <code>.Tango.PMR.Common.ErrorCode Error = 9;</code> + */ + int getErrorValue(); + /** + * <code>.Tango.PMR.Common.ErrorCode Error = 9;</code> + */ + com.twine.tango.pmr.common.ErrorCodeOuterClass.ErrorCode getError(); + + /** + * <code>string ErrorMessage = 10;</code> + */ + java.lang.String getErrorMessage(); + /** + * <code>string ErrorMessage = 10;</code> + */ + com.google.protobuf.ByteString + getErrorMessageBytes(); + } + /** + * Protobuf type {@code Tango.PMR.Common.MessageContainer} + */ + public static final class MessageContainer extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Common.MessageContainer) + MessageContainerOrBuilder { + private static final long serialVersionUID = 0L; + // Use MessageContainer.newBuilder() to construct. + private MessageContainer(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private MessageContainer() { + type_ = 0; + token_ = ""; + timeout_ = 0; + continuous_ = false; + continuousTimeout_ = 0; + completed_ = false; + data_ = com.google.protobuf.ByteString.EMPTY; + cRC_ = 0; + error_ = 0; + errorMessage_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private MessageContainer( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + int rawValue = input.readEnum(); + + type_ = rawValue; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + token_ = s; + break; + } + case 24: { + + timeout_ = input.readUInt32(); + break; + } + case 32: { + + continuous_ = input.readBool(); + break; + } + case 40: { + + continuousTimeout_ = input.readUInt32(); + break; + } + case 48: { + + completed_ = input.readBool(); + break; + } + case 58: { + + data_ = input.readBytes(); + break; + } + case 64: { + + cRC_ = input.readUInt32(); + break; + } + case 72: { + int rawValue = input.readEnum(); + + error_ = rawValue; + break; + } + case 82: { + java.lang.String s = input.readStringRequireUtf8(); + + errorMessage_ = s; + 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.twine.tango.pmr.common.MessageContainerOuterClass.internal_static_Tango_PMR_Common_MessageContainer_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.common.MessageContainerOuterClass.internal_static_Tango_PMR_Common_MessageContainer_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer.class, com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer.Builder.class); + } + + public static final int TYPE_FIELD_NUMBER = 1; + private int type_; + /** + * <code>.Tango.PMR.Common.MessageType Type = 1;</code> + */ + public int getTypeValue() { + return type_; + } + /** + * <code>.Tango.PMR.Common.MessageType Type = 1;</code> + */ + public com.twine.tango.pmr.common.MessageTypeOuterClass.MessageType getType() { + com.twine.tango.pmr.common.MessageTypeOuterClass.MessageType result = com.twine.tango.pmr.common.MessageTypeOuterClass.MessageType.valueOf(type_); + return result == null ? com.twine.tango.pmr.common.MessageTypeOuterClass.MessageType.UNRECOGNIZED : result; + } + + public static final int TOKEN_FIELD_NUMBER = 2; + private volatile java.lang.Object token_; + /** + * <code>string Token = 2;</code> + */ + public java.lang.String getToken() { + java.lang.Object ref = token_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + token_ = s; + return s; + } + } + /** + * <code>string Token = 2;</code> + */ + public com.google.protobuf.ByteString + getTokenBytes() { + java.lang.Object ref = token_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + token_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TIMEOUT_FIELD_NUMBER = 3; + private int timeout_; + /** + * <code>uint32 Timeout = 3;</code> + */ + public int getTimeout() { + return timeout_; + } + + public static final int CONTINUOUS_FIELD_NUMBER = 4; + private boolean continuous_; + /** + * <code>bool Continuous = 4;</code> + */ + public boolean getContinuous() { + return continuous_; + } + + public static final int CONTINUOUSTIMEOUT_FIELD_NUMBER = 5; + private int continuousTimeout_; + /** + * <code>uint32 ContinuousTimeout = 5;</code> + */ + public int getContinuousTimeout() { + return continuousTimeout_; + } + + public static final int COMPLETED_FIELD_NUMBER = 6; + private boolean completed_; + /** + * <code>bool Completed = 6;</code> + */ + public boolean getCompleted() { + return completed_; + } + + public static final int DATA_FIELD_NUMBER = 7; + private com.google.protobuf.ByteString data_; + /** + * <code>bytes Data = 7;</code> + */ + public com.google.protobuf.ByteString getData() { + return data_; + } + + public static final int CRC_FIELD_NUMBER = 8; + private int cRC_; + /** + * <code>uint32 CRC = 8;</code> + */ + public int getCRC() { + return cRC_; + } + + public static final int ERROR_FIELD_NUMBER = 9; + private int error_; + /** + * <code>.Tango.PMR.Common.ErrorCode Error = 9;</code> + */ + public int getErrorValue() { + return error_; + } + /** + * <code>.Tango.PMR.Common.ErrorCode Error = 9;</code> + */ + public com.twine.tango.pmr.common.ErrorCodeOuterClass.ErrorCode getError() { + com.twine.tango.pmr.common.ErrorCodeOuterClass.ErrorCode result = com.twine.tango.pmr.common.ErrorCodeOuterClass.ErrorCode.valueOf(error_); + return result == null ? com.twine.tango.pmr.common.ErrorCodeOuterClass.ErrorCode.UNRECOGNIZED : result; + } + + public static final int ERRORMESSAGE_FIELD_NUMBER = 10; + private volatile java.lang.Object errorMessage_; + /** + * <code>string ErrorMessage = 10;</code> + */ + public java.lang.String getErrorMessage() { + java.lang.Object ref = errorMessage_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errorMessage_ = s; + return s; + } + } + /** + * <code>string ErrorMessage = 10;</code> + */ + public com.google.protobuf.ByteString + getErrorMessageBytes() { + java.lang.Object ref = errorMessage_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (type_ != com.twine.tango.pmr.common.MessageTypeOuterClass.MessageType.None.getNumber()) { + output.writeEnum(1, type_); + } + if (!getTokenBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, token_); + } + if (timeout_ != 0) { + output.writeUInt32(3, timeout_); + } + if (continuous_ != false) { + output.writeBool(4, continuous_); + } + if (continuousTimeout_ != 0) { + output.writeUInt32(5, continuousTimeout_); + } + if (completed_ != false) { + output.writeBool(6, completed_); + } + if (!data_.isEmpty()) { + output.writeBytes(7, data_); + } + if (cRC_ != 0) { + output.writeUInt32(8, cRC_); + } + if (error_ != com.twine.tango.pmr.common.ErrorCodeOuterClass.ErrorCode.NONE.getNumber()) { + output.writeEnum(9, error_); + } + if (!getErrorMessageBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 10, errorMessage_); + } + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (type_ != com.twine.tango.pmr.common.MessageTypeOuterClass.MessageType.None.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, type_); + } + if (!getTokenBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, token_); + } + if (timeout_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(3, timeout_); + } + if (continuous_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(4, continuous_); + } + if (continuousTimeout_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(5, continuousTimeout_); + } + if (completed_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, completed_); + } + if (!data_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(7, data_); + } + if (cRC_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeUInt32Size(8, cRC_); + } + if (error_ != com.twine.tango.pmr.common.ErrorCodeOuterClass.ErrorCode.NONE.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, error_); + } + if (!getErrorMessageBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, errorMessage_); + } + 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.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer)) { + return super.equals(obj); + } + com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer other = (com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer) obj; + + boolean result = true; + result = result && type_ == other.type_; + result = result && getToken() + .equals(other.getToken()); + result = result && (getTimeout() + == other.getTimeout()); + result = result && (getContinuous() + == other.getContinuous()); + result = result && (getContinuousTimeout() + == other.getContinuousTimeout()); + result = result && (getCompleted() + == other.getCompleted()); + result = result && getData() + .equals(other.getData()); + result = result && (getCRC() + == other.getCRC()); + result = result && error_ == other.error_; + result = result && getErrorMessage() + .equals(other.getErrorMessage()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + type_; + hash = (37 * hash) + TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getToken().hashCode(); + hash = (37 * hash) + TIMEOUT_FIELD_NUMBER; + hash = (53 * hash) + getTimeout(); + hash = (37 * hash) + CONTINUOUS_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getContinuous()); + hash = (37 * hash) + CONTINUOUSTIMEOUT_FIELD_NUMBER; + hash = (53 * hash) + getContinuousTimeout(); + hash = (37 * hash) + COMPLETED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getCompleted()); + hash = (37 * hash) + DATA_FIELD_NUMBER; + hash = (53 * hash) + getData().hashCode(); + hash = (37 * hash) + CRC_FIELD_NUMBER; + hash = (53 * hash) + getCRC(); + hash = (37 * hash) + ERROR_FIELD_NUMBER; + hash = (53 * hash) + error_; + hash = (37 * hash) + ERRORMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getErrorMessage().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer 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.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer 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.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Common.MessageContainer} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Common.MessageContainer) + com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainerOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.common.MessageContainerOuterClass.internal_static_Tango_PMR_Common_MessageContainer_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.common.MessageContainerOuterClass.internal_static_Tango_PMR_Common_MessageContainer_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer.class, com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer.Builder.class); + } + + // Construct using com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + type_ = 0; + + token_ = ""; + + timeout_ = 0; + + continuous_ = false; + + continuousTimeout_ = 0; + + completed_ = false; + + data_ = com.google.protobuf.ByteString.EMPTY; + + cRC_ = 0; + + error_ = 0; + + errorMessage_ = ""; + + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.common.MessageContainerOuterClass.internal_static_Tango_PMR_Common_MessageContainer_descriptor; + } + + public com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer getDefaultInstanceForType() { + return com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer.getDefaultInstance(); + } + + public com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer build() { + com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer buildPartial() { + com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer result = new com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer(this); + result.type_ = type_; + result.token_ = token_; + result.timeout_ = timeout_; + result.continuous_ = continuous_; + result.continuousTimeout_ = continuousTimeout_; + result.completed_ = completed_; + result.data_ = data_; + result.cRC_ = cRC_; + result.error_ = error_; + result.errorMessage_ = errorMessage_; + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer) { + return mergeFrom((com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer other) { + if (other == com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer.getDefaultInstance()) return this; + if (other.type_ != 0) { + setTypeValue(other.getTypeValue()); + } + if (!other.getToken().isEmpty()) { + token_ = other.token_; + onChanged(); + } + if (other.getTimeout() != 0) { + setTimeout(other.getTimeout()); + } + if (other.getContinuous() != false) { + setContinuous(other.getContinuous()); + } + if (other.getContinuousTimeout() != 0) { + setContinuousTimeout(other.getContinuousTimeout()); + } + if (other.getCompleted() != false) { + setCompleted(other.getCompleted()); + } + if (other.getData() != com.google.protobuf.ByteString.EMPTY) { + setData(other.getData()); + } + if (other.getCRC() != 0) { + setCRC(other.getCRC()); + } + if (other.error_ != 0) { + setErrorValue(other.getErrorValue()); + } + if (!other.getErrorMessage().isEmpty()) { + errorMessage_ = other.errorMessage_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int type_ = 0; + /** + * <code>.Tango.PMR.Common.MessageType Type = 1;</code> + */ + public int getTypeValue() { + return type_; + } + /** + * <code>.Tango.PMR.Common.MessageType Type = 1;</code> + */ + public Builder setTypeValue(int value) { + type_ = value; + onChanged(); + return this; + } + /** + * <code>.Tango.PMR.Common.MessageType Type = 1;</code> + */ + public com.twine.tango.pmr.common.MessageTypeOuterClass.MessageType getType() { + com.twine.tango.pmr.common.MessageTypeOuterClass.MessageType result = com.twine.tango.pmr.common.MessageTypeOuterClass.MessageType.valueOf(type_); + return result == null ? com.twine.tango.pmr.common.MessageTypeOuterClass.MessageType.UNRECOGNIZED : result; + } + /** + * <code>.Tango.PMR.Common.MessageType Type = 1;</code> + */ + public Builder setType(com.twine.tango.pmr.common.MessageTypeOuterClass.MessageType value) { + if (value == null) { + throw new NullPointerException(); + } + + type_ = value.getNumber(); + onChanged(); + return this; + } + /** + * <code>.Tango.PMR.Common.MessageType Type = 1;</code> + */ + public Builder clearType() { + + type_ = 0; + onChanged(); + return this; + } + + private java.lang.Object token_ = ""; + /** + * <code>string Token = 2;</code> + */ + public java.lang.String getToken() { + java.lang.Object ref = token_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + token_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>string Token = 2;</code> + */ + public com.google.protobuf.ByteString + getTokenBytes() { + java.lang.Object ref = token_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + token_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>string Token = 2;</code> + */ + public Builder setToken( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + token_ = value; + onChanged(); + return this; + } + /** + * <code>string Token = 2;</code> + */ + public Builder clearToken() { + + token_ = getDefaultInstance().getToken(); + onChanged(); + return this; + } + /** + * <code>string Token = 2;</code> + */ + public Builder setTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + token_ = value; + onChanged(); + return this; + } + + private int timeout_ ; + /** + * <code>uint32 Timeout = 3;</code> + */ + public int getTimeout() { + return timeout_; + } + /** + * <code>uint32 Timeout = 3;</code> + */ + public Builder setTimeout(int value) { + + timeout_ = value; + onChanged(); + return this; + } + /** + * <code>uint32 Timeout = 3;</code> + */ + public Builder clearTimeout() { + + timeout_ = 0; + onChanged(); + return this; + } + + private boolean continuous_ ; + /** + * <code>bool Continuous = 4;</code> + */ + public boolean getContinuous() { + return continuous_; + } + /** + * <code>bool Continuous = 4;</code> + */ + public Builder setContinuous(boolean value) { + + continuous_ = value; + onChanged(); + return this; + } + /** + * <code>bool Continuous = 4;</code> + */ + public Builder clearContinuous() { + + continuous_ = false; + onChanged(); + return this; + } + + private int continuousTimeout_ ; + /** + * <code>uint32 ContinuousTimeout = 5;</code> + */ + public int getContinuousTimeout() { + return continuousTimeout_; + } + /** + * <code>uint32 ContinuousTimeout = 5;</code> + */ + public Builder setContinuousTimeout(int value) { + + continuousTimeout_ = value; + onChanged(); + return this; + } + /** + * <code>uint32 ContinuousTimeout = 5;</code> + */ + public Builder clearContinuousTimeout() { + + continuousTimeout_ = 0; + onChanged(); + return this; + } + + private boolean completed_ ; + /** + * <code>bool Completed = 6;</code> + */ + public boolean getCompleted() { + return completed_; + } + /** + * <code>bool Completed = 6;</code> + */ + public Builder setCompleted(boolean value) { + + completed_ = value; + onChanged(); + return this; + } + /** + * <code>bool Completed = 6;</code> + */ + public Builder clearCompleted() { + + completed_ = false; + onChanged(); + return this; + } + + private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; + /** + * <code>bytes Data = 7;</code> + */ + public com.google.protobuf.ByteString getData() { + return data_; + } + /** + * <code>bytes Data = 7;</code> + */ + public Builder setData(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + data_ = value; + onChanged(); + return this; + } + /** + * <code>bytes Data = 7;</code> + */ + public Builder clearData() { + + data_ = getDefaultInstance().getData(); + onChanged(); + return this; + } + + private int cRC_ ; + /** + * <code>uint32 CRC = 8;</code> + */ + public int getCRC() { + return cRC_; + } + /** + * <code>uint32 CRC = 8;</code> + */ + public Builder setCRC(int value) { + + cRC_ = value; + onChanged(); + return this; + } + /** + * <code>uint32 CRC = 8;</code> + */ + public Builder clearCRC() { + + cRC_ = 0; + onChanged(); + return this; + } + + private int error_ = 0; + /** + * <code>.Tango.PMR.Common.ErrorCode Error = 9;</code> + */ + public int getErrorValue() { + return error_; + } + /** + * <code>.Tango.PMR.Common.ErrorCode Error = 9;</code> + */ + public Builder setErrorValue(int value) { + error_ = value; + onChanged(); + return this; + } + /** + * <code>.Tango.PMR.Common.ErrorCode Error = 9;</code> + */ + public com.twine.tango.pmr.common.ErrorCodeOuterClass.ErrorCode getError() { + com.twine.tango.pmr.common.ErrorCodeOuterClass.ErrorCode result = com.twine.tango.pmr.common.ErrorCodeOuterClass.ErrorCode.valueOf(error_); + return result == null ? com.twine.tango.pmr.common.ErrorCodeOuterClass.ErrorCode.UNRECOGNIZED : result; + } + /** + * <code>.Tango.PMR.Common.ErrorCode Error = 9;</code> + */ + public Builder setError(com.twine.tango.pmr.common.ErrorCodeOuterClass.ErrorCode value) { + if (value == null) { + throw new NullPointerException(); + } + + error_ = value.getNumber(); + onChanged(); + return this; + } + /** + * <code>.Tango.PMR.Common.ErrorCode Error = 9;</code> + */ + public Builder clearError() { + + error_ = 0; + onChanged(); + return this; + } + + private java.lang.Object errorMessage_ = ""; + /** + * <code>string ErrorMessage = 10;</code> + */ + public java.lang.String getErrorMessage() { + java.lang.Object ref = errorMessage_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errorMessage_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>string ErrorMessage = 10;</code> + */ + public com.google.protobuf.ByteString + getErrorMessageBytes() { + java.lang.Object ref = errorMessage_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>string ErrorMessage = 10;</code> + */ + public Builder setErrorMessage( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + errorMessage_ = value; + onChanged(); + return this; + } + /** + * <code>string ErrorMessage = 10;</code> + */ + public Builder clearErrorMessage() { + + errorMessage_ = getDefaultInstance().getErrorMessage(); + onChanged(); + return this; + } + /** + * <code>string ErrorMessage = 10;</code> + */ + public Builder setErrorMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + errorMessage_ = value; + onChanged(); + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Common.MessageContainer) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Common.MessageContainer) + private static final com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer(); + } + + public static com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<MessageContainer> + PARSER = new com.google.protobuf.AbstractParser<MessageContainer>() { + public MessageContainer parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MessageContainer(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<MessageContainer> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<MessageContainer> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.common.MessageContainerOuterClass.MessageContainer getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Common_MessageContainer_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Common_MessageContainer_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\026MessageContainer.proto\022\020Tango.PMR.Comm" + + "on\032\021MessageType.proto\032\017ErrorCode.proto\"\376" + + "\001\n\020MessageContainer\022+\n\004Type\030\001 \001(\0162\035.Tang" + + "o.PMR.Common.MessageType\022\r\n\005Token\030\002 \001(\t\022" + + "\017\n\007Timeout\030\003 \001(\r\022\022\n\nContinuous\030\004 \001(\010\022\031\n\021" + + "ContinuousTimeout\030\005 \001(\r\022\021\n\tCompleted\030\006 \001" + + "(\010\022\014\n\004Data\030\007 \001(\014\022\013\n\003CRC\030\010 \001(\r\022*\n\005Error\030\t" + + " \001(\0162\033.Tango.PMR.Common.ErrorCode\022\024\n\014Err" + + "orMessage\030\n \001(\tB\034\n\032com.twine.tango.pmr.c" + + "ommonb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.twine.tango.pmr.common.MessageTypeOuterClass.getDescriptor(), + com.twine.tango.pmr.common.ErrorCodeOuterClass.getDescriptor(), + }, assigner); + internal_static_Tango_PMR_Common_MessageContainer_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Common_MessageContainer_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Common_MessageContainer_descriptor, + new java.lang.String[] { "Type", "Token", "Timeout", "Continuous", "ContinuousTimeout", "Completed", "Data", "CRC", "Error", "ErrorMessage", }); + com.twine.tango.pmr.common.MessageTypeOuterClass.getDescriptor(); + com.twine.tango.pmr.common.ErrorCodeOuterClass.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/common/MessageTypeOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/common/MessageTypeOuterClass.java new file mode 100644 index 000000000..4a4af0a1c --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/common/MessageTypeOuterClass.java @@ -0,0 +1,2205 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: MessageType.proto + +package com.twine.tango.pmr.common; + +public final class MessageTypeOuterClass { + private MessageTypeOuterClass() {} + 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 Tango.PMR.Common.MessageType} + */ + public enum MessageType + implements com.google.protobuf.ProtocolMessageEnum { + /** + * <pre> + *The first enumeration value must be zero so.. + * </pre> + * + * <code>None = 0;</code> + */ + None(0), + /** + * <pre> + *Common + * </pre> + * + * <code>ErrorResponse = 1;</code> + */ + ErrorResponse(1), + /** + * <pre> + *Stubs + * </pre> + * + * <code>CalculateRequest = 3;</code> + */ + CalculateRequest(3), + /** + * <code>CalculateResponse = 4;</code> + */ + CalculateResponse(4), + /** + * <code>ProgressRequest = 5;</code> + */ + ProgressRequest(5), + /** + * <code>ProgressResponse = 6;</code> + */ + ProgressResponse(6), + /** + * <code>StubCartridgeReadRequest = 7;</code> + */ + StubCartridgeReadRequest(7), + /** + * <code>StubCartridgeReadResponse = 8;</code> + */ + StubCartridgeReadResponse(8), + /** + * <code>StubCartridgeWriteRequest = 9;</code> + */ + StubCartridgeWriteRequest(9), + /** + * <code>StubCartridgeWriteResponse = 10;</code> + */ + StubCartridgeWriteResponse(10), + /** + * <code>StubDispenserRequest = 11;</code> + */ + StubDispenserRequest(11), + /** + * <code>StubDispenserResponse = 12;</code> + */ + StubDispenserResponse(12), + /** + * <code>StubGPIOInputSetupRequest = 13;</code> + */ + StubGPIOInputSetupRequest(13), + /** + * <code>StubGPIOInputSetupResponse = 14;</code> + */ + StubGPIOInputSetupResponse(14), + /** + * <code>StubGPIOReadBitRequest = 15;</code> + */ + StubGPIOReadBitRequest(15), + /** + * <code>StubGPIOReadBitResponse = 16;</code> + */ + StubGPIOReadBitResponse(16), + /** + * <code>StubGPIOReadByteRequest = 17;</code> + */ + StubGPIOReadByteRequest(17), + /** + * <code>StubGPIOReadByteResponse = 18;</code> + */ + StubGPIOReadByteResponse(18), + /** + * <code>StubGPIOWriteBitRequest = 19;</code> + */ + StubGPIOWriteBitRequest(19), + /** + * <code>StubGPIOWriteBitResponse = 20;</code> + */ + StubGPIOWriteBitResponse(20), + /** + * <code>StubGPIOWriteByteRequest = 21;</code> + */ + StubGPIOWriteByteRequest(21), + /** + * <code>StubGPIOWriteByteResponse = 22;</code> + */ + StubGPIOWriteByteResponse(22), + /** + * <code>StubHeaterRequest = 23;</code> + */ + StubHeaterRequest(23), + /** + * <code>StubHeaterResponse = 24;</code> + */ + StubHeaterResponse(24), + /** + * <code>StubI2CRequest = 25;</code> + */ + StubI2CRequest(25), + /** + * <code>StubI2CResponse = 26;</code> + */ + StubI2CResponse(26), + /** + * <code>StubOptLimitSwitchRequest = 27;</code> + */ + StubOptLimitSwitchRequest(27), + /** + * <code>StubOptLimitSwitchResponse = 28;</code> + */ + StubOptLimitSwitchResponse(28), + /** + * <code>StubSteperMotorRequest = 29;</code> + */ + StubSteperMotorRequest(29), + /** + * <code>StubSteperMotorResponse = 30;</code> + */ + StubSteperMotorResponse(30), + /** + * <code>StubValveRequest = 31;</code> + */ + StubValveRequest(31), + /** + * <code>StubValveResponse = 32;</code> + */ + StubValveResponse(32), + /** + * <code>StubExtFlashReadRequest = 33;</code> + */ + StubExtFlashReadRequest(33), + /** + * <code>StubExtFlashReadResponse = 34;</code> + */ + StubExtFlashReadResponse(34), + /** + * <code>StubExtFlashWriteRequest = 35;</code> + */ + StubExtFlashWriteRequest(35), + /** + * <code>StubExtFlashWriteResponse = 36;</code> + */ + StubExtFlashWriteResponse(36), + /** + * <code>StubFPGAReadBackRegRequest = 37;</code> + */ + StubFPGAReadBackRegRequest(37), + /** + * <code>StubFPGAReadBackRegResponse = 38;</code> + */ + StubFPGAReadBackRegResponse(38), + /** + * <code>StubFPGAReadVersionRequest = 39;</code> + */ + StubFPGAReadVersionRequest(39), + /** + * <code>StubFPGAReadVersionResponse = 40;</code> + */ + StubFPGAReadVersionResponse(40), + /** + * <code>StubL6470DriverRequest = 41;</code> + */ + StubL6470DriverRequest(41), + /** + * <code>StubL6470DriverResponse = 42;</code> + */ + StubL6470DriverResponse(42), + /** + * <code>StubMotorInitRequest = 43;</code> + */ + StubMotorInitRequest(43), + /** + * <code>StubMotorInitResponse = 44;</code> + */ + StubMotorInitResponse(44), + /** + * <code>StubMotorRunRequest = 45;</code> + */ + StubMotorRunRequest(45), + /** + * <code>StubMotorRunResponse = 46;</code> + */ + StubMotorRunResponse(46), + /** + * <code>StubMotorStopRequest = 47;</code> + */ + StubMotorStopRequest(47), + /** + * <code>StubMotorStopResponse = 48;</code> + */ + StubMotorStopResponse(48), + /** + * <code>StubMotorStatusRequest = 49;</code> + */ + StubMotorStatusRequest(49), + /** + * <code>StubMotorStatusResponse = 50;</code> + */ + StubMotorStatusResponse(50), + /** + * <code>StubMotorMovRequest = 51;</code> + */ + StubMotorMovRequest(51), + /** + * <code>StubMotorMovResponse = 52;</code> + */ + StubMotorMovResponse(52), + /** + * <code>StubMotorSpeedRequest = 53;</code> + */ + StubMotorSpeedRequest(53), + /** + * <code>StubMotorSpeedResponse = 54;</code> + */ + StubMotorSpeedResponse(54), + /** + * <code>StubMotorPositionRequest = 55;</code> + */ + StubMotorPositionRequest(55), + /** + * <code>StubMotorPositionResponse = 56;</code> + */ + StubMotorPositionResponse(56), + /** + * <code>StubHWVersionRequest = 57;</code> + */ + StubHWVersionRequest(57), + /** + * <code>StubHWVersionResponse = 58;</code> + */ + StubHWVersionResponse(58), + /** + * <code>StubF3Gpo01WriteRequest = 59;</code> + */ + StubF3Gpo01WriteRequest(59), + /** + * <code>StubF3Gpo01WriteResponse = 60;</code> + */ + StubF3Gpo01WriteResponse(60), + /** + * <code>StubHeatingTestRequest = 61;</code> + */ + StubHeatingTestRequest(61), + /** + * <code>StubHeatingTestResponse = 62;</code> + */ + StubHeatingTestResponse(62), + /** + * <code>StubHeatingTestPollRequest = 63;</code> + */ + StubHeatingTestPollRequest(63), + /** + * <code>StubHeatingTestPollResponse = 64;</code> + */ + StubHeatingTestPollResponse(64), + /** + * <code>StubMotorRequest = 65;</code> + */ + StubMotorRequest(65), + /** + * <code>StubMotorResponse = 66;</code> + */ + StubMotorResponse(66), + /** + * <code>StubMotorHomeMarkRequest = 67;</code> + */ + StubMotorHomeMarkRequest(67), + /** + * <code>StubMotorHomeMarkResponse = 68;</code> + */ + StubMotorHomeMarkResponse(68), + /** + * <code>StubMotorRunStepTickRequest = 69;</code> + */ + StubMotorRunStepTickRequest(69), + /** + * <code>StubMotorRunStepTickResponse = 70;</code> + */ + StubMotorRunStepTickResponse(70), + /** + * <code>StubFpgaReadRegRequest = 71;</code> + */ + StubFpgaReadRegRequest(71), + /** + * <code>StubFpgaReadRegResponse = 72;</code> + */ + StubFpgaReadRegResponse(72), + /** + * <code>StubFpgaWriteRegRequest = 73;</code> + */ + StubFpgaWriteRegRequest(73), + /** + * <code>StubFpgaWriteRegResponse = 74;</code> + */ + StubFpgaWriteRegResponse(74), + /** + * <code>StubReadEmbeddedVersionRequest = 75;</code> + */ + StubReadEmbeddedVersionRequest(75), + /** + * <code>StubReadEmbeddedVersionResponse = 76;</code> + */ + StubReadEmbeddedVersionResponse(76), + /** + * <code>StubTivaReadRegRequest = 77;</code> + */ + StubTivaReadRegRequest(77), + /** + * <code>StubTivaReadRegResponse = 78;</code> + */ + StubTivaReadRegResponse(78), + /** + * <code>StubTivaWriteRegRequest = 79;</code> + */ + StubTivaWriteRegRequest(79), + /** + * <code>StubTivaWriteRegResponse = 80;</code> + */ + StubTivaWriteRegResponse(80), + /** + * <code>StubDancerPositionRequest = 81;</code> + */ + StubDancerPositionRequest(81), + /** + * <code>StubDancerPositionResponse = 82;</code> + */ + StubDancerPositionResponse(82), + /** + * <code>StubSpeedSensorRequest = 83;</code> + */ + StubSpeedSensorRequest(83), + /** + * <code>StubSpeedSensorResponse = 84;</code> + */ + StubSpeedSensorResponse(84), + /** + * <code>StubRealTimeUsageRequest = 85;</code> + */ + StubRealTimeUsageRequest(85), + /** + * <code>StubRealTimeUsageResponse = 86;</code> + */ + StubRealTimeUsageResponse(86), + /** + * <code>StubIntADCReadRequest = 87;</code> + */ + StubIntADCReadRequest(87), + /** + * <code>StubIntADCReadResponse = 88;</code> + */ + StubIntADCReadResponse(88), + /** + * <code>StubTempSensorRequest = 89;</code> + */ + StubTempSensorRequest(89), + /** + * <code>StubTempSensorResponse = 90;</code> + */ + StubTempSensorResponse(90), + /** + * <code>StubI2CReadBytesRequest = 91;</code> + */ + StubI2CReadBytesRequest(91), + /** + * <code>StubI2CReadBytesResponse = 92;</code> + */ + StubI2CReadBytesResponse(92), + /** + * <code>StubI2CWriteBytesRequest = 93;</code> + */ + StubI2CWriteBytesRequest(93), + /** + * <code>StubI2CWriteBytesResponse = 94;</code> + */ + StubI2CWriteBytesResponse(94), + /** + * <code>StubExtFlashWriteWordsRequest = 95;</code> + */ + StubExtFlashWriteWordsRequest(95), + /** + * <code>StubExtFlashWriteWordsResponse = 96;</code> + */ + StubExtFlashWriteWordsResponse(96), + /** + * <code>StubExtFlashReadWordsRequest = 97;</code> + */ + StubExtFlashReadWordsRequest(97), + /** + * <code>StubExtFlashReadWordsResponse = 98;</code> + */ + StubExtFlashReadWordsResponse(98), + /** + * <code>StubJobRequest = 99;</code> + */ + StubJobRequest(99), + /** + * <code>StubJobResponse = 100;</code> + */ + StubJobResponse(100), + /** + * <code>StubAbortJobRequest = 101;</code> + */ + StubAbortJobRequest(101), + /** + * <code>StubAbortJobResponse = 102;</code> + */ + StubAbortJobResponse(102), + /** + * <code>StubMidTankPressureSensorRequest = 103;</code> + */ + StubMidTankPressureSensorRequest(103), + /** + * <pre> + *------------------------------------ + * </pre> + * + * <code>StubMidTankPressureSensorResponse = 104;</code> + */ + StubMidTankPressureSensorResponse(104), + /** + * <pre> + *Integration + * </pre> + * + * <code>ExternalBridgeUdpDiscoveryPacket = 1000;</code> + */ + ExternalBridgeUdpDiscoveryPacket(1000), + /** + * <code>ExternalBridgeLoginRequest = 1001;</code> + */ + ExternalBridgeLoginRequest(1001), + /** + * <code>ExternalBridgeLoginResponse = 1002;</code> + */ + ExternalBridgeLoginResponse(1002), + /** + * <code>ExternalBridgeLogoutRequest = 1003;</code> + */ + ExternalBridgeLogoutRequest(1003), + /** + * <code>ExternalBridgeLogoutResponse = 1004;</code> + */ + ExternalBridgeLogoutResponse(1004), + /** + * <code>DirectSynchronizationRequest = 1005;</code> + */ + DirectSynchronizationRequest(1005), + /** + * <code>DirectSynchronizationResponse = 1006;</code> + */ + DirectSynchronizationResponse(1006), + /** + * <code>OverrideDataBaseRequest = 1007;</code> + */ + OverrideDataBaseRequest(1007), + /** + * <code>OverrideDataBaseResponse = 1008;</code> + */ + OverrideDataBaseResponse(1008), + /** + * <code>StartApplicationLogsRequest = 1009;</code> + */ + StartApplicationLogsRequest(1009), + /** + * <code>StartApplicationLogsResponse = 1010;</code> + */ + StartApplicationLogsResponse(1010), + /** + * <code>StopApplicationLogsRequest = 1011;</code> + */ + StopApplicationLogsRequest(1011), + /** + * <code>StopApplicationLogsResponse = 1012;</code> + */ + StopApplicationLogsResponse(1012), + /** + * <pre> + *Diagnostics + * </pre> + * + * <code>StartDiagnosticsRequest = 2000;</code> + */ + StartDiagnosticsRequest(2000), + /** + * <code>StartDiagnosticsResponse = 2001;</code> + */ + StartDiagnosticsResponse(2001), + /** + * <code>MotorAbortHomingRequest = 2002;</code> + */ + MotorAbortHomingRequest(2002), + /** + * <code>MotorAbortHomingResponse = 2003;</code> + */ + MotorAbortHomingResponse(2003), + /** + * <code>MotorHomingRequest = 2004;</code> + */ + MotorHomingRequest(2004), + /** + * <code>MotorHomingResponse = 2005;</code> + */ + MotorHomingResponse(2005), + /** + * <code>MotorJoggingRequest = 2006;</code> + */ + MotorJoggingRequest(2006), + /** + * <code>MotorJoggingResponse = 2007;</code> + */ + MotorJoggingResponse(2007), + /** + * <code>MotorAbortJoggingRequest = 2008;</code> + */ + MotorAbortJoggingRequest(2008), + /** + * <code>MotorAbortJoggingResponse = 2009;</code> + */ + MotorAbortJoggingResponse(2009), + /** + * <code>DispenserAbortHomingRequest = 2010;</code> + */ + DispenserAbortHomingRequest(2010), + /** + * <code>DispenserAbortHomingResponse = 2011;</code> + */ + DispenserAbortHomingResponse(2011), + /** + * <code>DispenserHomingRequest = 2012;</code> + */ + DispenserHomingRequest(2012), + /** + * <code>DispenserHomingResponse = 2013;</code> + */ + DispenserHomingResponse(2013), + /** + * <code>DispenserJoggingRequest = 2014;</code> + */ + DispenserJoggingRequest(2014), + /** + * <code>DispenserJoggingResponse = 2015;</code> + */ + DispenserJoggingResponse(2015), + /** + * <code>DispenserAbortJoggingRequest = 2016;</code> + */ + DispenserAbortJoggingRequest(2016), + /** + * <code>DispenserAbortJoggingResponse = 2017;</code> + */ + DispenserAbortJoggingResponse(2017), + /** + * <code>SetDigitalOutRequest = 2018;</code> + */ + SetDigitalOutRequest(2018), + /** + * <code>SetDigitalOutResponse = 2019;</code> + */ + SetDigitalOutResponse(2019), + /** + * <code>ThreadJoggingRequest = 2020;</code> + */ + ThreadJoggingRequest(2020), + /** + * <code>ThreadJoggingResponse = 2021;</code> + */ + ThreadJoggingResponse(2021), + /** + * <code>ThreadAbortJoggingRequest = 2022;</code> + */ + ThreadAbortJoggingRequest(2022), + /** + * <code>ThreadAbortJoggingResponse = 2023;</code> + */ + ThreadAbortJoggingResponse(2023), + /** + * <code>SetComponentValueRequest = 2024;</code> + */ + SetComponentValueRequest(2024), + /** + * <code>SetComponentValueResponse = 2025;</code> + */ + SetComponentValueResponse(2025), + /** + * <code>ResolveEventRequest = 2026;</code> + */ + ResolveEventRequest(2026), + /** + * <code>ResolveEventResponse = 2027;</code> + */ + ResolveEventResponse(2027), + /** + * <code>StopDiagnosticsRequest = 2028;</code> + */ + StopDiagnosticsRequest(2028), + /** + * <code>StopDiagnosticsResponse = 2029;</code> + */ + StopDiagnosticsResponse(2029), + /** + * <code>StartEventsNotificationRequest = 2030;</code> + */ + StartEventsNotificationRequest(2030), + /** + * <code>StartEventsNotificationResponse = 2031;</code> + */ + StartEventsNotificationResponse(2031), + /** + * <code>StopEventsNotificationRequest = 2032;</code> + */ + StopEventsNotificationRequest(2032), + /** + * <code>StopEventsNotificationResponse = 2033;</code> + */ + StopEventsNotificationResponse(2033), + /** + * <code>SetHeaterStateRequest = 2034;</code> + */ + SetHeaterStateRequest(2034), + /** + * <code>SetHeaterStateResponse = 2035;</code> + */ + SetHeaterStateResponse(2035), + /** + * <code>SetBlowerStateRequest = 2036;</code> + */ + SetBlowerStateRequest(2036), + /** + * <code>SetBlowerStateResponse = 2037;</code> + */ + SetBlowerStateResponse(2037), + /** + * <code>SetValveStateRequest = 2038;</code> + */ + SetValveStateRequest(2038), + /** + * <code>SetValveStateResponse = 2039;</code> + */ + SetValveStateResponse(2039), + /** + * <pre> + *Printing + * </pre> + * + * <code>JobRequest = 3000;</code> + */ + JobRequest(3000), + /** + * <code>JobResponse = 3001;</code> + */ + JobResponse(3001), + /** + * <code>AbortJobRequest = 3002;</code> + */ + AbortJobRequest(3002), + /** + * <code>AbortJobResponse = 3003;</code> + */ + AbortJobResponse(3003), + /** + * <code>UploadProcessParametersRequest = 3004;</code> + */ + UploadProcessParametersRequest(3004), + /** + * <code>UploadProcessParametersResponse = 3005;</code> + */ + UploadProcessParametersResponse(3005), + /** + * <code>CurrentJobRequest = 3006;</code> + */ + CurrentJobRequest(3006), + /** + * <code>CurrentJobResponse = 3007;</code> + */ + CurrentJobResponse(3007), + /** + * <code>ResumeCurrentJobRequest = 3008;</code> + */ + ResumeCurrentJobRequest(3008), + /** + * <code>ResumeCurrentJobResponse = 3009;</code> + */ + ResumeCurrentJobResponse(3009), + /** + * <pre> + *Debugging + * </pre> + * + * <code>StartDebugLogRequest = 4000;</code> + */ + StartDebugLogRequest(4000), + /** + * <code>StartDebugLogResponse = 4001;</code> + */ + StartDebugLogResponse(4001), + /** + * <code>StopDebugLogRequest = 4002;</code> + */ + StopDebugLogRequest(4002), + /** + * <code>StopDebugLogResponse = 4003;</code> + */ + StopDebugLogResponse(4003), + /** + * <pre> + *Hardware + * </pre> + * + * <code>UploadHardwareConfigurationRequest = 5000;</code> + */ + UploadHardwareConfigurationRequest(5000), + /** + * <code>UploadHardwareConfigurationResponse = 5001;</code> + */ + UploadHardwareConfigurationResponse(5001), + /** + * <code>SystemResetRequest = 5002;</code> + */ + SystemResetRequest(5002), + /** + * <code>SystemResetResponse = 5003;</code> + */ + SystemResetResponse(5003), + /** + * <pre> + *Connection + * </pre> + * + * <code>KeepAliveRequest = 6000;</code> + */ + KeepAliveRequest(6000), + /** + * <code>KeepAliveResponse = 6001;</code> + */ + KeepAliveResponse(6001), + /** + * <code>ConnectRequest = 6002;</code> + */ + ConnectRequest(6002), + /** + * <code>ConnectResponse = 6003;</code> + */ + ConnectResponse(6003), + /** + * <code>DisconnectRequest = 6004;</code> + */ + DisconnectRequest(6004), + /** + * <code>DisconnectResponse = 6005;</code> + */ + DisconnectResponse(6005), + /** + * <pre> + *IO + * </pre> + * + * <code>FileUploadRequest = 7000;</code> + */ + FileUploadRequest(7000), + /** + * <code>FileUploadResponse = 7001;</code> + */ + FileUploadResponse(7001), + /** + * <code>FileChunkUploadRequest = 7002;</code> + */ + FileChunkUploadRequest(7002), + /** + * <code>FileChunkUploadResponse = 7003;</code> + */ + FileChunkUploadResponse(7003), + /** + * <code>ExecuteProcessRequest = 7004;</code> + */ + ExecuteProcessRequest(7004), + /** + * <code>ExecuteProcessResponse = 7005;</code> + */ + ExecuteProcessResponse(7005), + /** + * <code>KillProcessRequest = 7006;</code> + */ + KillProcessRequest(7006), + /** + * <code>KillProcessResponse = 7007;</code> + */ + KillProcessResponse(7007), + /** + * <code>CreateRequest = 7008;</code> + */ + CreateRequest(7008), + /** + * <code>CreateResponse = 7009;</code> + */ + CreateResponse(7009), + /** + * <code>DeleteRequest = 7010;</code> + */ + DeleteRequest(7010), + /** + * <code>DeleteResponse = 7011;</code> + */ + DeleteResponse(7011), + /** + * <code>GetStorageInfoRequest = 7012;</code> + */ + GetStorageInfoRequest(7012), + /** + * <code>GetStorageInfoResponse = 7013;</code> + */ + GetStorageInfoResponse(7013), + /** + * <code>GetFilesRequest = 7014;</code> + */ + GetFilesRequest(7014), + /** + * <code>GetFilesResponse = 7015;</code> + */ + GetFilesResponse(7015), + /** + * <code>FileDownloadRequest = 7016;</code> + */ + FileDownloadRequest(7016), + /** + * <code>FileDownloadResponse = 7017;</code> + */ + FileDownloadResponse(7017), + /** + * <code>FileChunkDownloadRequest = 7018;</code> + */ + FileChunkDownloadRequest(7018), + /** + * <code>FileChunkDownloadResponse = 7019;</code> + */ + FileChunkDownloadResponse(7019), + /** + * <code>ValidateVersionRequest = 7020;</code> + */ + ValidateVersionRequest(7020), + /** + * <code>ValidateVersionResponse = 7021;</code> + */ + ValidateVersionResponse(7021), + /** + * <code>ActivateVersionRequest = 7022;</code> + */ + ActivateVersionRequest(7022), + /** + * <code>ActivateVersionResponse = 7023;</code> + */ + ActivateVersionResponse(7023), + UNRECOGNIZED(-1), + ; + + /** + * <pre> + *The first enumeration value must be zero so.. + * </pre> + * + * <code>None = 0;</code> + */ + public static final int None_VALUE = 0; + /** + * <pre> + *Common + * </pre> + * + * <code>ErrorResponse = 1;</code> + */ + public static final int ErrorResponse_VALUE = 1; + /** + * <pre> + *Stubs + * </pre> + * + * <code>CalculateRequest = 3;</code> + */ + public static final int CalculateRequest_VALUE = 3; + /** + * <code>CalculateResponse = 4;</code> + */ + public static final int CalculateResponse_VALUE = 4; + /** + * <code>ProgressRequest = 5;</code> + */ + public static final int ProgressRequest_VALUE = 5; + /** + * <code>ProgressResponse = 6;</code> + */ + public static final int ProgressResponse_VALUE = 6; + /** + * <code>StubCartridgeReadRequest = 7;</code> + */ + public static final int StubCartridgeReadRequest_VALUE = 7; + /** + * <code>StubCartridgeReadResponse = 8;</code> + */ + public static final int StubCartridgeReadResponse_VALUE = 8; + /** + * <code>StubCartridgeWriteRequest = 9;</code> + */ + public static final int StubCartridgeWriteRequest_VALUE = 9; + /** + * <code>StubCartridgeWriteResponse = 10;</code> + */ + public static final int StubCartridgeWriteResponse_VALUE = 10; + /** + * <code>StubDispenserRequest = 11;</code> + */ + public static final int StubDispenserRequest_VALUE = 11; + /** + * <code>StubDispenserResponse = 12;</code> + */ + public static final int StubDispenserResponse_VALUE = 12; + /** + * <code>StubGPIOInputSetupRequest = 13;</code> + */ + public static final int StubGPIOInputSetupRequest_VALUE = 13; + /** + * <code>StubGPIOInputSetupResponse = 14;</code> + */ + public static final int StubGPIOInputSetupResponse_VALUE = 14; + /** + * <code>StubGPIOReadBitRequest = 15;</code> + */ + public static final int StubGPIOReadBitRequest_VALUE = 15; + /** + * <code>StubGPIOReadBitResponse = 16;</code> + */ + public static final int StubGPIOReadBitResponse_VALUE = 16; + /** + * <code>StubGPIOReadByteRequest = 17;</code> + */ + public static final int StubGPIOReadByteRequest_VALUE = 17; + /** + * <code>StubGPIOReadByteResponse = 18;</code> + */ + public static final int StubGPIOReadByteResponse_VALUE = 18; + /** + * <code>StubGPIOWriteBitRequest = 19;</code> + */ + public static final int StubGPIOWriteBitRequest_VALUE = 19; + /** + * <code>StubGPIOWriteBitResponse = 20;</code> + */ + public static final int StubGPIOWriteBitResponse_VALUE = 20; + /** + * <code>StubGPIOWriteByteRequest = 21;</code> + */ + public static final int StubGPIOWriteByteRequest_VALUE = 21; + /** + * <code>StubGPIOWriteByteResponse = 22;</code> + */ + public static final int StubGPIOWriteByteResponse_VALUE = 22; + /** + * <code>StubHeaterRequest = 23;</code> + */ + public static final int StubHeaterRequest_VALUE = 23; + /** + * <code>StubHeaterResponse = 24;</code> + */ + public static final int StubHeaterResponse_VALUE = 24; + /** + * <code>StubI2CRequest = 25;</code> + */ + public static final int StubI2CRequest_VALUE = 25; + /** + * <code>StubI2CResponse = 26;</code> + */ + public static final int StubI2CResponse_VALUE = 26; + /** + * <code>StubOptLimitSwitchRequest = 27;</code> + */ + public static final int StubOptLimitSwitchRequest_VALUE = 27; + /** + * <code>StubOptLimitSwitchResponse = 28;</code> + */ + public static final int StubOptLimitSwitchResponse_VALUE = 28; + /** + * <code>StubSteperMotorRequest = 29;</code> + */ + public static final int StubSteperMotorRequest_VALUE = 29; + /** + * <code>StubSteperMotorResponse = 30;</code> + */ + public static final int StubSteperMotorResponse_VALUE = 30; + /** + * <code>StubValveRequest = 31;</code> + */ + public static final int StubValveRequest_VALUE = 31; + /** + * <code>StubValveResponse = 32;</code> + */ + public static final int StubValveResponse_VALUE = 32; + /** + * <code>StubExtFlashReadRequest = 33;</code> + */ + public static final int StubExtFlashReadRequest_VALUE = 33; + /** + * <code>StubExtFlashReadResponse = 34;</code> + */ + public static final int StubExtFlashReadResponse_VALUE = 34; + /** + * <code>StubExtFlashWriteRequest = 35;</code> + */ + public static final int StubExtFlashWriteRequest_VALUE = 35; + /** + * <code>StubExtFlashWriteResponse = 36;</code> + */ + public static final int StubExtFlashWriteResponse_VALUE = 36; + /** + * <code>StubFPGAReadBackRegRequest = 37;</code> + */ + public static final int StubFPGAReadBackRegRequest_VALUE = 37; + /** + * <code>StubFPGAReadBackRegResponse = 38;</code> + */ + public static final int StubFPGAReadBackRegResponse_VALUE = 38; + /** + * <code>StubFPGAReadVersionRequest = 39;</code> + */ + public static final int StubFPGAReadVersionRequest_VALUE = 39; + /** + * <code>StubFPGAReadVersionResponse = 40;</code> + */ + public static final int StubFPGAReadVersionResponse_VALUE = 40; + /** + * <code>StubL6470DriverRequest = 41;</code> + */ + public static final int StubL6470DriverRequest_VALUE = 41; + /** + * <code>StubL6470DriverResponse = 42;</code> + */ + public static final int StubL6470DriverResponse_VALUE = 42; + /** + * <code>StubMotorInitRequest = 43;</code> + */ + public static final int StubMotorInitRequest_VALUE = 43; + /** + * <code>StubMotorInitResponse = 44;</code> + */ + public static final int StubMotorInitResponse_VALUE = 44; + /** + * <code>StubMotorRunRequest = 45;</code> + */ + public static final int StubMotorRunRequest_VALUE = 45; + /** + * <code>StubMotorRunResponse = 46;</code> + */ + public static final int StubMotorRunResponse_VALUE = 46; + /** + * <code>StubMotorStopRequest = 47;</code> + */ + public static final int StubMotorStopRequest_VALUE = 47; + /** + * <code>StubMotorStopResponse = 48;</code> + */ + public static final int StubMotorStopResponse_VALUE = 48; + /** + * <code>StubMotorStatusRequest = 49;</code> + */ + public static final int StubMotorStatusRequest_VALUE = 49; + /** + * <code>StubMotorStatusResponse = 50;</code> + */ + public static final int StubMotorStatusResponse_VALUE = 50; + /** + * <code>StubMotorMovRequest = 51;</code> + */ + public static final int StubMotorMovRequest_VALUE = 51; + /** + * <code>StubMotorMovResponse = 52;</code> + */ + public static final int StubMotorMovResponse_VALUE = 52; + /** + * <code>StubMotorSpeedRequest = 53;</code> + */ + public static final int StubMotorSpeedRequest_VALUE = 53; + /** + * <code>StubMotorSpeedResponse = 54;</code> + */ + public static final int StubMotorSpeedResponse_VALUE = 54; + /** + * <code>StubMotorPositionRequest = 55;</code> + */ + public static final int StubMotorPositionRequest_VALUE = 55; + /** + * <code>StubMotorPositionResponse = 56;</code> + */ + public static final int StubMotorPositionResponse_VALUE = 56; + /** + * <code>StubHWVersionRequest = 57;</code> + */ + public static final int StubHWVersionRequest_VALUE = 57; + /** + * <code>StubHWVersionResponse = 58;</code> + */ + public static final int StubHWVersionResponse_VALUE = 58; + /** + * <code>StubF3Gpo01WriteRequest = 59;</code> + */ + public static final int StubF3Gpo01WriteRequest_VALUE = 59; + /** + * <code>StubF3Gpo01WriteResponse = 60;</code> + */ + public static final int StubF3Gpo01WriteResponse_VALUE = 60; + /** + * <code>StubHeatingTestRequest = 61;</code> + */ + public static final int StubHeatingTestRequest_VALUE = 61; + /** + * <code>StubHeatingTestResponse = 62;</code> + */ + public static final int StubHeatingTestResponse_VALUE = 62; + /** + * <code>StubHeatingTestPollRequest = 63;</code> + */ + public static final int StubHeatingTestPollRequest_VALUE = 63; + /** + * <code>StubHeatingTestPollResponse = 64;</code> + */ + public static final int StubHeatingTestPollResponse_VALUE = 64; + /** + * <code>StubMotorRequest = 65;</code> + */ + public static final int StubMotorRequest_VALUE = 65; + /** + * <code>StubMotorResponse = 66;</code> + */ + public static final int StubMotorResponse_VALUE = 66; + /** + * <code>StubMotorHomeMarkRequest = 67;</code> + */ + public static final int StubMotorHomeMarkRequest_VALUE = 67; + /** + * <code>StubMotorHomeMarkResponse = 68;</code> + */ + public static final int StubMotorHomeMarkResponse_VALUE = 68; + /** + * <code>StubMotorRunStepTickRequest = 69;</code> + */ + public static final int StubMotorRunStepTickRequest_VALUE = 69; + /** + * <code>StubMotorRunStepTickResponse = 70;</code> + */ + public static final int StubMotorRunStepTickResponse_VALUE = 70; + /** + * <code>StubFpgaReadRegRequest = 71;</code> + */ + public static final int StubFpgaReadRegRequest_VALUE = 71; + /** + * <code>StubFpgaReadRegResponse = 72;</code> + */ + public static final int StubFpgaReadRegResponse_VALUE = 72; + /** + * <code>StubFpgaWriteRegRequest = 73;</code> + */ + public static final int StubFpgaWriteRegRequest_VALUE = 73; + /** + * <code>StubFpgaWriteRegResponse = 74;</code> + */ + public static final int StubFpgaWriteRegResponse_VALUE = 74; + /** + * <code>StubReadEmbeddedVersionRequest = 75;</code> + */ + public static final int StubReadEmbeddedVersionRequest_VALUE = 75; + /** + * <code>StubReadEmbeddedVersionResponse = 76;</code> + */ + public static final int StubReadEmbeddedVersionResponse_VALUE = 76; + /** + * <code>StubTivaReadRegRequest = 77;</code> + */ + public static final int StubTivaReadRegRequest_VALUE = 77; + /** + * <code>StubTivaReadRegResponse = 78;</code> + */ + public static final int StubTivaReadRegResponse_VALUE = 78; + /** + * <code>StubTivaWriteRegRequest = 79;</code> + */ + public static final int StubTivaWriteRegRequest_VALUE = 79; + /** + * <code>StubTivaWriteRegResponse = 80;</code> + */ + public static final int StubTivaWriteRegResponse_VALUE = 80; + /** + * <code>StubDancerPositionRequest = 81;</code> + */ + public static final int StubDancerPositionRequest_VALUE = 81; + /** + * <code>StubDancerPositionResponse = 82;</code> + */ + public static final int StubDancerPositionResponse_VALUE = 82; + /** + * <code>StubSpeedSensorRequest = 83;</code> + */ + public static final int StubSpeedSensorRequest_VALUE = 83; + /** + * <code>StubSpeedSensorResponse = 84;</code> + */ + public static final int StubSpeedSensorResponse_VALUE = 84; + /** + * <code>StubRealTimeUsageRequest = 85;</code> + */ + public static final int StubRealTimeUsageRequest_VALUE = 85; + /** + * <code>StubRealTimeUsageResponse = 86;</code> + */ + public static final int StubRealTimeUsageResponse_VALUE = 86; + /** + * <code>StubIntADCReadRequest = 87;</code> + */ + public static final int StubIntADCReadRequest_VALUE = 87; + /** + * <code>StubIntADCReadResponse = 88;</code> + */ + public static final int StubIntADCReadResponse_VALUE = 88; + /** + * <code>StubTempSensorRequest = 89;</code> + */ + public static final int StubTempSensorRequest_VALUE = 89; + /** + * <code>StubTempSensorResponse = 90;</code> + */ + public static final int StubTempSensorResponse_VALUE = 90; + /** + * <code>StubI2CReadBytesRequest = 91;</code> + */ + public static final int StubI2CReadBytesRequest_VALUE = 91; + /** + * <code>StubI2CReadBytesResponse = 92;</code> + */ + public static final int StubI2CReadBytesResponse_VALUE = 92; + /** + * <code>StubI2CWriteBytesRequest = 93;</code> + */ + public static final int StubI2CWriteBytesRequest_VALUE = 93; + /** + * <code>StubI2CWriteBytesResponse = 94;</code> + */ + public static final int StubI2CWriteBytesResponse_VALUE = 94; + /** + * <code>StubExtFlashWriteWordsRequest = 95;</code> + */ + public static final int StubExtFlashWriteWordsRequest_VALUE = 95; + /** + * <code>StubExtFlashWriteWordsResponse = 96;</code> + */ + public static final int StubExtFlashWriteWordsResponse_VALUE = 96; + /** + * <code>StubExtFlashReadWordsRequest = 97;</code> + */ + public static final int StubExtFlashReadWordsRequest_VALUE = 97; + /** + * <code>StubExtFlashReadWordsResponse = 98;</code> + */ + public static final int StubExtFlashReadWordsResponse_VALUE = 98; + /** + * <code>StubJobRequest = 99;</code> + */ + public static final int StubJobRequest_VALUE = 99; + /** + * <code>StubJobResponse = 100;</code> + */ + public static final int StubJobResponse_VALUE = 100; + /** + * <code>StubAbortJobRequest = 101;</code> + */ + public static final int StubAbortJobRequest_VALUE = 101; + /** + * <code>StubAbortJobResponse = 102;</code> + */ + public static final int StubAbortJobResponse_VALUE = 102; + /** + * <code>StubMidTankPressureSensorRequest = 103;</code> + */ + public static final int StubMidTankPressureSensorRequest_VALUE = 103; + /** + * <pre> + *------------------------------------ + * </pre> + * + * <code>StubMidTankPressureSensorResponse = 104;</code> + */ + public static final int StubMidTankPressureSensorResponse_VALUE = 104; + /** + * <pre> + *Integration + * </pre> + * + * <code>ExternalBridgeUdpDiscoveryPacket = 1000;</code> + */ + public static final int ExternalBridgeUdpDiscoveryPacket_VALUE = 1000; + /** + * <code>ExternalBridgeLoginRequest = 1001;</code> + */ + public static final int ExternalBridgeLoginRequest_VALUE = 1001; + /** + * <code>ExternalBridgeLoginResponse = 1002;</code> + */ + public static final int ExternalBridgeLoginResponse_VALUE = 1002; + /** + * <code>ExternalBridgeLogoutRequest = 1003;</code> + */ + public static final int ExternalBridgeLogoutRequest_VALUE = 1003; + /** + * <code>ExternalBridgeLogoutResponse = 1004;</code> + */ + public static final int ExternalBridgeLogoutResponse_VALUE = 1004; + /** + * <code>DirectSynchronizationRequest = 1005;</code> + */ + public static final int DirectSynchronizationRequest_VALUE = 1005; + /** + * <code>DirectSynchronizationResponse = 1006;</code> + */ + public static final int DirectSynchronizationResponse_VALUE = 1006; + /** + * <code>OverrideDataBaseRequest = 1007;</code> + */ + public static final int OverrideDataBaseRequest_VALUE = 1007; + /** + * <code>OverrideDataBaseResponse = 1008;</code> + */ + public static final int OverrideDataBaseResponse_VALUE = 1008; + /** + * <code>StartApplicationLogsRequest = 1009;</code> + */ + public static final int StartApplicationLogsRequest_VALUE = 1009; + /** + * <code>StartApplicationLogsResponse = 1010;</code> + */ + public static final int StartApplicationLogsResponse_VALUE = 1010; + /** + * <code>StopApplicationLogsRequest = 1011;</code> + */ + public static final int StopApplicationLogsRequest_VALUE = 1011; + /** + * <code>StopApplicationLogsResponse = 1012;</code> + */ + public static final int StopApplicationLogsResponse_VALUE = 1012; + /** + * <pre> + *Diagnostics + * </pre> + * + * <code>StartDiagnosticsRequest = 2000;</code> + */ + public static final int StartDiagnosticsRequest_VALUE = 2000; + /** + * <code>StartDiagnosticsResponse = 2001;</code> + */ + public static final int StartDiagnosticsResponse_VALUE = 2001; + /** + * <code>MotorAbortHomingRequest = 2002;</code> + */ + public static final int MotorAbortHomingRequest_VALUE = 2002; + /** + * <code>MotorAbortHomingResponse = 2003;</code> + */ + public static final int MotorAbortHomingResponse_VALUE = 2003; + /** + * <code>MotorHomingRequest = 2004;</code> + */ + public static final int MotorHomingRequest_VALUE = 2004; + /** + * <code>MotorHomingResponse = 2005;</code> + */ + public static final int MotorHomingResponse_VALUE = 2005; + /** + * <code>MotorJoggingRequest = 2006;</code> + */ + public static final int MotorJoggingRequest_VALUE = 2006; + /** + * <code>MotorJoggingResponse = 2007;</code> + */ + public static final int MotorJoggingResponse_VALUE = 2007; + /** + * <code>MotorAbortJoggingRequest = 2008;</code> + */ + public static final int MotorAbortJoggingRequest_VALUE = 2008; + /** + * <code>MotorAbortJoggingResponse = 2009;</code> + */ + public static final int MotorAbortJoggingResponse_VALUE = 2009; + /** + * <code>DispenserAbortHomingRequest = 2010;</code> + */ + public static final int DispenserAbortHomingRequest_VALUE = 2010; + /** + * <code>DispenserAbortHomingResponse = 2011;</code> + */ + public static final int DispenserAbortHomingResponse_VALUE = 2011; + /** + * <code>DispenserHomingRequest = 2012;</code> + */ + public static final int DispenserHomingRequest_VALUE = 2012; + /** + * <code>DispenserHomingResponse = 2013;</code> + */ + public static final int DispenserHomingResponse_VALUE = 2013; + /** + * <code>DispenserJoggingRequest = 2014;</code> + */ + public static final int DispenserJoggingRequest_VALUE = 2014; + /** + * <code>DispenserJoggingResponse = 2015;</code> + */ + public static final int DispenserJoggingResponse_VALUE = 2015; + /** + * <code>DispenserAbortJoggingRequest = 2016;</code> + */ + public static final int DispenserAbortJoggingRequest_VALUE = 2016; + /** + * <code>DispenserAbortJoggingResponse = 2017;</code> + */ + public static final int DispenserAbortJoggingResponse_VALUE = 2017; + /** + * <code>SetDigitalOutRequest = 2018;</code> + */ + public static final int SetDigitalOutRequest_VALUE = 2018; + /** + * <code>SetDigitalOutResponse = 2019;</code> + */ + public static final int SetDigitalOutResponse_VALUE = 2019; + /** + * <code>ThreadJoggingRequest = 2020;</code> + */ + public static final int ThreadJoggingRequest_VALUE = 2020; + /** + * <code>ThreadJoggingResponse = 2021;</code> + */ + public static final int ThreadJoggingResponse_VALUE = 2021; + /** + * <code>ThreadAbortJoggingRequest = 2022;</code> + */ + public static final int ThreadAbortJoggingRequest_VALUE = 2022; + /** + * <code>ThreadAbortJoggingResponse = 2023;</code> + */ + public static final int ThreadAbortJoggingResponse_VALUE = 2023; + /** + * <code>SetComponentValueRequest = 2024;</code> + */ + public static final int SetComponentValueRequest_VALUE = 2024; + /** + * <code>SetComponentValueResponse = 2025;</code> + */ + public static final int SetComponentValueResponse_VALUE = 2025; + /** + * <code>ResolveEventRequest = 2026;</code> + */ + public static final int ResolveEventRequest_VALUE = 2026; + /** + * <code>ResolveEventResponse = 2027;</code> + */ + public static final int ResolveEventResponse_VALUE = 2027; + /** + * <code>StopDiagnosticsRequest = 2028;</code> + */ + public static final int StopDiagnosticsRequest_VALUE = 2028; + /** + * <code>StopDiagnosticsResponse = 2029;</code> + */ + public static final int StopDiagnosticsResponse_VALUE = 2029; + /** + * <code>StartEventsNotificationRequest = 2030;</code> + */ + public static final int StartEventsNotificationRequest_VALUE = 2030; + /** + * <code>StartEventsNotificationResponse = 2031;</code> + */ + public static final int StartEventsNotificationResponse_VALUE = 2031; + /** + * <code>StopEventsNotificationRequest = 2032;</code> + */ + public static final int StopEventsNotificationRequest_VALUE = 2032; + /** + * <code>StopEventsNotificationResponse = 2033;</code> + */ + public static final int StopEventsNotificationResponse_VALUE = 2033; + /** + * <code>SetHeaterStateRequest = 2034;</code> + */ + public static final int SetHeaterStateRequest_VALUE = 2034; + /** + * <code>SetHeaterStateResponse = 2035;</code> + */ + public static final int SetHeaterStateResponse_VALUE = 2035; + /** + * <code>SetBlowerStateRequest = 2036;</code> + */ + public static final int SetBlowerStateRequest_VALUE = 2036; + /** + * <code>SetBlowerStateResponse = 2037;</code> + */ + public static final int SetBlowerStateResponse_VALUE = 2037; + /** + * <code>SetValveStateRequest = 2038;</code> + */ + public static final int SetValveStateRequest_VALUE = 2038; + /** + * <code>SetValveStateResponse = 2039;</code> + */ + public static final int SetValveStateResponse_VALUE = 2039; + /** + * <pre> + *Printing + * </pre> + * + * <code>JobRequest = 3000;</code> + */ + public static final int JobRequest_VALUE = 3000; + /** + * <code>JobResponse = 3001;</code> + */ + public static final int JobResponse_VALUE = 3001; + /** + * <code>AbortJobRequest = 3002;</code> + */ + public static final int AbortJobRequest_VALUE = 3002; + /** + * <code>AbortJobResponse = 3003;</code> + */ + public static final int AbortJobResponse_VALUE = 3003; + /** + * <code>UploadProcessParametersRequest = 3004;</code> + */ + public static final int UploadProcessParametersRequest_VALUE = 3004; + /** + * <code>UploadProcessParametersResponse = 3005;</code> + */ + public static final int UploadProcessParametersResponse_VALUE = 3005; + /** + * <code>CurrentJobRequest = 3006;</code> + */ + public static final int CurrentJobRequest_VALUE = 3006; + /** + * <code>CurrentJobResponse = 3007;</code> + */ + public static final int CurrentJobResponse_VALUE = 3007; + /** + * <code>ResumeCurrentJobRequest = 3008;</code> + */ + public static final int ResumeCurrentJobRequest_VALUE = 3008; + /** + * <code>ResumeCurrentJobResponse = 3009;</code> + */ + public static final int ResumeCurrentJobResponse_VALUE = 3009; + /** + * <pre> + *Debugging + * </pre> + * + * <code>StartDebugLogRequest = 4000;</code> + */ + public static final int StartDebugLogRequest_VALUE = 4000; + /** + * <code>StartDebugLogResponse = 4001;</code> + */ + public static final int StartDebugLogResponse_VALUE = 4001; + /** + * <code>StopDebugLogRequest = 4002;</code> + */ + public static final int StopDebugLogRequest_VALUE = 4002; + /** + * <code>StopDebugLogResponse = 4003;</code> + */ + public static final int StopDebugLogResponse_VALUE = 4003; + /** + * <pre> + *Hardware + * </pre> + * + * <code>UploadHardwareConfigurationRequest = 5000;</code> + */ + public static final int UploadHardwareConfigurationRequest_VALUE = 5000; + /** + * <code>UploadHardwareConfigurationResponse = 5001;</code> + */ + public static final int UploadHardwareConfigurationResponse_VALUE = 5001; + /** + * <code>SystemResetRequest = 5002;</code> + */ + public static final int SystemResetRequest_VALUE = 5002; + /** + * <code>SystemResetResponse = 5003;</code> + */ + public static final int SystemResetResponse_VALUE = 5003; + /** + * <pre> + *Connection + * </pre> + * + * <code>KeepAliveRequest = 6000;</code> + */ + public static final int KeepAliveRequest_VALUE = 6000; + /** + * <code>KeepAliveResponse = 6001;</code> + */ + public static final int KeepAliveResponse_VALUE = 6001; + /** + * <code>ConnectRequest = 6002;</code> + */ + public static final int ConnectRequest_VALUE = 6002; + /** + * <code>ConnectResponse = 6003;</code> + */ + public static final int ConnectResponse_VALUE = 6003; + /** + * <code>DisconnectRequest = 6004;</code> + */ + public static final int DisconnectRequest_VALUE = 6004; + /** + * <code>DisconnectResponse = 6005;</code> + */ + public static final int DisconnectResponse_VALUE = 6005; + /** + * <pre> + *IO + * </pre> + * + * <code>FileUploadRequest = 7000;</code> + */ + public static final int FileUploadRequest_VALUE = 7000; + /** + * <code>FileUploadResponse = 7001;</code> + */ + public static final int FileUploadResponse_VALUE = 7001; + /** + * <code>FileChunkUploadRequest = 7002;</code> + */ + public static final int FileChunkUploadRequest_VALUE = 7002; + /** + * <code>FileChunkUploadResponse = 7003;</code> + */ + public static final int FileChunkUploadResponse_VALUE = 7003; + /** + * <code>ExecuteProcessRequest = 7004;</code> + */ + public static final int ExecuteProcessRequest_VALUE = 7004; + /** + * <code>ExecuteProcessResponse = 7005;</code> + */ + public static final int ExecuteProcessResponse_VALUE = 7005; + /** + * <code>KillProcessRequest = 7006;</code> + */ + public static final int KillProcessRequest_VALUE = 7006; + /** + * <code>KillProcessResponse = 7007;</code> + */ + public static final int KillProcessResponse_VALUE = 7007; + /** + * <code>CreateRequest = 7008;</code> + */ + public static final int CreateRequest_VALUE = 7008; + /** + * <code>CreateResponse = 7009;</code> + */ + public static final int CreateResponse_VALUE = 7009; + /** + * <code>DeleteRequest = 7010;</code> + */ + public static final int DeleteRequest_VALUE = 7010; + /** + * <code>DeleteResponse = 7011;</code> + */ + public static final int DeleteResponse_VALUE = 7011; + /** + * <code>GetStorageInfoRequest = 7012;</code> + */ + public static final int GetStorageInfoRequest_VALUE = 7012; + /** + * <code>GetStorageInfoResponse = 7013;</code> + */ + public static final int GetStorageInfoResponse_VALUE = 7013; + /** + * <code>GetFilesRequest = 7014;</code> + */ + public static final int GetFilesRequest_VALUE = 7014; + /** + * <code>GetFilesResponse = 7015;</code> + */ + public static final int GetFilesResponse_VALUE = 7015; + /** + * <code>FileDownloadRequest = 7016;</code> + */ + public static final int FileDownloadRequest_VALUE = 7016; + /** + * <code>FileDownloadResponse = 7017;</code> + */ + public static final int FileDownloadResponse_VALUE = 7017; + /** + * <code>FileChunkDownloadRequest = 7018;</code> + */ + public static final int FileChunkDownloadRequest_VALUE = 7018; + /** + * <code>FileChunkDownloadResponse = 7019;</code> + */ + public static final int FileChunkDownloadResponse_VALUE = 7019; + /** + * <code>ValidateVersionRequest = 7020;</code> + */ + public static final int ValidateVersionRequest_VALUE = 7020; + /** + * <code>ValidateVersionResponse = 7021;</code> + */ + public static final int ValidateVersionResponse_VALUE = 7021; + /** + * <code>ActivateVersionRequest = 7022;</code> + */ + public static final int ActivateVersionRequest_VALUE = 7022; + /** + * <code>ActivateVersionResponse = 7023;</code> + */ + public static final int ActivateVersionResponse_VALUE = 7023; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static MessageType valueOf(int value) { + return forNumber(value); + } + + public static MessageType forNumber(int value) { + switch (value) { + case 0: return None; + case 1: return ErrorResponse; + case 3: return CalculateRequest; + case 4: return CalculateResponse; + case 5: return ProgressRequest; + case 6: return ProgressResponse; + case 7: return StubCartridgeReadRequest; + case 8: return StubCartridgeReadResponse; + case 9: return StubCartridgeWriteRequest; + case 10: return StubCartridgeWriteResponse; + case 11: return StubDispenserRequest; + case 12: return StubDispenserResponse; + case 13: return StubGPIOInputSetupRequest; + case 14: return StubGPIOInputSetupResponse; + case 15: return StubGPIOReadBitRequest; + case 16: return StubGPIOReadBitResponse; + case 17: return StubGPIOReadByteRequest; + case 18: return StubGPIOReadByteResponse; + case 19: return StubGPIOWriteBitRequest; + case 20: return StubGPIOWriteBitResponse; + case 21: return StubGPIOWriteByteRequest; + case 22: return StubGPIOWriteByteResponse; + case 23: return StubHeaterRequest; + case 24: return StubHeaterResponse; + case 25: return StubI2CRequest; + case 26: return StubI2CResponse; + case 27: return StubOptLimitSwitchRequest; + case 28: return StubOptLimitSwitchResponse; + case 29: return StubSteperMotorRequest; + case 30: return StubSteperMotorResponse; + case 31: return StubValveRequest; + case 32: return StubValveResponse; + case 33: return StubExtFlashReadRequest; + case 34: return StubExtFlashReadResponse; + case 35: return StubExtFlashWriteRequest; + case 36: return StubExtFlashWriteResponse; + case 37: return StubFPGAReadBackRegRequest; + case 38: return StubFPGAReadBackRegResponse; + case 39: return StubFPGAReadVersionRequest; + case 40: return StubFPGAReadVersionResponse; + case 41: return StubL6470DriverRequest; + case 42: return StubL6470DriverResponse; + case 43: return StubMotorInitRequest; + case 44: return StubMotorInitResponse; + case 45: return StubMotorRunRequest; + case 46: return StubMotorRunResponse; + case 47: return StubMotorStopRequest; + case 48: return StubMotorStopResponse; + case 49: return StubMotorStatusRequest; + case 50: return StubMotorStatusResponse; + case 51: return StubMotorMovRequest; + case 52: return StubMotorMovResponse; + case 53: return StubMotorSpeedRequest; + case 54: return StubMotorSpeedResponse; + case 55: return StubMotorPositionRequest; + case 56: return StubMotorPositionResponse; + case 57: return StubHWVersionRequest; + case 58: return StubHWVersionResponse; + case 59: return StubF3Gpo01WriteRequest; + case 60: return StubF3Gpo01WriteResponse; + case 61: return StubHeatingTestRequest; + case 62: return StubHeatingTestResponse; + case 63: return StubHeatingTestPollRequest; + case 64: return StubHeatingTestPollResponse; + case 65: return StubMotorRequest; + case 66: return StubMotorResponse; + case 67: return StubMotorHomeMarkRequest; + case 68: return StubMotorHomeMarkResponse; + case 69: return StubMotorRunStepTickRequest; + case 70: return StubMotorRunStepTickResponse; + case 71: return StubFpgaReadRegRequest; + case 72: return StubFpgaReadRegResponse; + case 73: return StubFpgaWriteRegRequest; + case 74: return StubFpgaWriteRegResponse; + case 75: return StubReadEmbeddedVersionRequest; + case 76: return StubReadEmbeddedVersionResponse; + case 77: return StubTivaReadRegRequest; + case 78: return StubTivaReadRegResponse; + case 79: return StubTivaWriteRegRequest; + case 80: return StubTivaWriteRegResponse; + case 81: return StubDancerPositionRequest; + case 82: return StubDancerPositionResponse; + case 83: return StubSpeedSensorRequest; + case 84: return StubSpeedSensorResponse; + case 85: return StubRealTimeUsageRequest; + case 86: return StubRealTimeUsageResponse; + case 87: return StubIntADCReadRequest; + case 88: return StubIntADCReadResponse; + case 89: return StubTempSensorRequest; + case 90: return StubTempSensorResponse; + case 91: return StubI2CReadBytesRequest; + case 92: return StubI2CReadBytesResponse; + case 93: return StubI2CWriteBytesRequest; + case 94: return StubI2CWriteBytesResponse; + case 95: return StubExtFlashWriteWordsRequest; + case 96: return StubExtFlashWriteWordsResponse; + case 97: return StubExtFlashReadWordsRequest; + case 98: return StubExtFlashReadWordsResponse; + case 99: return StubJobRequest; + case 100: return StubJobResponse; + case 101: return StubAbortJobRequest; + case 102: return StubAbortJobResponse; + case 103: return StubMidTankPressureSensorRequest; + case 104: return StubMidTankPressureSensorResponse; + case 1000: return ExternalBridgeUdpDiscoveryPacket; + case 1001: return ExternalBridgeLoginRequest; + case 1002: return ExternalBridgeLoginResponse; + case 1003: return ExternalBridgeLogoutRequest; + case 1004: return ExternalBridgeLogoutResponse; + case 1005: return DirectSynchronizationRequest; + case 1006: return DirectSynchronizationResponse; + case 1007: return OverrideDataBaseRequest; + case 1008: return OverrideDataBaseResponse; + case 1009: return StartApplicationLogsRequest; + case 1010: return StartApplicationLogsResponse; + case 1011: return StopApplicationLogsRequest; + case 1012: return StopApplicationLogsResponse; + case 2000: return StartDiagnosticsRequest; + case 2001: return StartDiagnosticsResponse; + case 2002: return MotorAbortHomingRequest; + case 2003: return MotorAbortHomingResponse; + case 2004: return MotorHomingRequest; + case 2005: return MotorHomingResponse; + case 2006: return MotorJoggingRequest; + case 2007: return MotorJoggingResponse; + case 2008: return MotorAbortJoggingRequest; + case 2009: return MotorAbortJoggingResponse; + case 2010: return DispenserAbortHomingRequest; + case 2011: return DispenserAbortHomingResponse; + case 2012: return DispenserHomingRequest; + case 2013: return DispenserHomingResponse; + case 2014: return DispenserJoggingRequest; + case 2015: return DispenserJoggingResponse; + case 2016: return DispenserAbortJoggingRequest; + case 2017: return DispenserAbortJoggingResponse; + case 2018: return SetDigitalOutRequest; + case 2019: return SetDigitalOutResponse; + case 2020: return ThreadJoggingRequest; + case 2021: return ThreadJoggingResponse; + case 2022: return ThreadAbortJoggingRequest; + case 2023: return ThreadAbortJoggingResponse; + case 2024: return SetComponentValueRequest; + case 2025: return SetComponentValueResponse; + case 2026: return ResolveEventRequest; + case 2027: return ResolveEventResponse; + case 2028: return StopDiagnosticsRequest; + case 2029: return StopDiagnosticsResponse; + case 2030: return StartEventsNotificationRequest; + case 2031: return StartEventsNotificationResponse; + case 2032: return StopEventsNotificationRequest; + case 2033: return StopEventsNotificationResponse; + case 2034: return SetHeaterStateRequest; + case 2035: return SetHeaterStateResponse; + case 2036: return SetBlowerStateRequest; + case 2037: return SetBlowerStateResponse; + case 2038: return SetValveStateRequest; + case 2039: return SetValveStateResponse; + case 3000: return JobRequest; + case 3001: return JobResponse; + case 3002: return AbortJobRequest; + case 3003: return AbortJobResponse; + case 3004: return UploadProcessParametersRequest; + case 3005: return UploadProcessParametersResponse; + case 3006: return CurrentJobRequest; + case 3007: return CurrentJobResponse; + case 3008: return ResumeCurrentJobRequest; + case 3009: return ResumeCurrentJobResponse; + case 4000: return StartDebugLogRequest; + case 4001: return StartDebugLogResponse; + case 4002: return StopDebugLogRequest; + case 4003: return StopDebugLogResponse; + case 5000: return UploadHardwareConfigurationRequest; + case 5001: return UploadHardwareConfigurationResponse; + case 5002: return SystemResetRequest; + case 5003: return SystemResetResponse; + case 6000: return KeepAliveRequest; + case 6001: return KeepAliveResponse; + case 6002: return ConnectRequest; + case 6003: return ConnectResponse; + case 6004: return DisconnectRequest; + case 6005: return DisconnectResponse; + case 7000: return FileUploadRequest; + case 7001: return FileUploadResponse; + case 7002: return FileChunkUploadRequest; + case 7003: return FileChunkUploadResponse; + case 7004: return ExecuteProcessRequest; + case 7005: return ExecuteProcessResponse; + case 7006: return KillProcessRequest; + case 7007: return KillProcessResponse; + case 7008: return CreateRequest; + case 7009: return CreateResponse; + case 7010: return DeleteRequest; + case 7011: return DeleteResponse; + case 7012: return GetStorageInfoRequest; + case 7013: return GetStorageInfoResponse; + case 7014: return GetFilesRequest; + case 7015: return GetFilesResponse; + case 7016: return FileDownloadRequest; + case 7017: return FileDownloadResponse; + case 7018: return FileChunkDownloadRequest; + case 7019: return FileChunkDownloadResponse; + case 7020: return ValidateVersionRequest; + case 7021: return ValidateVersionResponse; + case 7022: return ActivateVersionRequest; + case 7023: return ActivateVersionResponse; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap<MessageType> + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + MessageType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap<MessageType>() { + public MessageType findValueByNumber(int number) { + return MessageType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + 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.twine.tango.pmr.common.MessageTypeOuterClass.getDescriptor().getEnumTypes().get(0); + } + + private static final MessageType[] VALUES = values(); + + public static MessageType 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 MessageType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:Tango.PMR.Common.MessageType) + } + + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\021MessageType.proto\022\020Tango.PMR.Common*\236." + + "\n\013MessageType\022\010\n\004None\020\000\022\021\n\rErrorResponse" + + "\020\001\022\024\n\020CalculateRequest\020\003\022\025\n\021CalculateRes" + + "ponse\020\004\022\023\n\017ProgressRequest\020\005\022\024\n\020Progress" + + "Response\020\006\022\034\n\030StubCartridgeReadRequest\020\007" + + "\022\035\n\031StubCartridgeReadResponse\020\010\022\035\n\031StubC" + + "artridgeWriteRequest\020\t\022\036\n\032StubCartridgeW" + + "riteResponse\020\n\022\030\n\024StubDispenserRequest\020\013" + + "\022\031\n\025StubDispenserResponse\020\014\022\035\n\031StubGPIOI" + + "nputSetupRequest\020\r\022\036\n\032StubGPIOInputSetup", + "Response\020\016\022\032\n\026StubGPIOReadBitRequest\020\017\022\033" + + "\n\027StubGPIOReadBitResponse\020\020\022\033\n\027StubGPIOR" + + "eadByteRequest\020\021\022\034\n\030StubGPIOReadByteResp" + + "onse\020\022\022\033\n\027StubGPIOWriteBitRequest\020\023\022\034\n\030S" + + "tubGPIOWriteBitResponse\020\024\022\034\n\030StubGPIOWri" + + "teByteRequest\020\025\022\035\n\031StubGPIOWriteByteResp" + + "onse\020\026\022\025\n\021StubHeaterRequest\020\027\022\026\n\022StubHea" + + "terResponse\020\030\022\022\n\016StubI2CRequest\020\031\022\023\n\017Stu" + + "bI2CResponse\020\032\022\035\n\031StubOptLimitSwitchRequ" + + "est\020\033\022\036\n\032StubOptLimitSwitchResponse\020\034\022\032\n", + "\026StubSteperMotorRequest\020\035\022\033\n\027StubSteperM" + + "otorResponse\020\036\022\024\n\020StubValveRequest\020\037\022\025\n\021" + + "StubValveResponse\020 \022\033\n\027StubExtFlashReadR" + + "equest\020!\022\034\n\030StubExtFlashReadResponse\020\"\022\034" + + "\n\030StubExtFlashWriteRequest\020#\022\035\n\031StubExtF" + + "lashWriteResponse\020$\022\036\n\032StubFPGAReadBackR" + + "egRequest\020%\022\037\n\033StubFPGAReadBackRegRespon" + + "se\020&\022\036\n\032StubFPGAReadVersionRequest\020\'\022\037\n\033" + + "StubFPGAReadVersionResponse\020(\022\032\n\026StubL64" + + "70DriverRequest\020)\022\033\n\027StubL6470DriverResp", + "onse\020*\022\030\n\024StubMotorInitRequest\020+\022\031\n\025Stub" + + "MotorInitResponse\020,\022\027\n\023StubMotorRunReque" + + "st\020-\022\030\n\024StubMotorRunResponse\020.\022\030\n\024StubMo" + + "torStopRequest\020/\022\031\n\025StubMotorStopRespons" + + "e\0200\022\032\n\026StubMotorStatusRequest\0201\022\033\n\027StubM" + + "otorStatusResponse\0202\022\027\n\023StubMotorMovRequ" + + "est\0203\022\030\n\024StubMotorMovResponse\0204\022\031\n\025StubM" + + "otorSpeedRequest\0205\022\032\n\026StubMotorSpeedResp" + + "onse\0206\022\034\n\030StubMotorPositionRequest\0207\022\035\n\031" + + "StubMotorPositionResponse\0208\022\030\n\024StubHWVer", + "sionRequest\0209\022\031\n\025StubHWVersionResponse\020:" + + "\022\033\n\027StubF3Gpo01WriteRequest\020;\022\034\n\030StubF3G" + + "po01WriteResponse\020<\022\032\n\026StubHeatingTestRe" + + "quest\020=\022\033\n\027StubHeatingTestResponse\020>\022\036\n\032" + + "StubHeatingTestPollRequest\020?\022\037\n\033StubHeat" + + "ingTestPollResponse\020@\022\024\n\020StubMotorReques" + + "t\020A\022\025\n\021StubMotorResponse\020B\022\034\n\030StubMotorH" + + "omeMarkRequest\020C\022\035\n\031StubMotorHomeMarkRes" + + "ponse\020D\022\037\n\033StubMotorRunStepTickRequest\020E" + + "\022 \n\034StubMotorRunStepTickResponse\020F\022\032\n\026St", + "ubFpgaReadRegRequest\020G\022\033\n\027StubFpgaReadRe" + + "gResponse\020H\022\033\n\027StubFpgaWriteRegRequest\020I" + + "\022\034\n\030StubFpgaWriteRegResponse\020J\022\"\n\036StubRe" + + "adEmbeddedVersionRequest\020K\022#\n\037StubReadEm" + + "beddedVersionResponse\020L\022\032\n\026StubTivaReadR" + + "egRequest\020M\022\033\n\027StubTivaReadRegResponse\020N" + + "\022\033\n\027StubTivaWriteRegRequest\020O\022\034\n\030StubTiv" + + "aWriteRegResponse\020P\022\035\n\031StubDancerPositio" + + "nRequest\020Q\022\036\n\032StubDancerPositionResponse" + + "\020R\022\032\n\026StubSpeedSensorRequest\020S\022\033\n\027StubSp", + "eedSensorResponse\020T\022\034\n\030StubRealTimeUsage" + + "Request\020U\022\035\n\031StubRealTimeUsageResponse\020V" + + "\022\031\n\025StubIntADCReadRequest\020W\022\032\n\026StubIntAD" + + "CReadResponse\020X\022\031\n\025StubTempSensorRequest" + + "\020Y\022\032\n\026StubTempSensorResponse\020Z\022\033\n\027StubI2" + + "CReadBytesRequest\020[\022\034\n\030StubI2CReadBytesR" + + "esponse\020\\\022\034\n\030StubI2CWriteBytesRequest\020]\022" + + "\035\n\031StubI2CWriteBytesResponse\020^\022!\n\035StubEx" + + "tFlashWriteWordsRequest\020_\022\"\n\036StubExtFlas" + + "hWriteWordsResponse\020`\022 \n\034StubExtFlashRea", + "dWordsRequest\020a\022!\n\035StubExtFlashReadWords" + + "Response\020b\022\022\n\016StubJobRequest\020c\022\023\n\017StubJo" + + "bResponse\020d\022\027\n\023StubAbortJobRequest\020e\022\030\n\024" + + "StubAbortJobResponse\020f\022$\n StubMidTankPre" + + "ssureSensorRequest\020g\022%\n!StubMidTankPress" + + "ureSensorResponse\020h\022%\n ExternalBridgeUdp" + + "DiscoveryPacket\020\350\007\022\037\n\032ExternalBridgeLogi" + + "nRequest\020\351\007\022 \n\033ExternalBridgeLoginRespon" + + "se\020\352\007\022 \n\033ExternalBridgeLogoutRequest\020\353\007\022" + + "!\n\034ExternalBridgeLogoutResponse\020\354\007\022!\n\034Di", + "rectSynchronizationRequest\020\355\007\022\"\n\035DirectS" + + "ynchronizationResponse\020\356\007\022\034\n\027OverrideDat" + + "aBaseRequest\020\357\007\022\035\n\030OverrideDataBaseRespo" + + "nse\020\360\007\022 \n\033StartApplicationLogsRequest\020\361\007" + + "\022!\n\034StartApplicationLogsResponse\020\362\007\022\037\n\032S" + + "topApplicationLogsRequest\020\363\007\022 \n\033StopAppl" + + "icationLogsResponse\020\364\007\022\034\n\027StartDiagnosti" + + "csRequest\020\320\017\022\035\n\030StartDiagnosticsResponse" + + "\020\321\017\022\034\n\027MotorAbortHomingRequest\020\322\017\022\035\n\030Mot" + + "orAbortHomingResponse\020\323\017\022\027\n\022MotorHomingR", + "equest\020\324\017\022\030\n\023MotorHomingResponse\020\325\017\022\030\n\023M" + + "otorJoggingRequest\020\326\017\022\031\n\024MotorJoggingRes" + + "ponse\020\327\017\022\035\n\030MotorAbortJoggingRequest\020\330\017\022" + + "\036\n\031MotorAbortJoggingResponse\020\331\017\022 \n\033Dispe" + + "nserAbortHomingRequest\020\332\017\022!\n\034DispenserAb" + + "ortHomingResponse\020\333\017\022\033\n\026DispenserHomingR" + + "equest\020\334\017\022\034\n\027DispenserHomingResponse\020\335\017\022" + + "\034\n\027DispenserJoggingRequest\020\336\017\022\035\n\030Dispens" + + "erJoggingResponse\020\337\017\022!\n\034DispenserAbortJo" + + "ggingRequest\020\340\017\022\"\n\035DispenserAbortJogging", + "Response\020\341\017\022\031\n\024SetDigitalOutRequest\020\342\017\022\032" + + "\n\025SetDigitalOutResponse\020\343\017\022\031\n\024ThreadJogg" + + "ingRequest\020\344\017\022\032\n\025ThreadJoggingResponse\020\345" + + "\017\022\036\n\031ThreadAbortJoggingRequest\020\346\017\022\037\n\032Thr" + + "eadAbortJoggingResponse\020\347\017\022\035\n\030SetCompone" + + "ntValueRequest\020\350\017\022\036\n\031SetComponentValueRe" + + "sponse\020\351\017\022\030\n\023ResolveEventRequest\020\352\017\022\031\n\024R" + + "esolveEventResponse\020\353\017\022\033\n\026StopDiagnostic" + + "sRequest\020\354\017\022\034\n\027StopDiagnosticsResponse\020\355" + + "\017\022#\n\036StartEventsNotificationRequest\020\356\017\022$", + "\n\037StartEventsNotificationResponse\020\357\017\022\"\n\035" + + "StopEventsNotificationRequest\020\360\017\022#\n\036Stop" + + "EventsNotificationResponse\020\361\017\022\032\n\025SetHeat" + + "erStateRequest\020\362\017\022\033\n\026SetHeaterStateRespo" + + "nse\020\363\017\022\032\n\025SetBlowerStateRequest\020\364\017\022\033\n\026Se" + + "tBlowerStateResponse\020\365\017\022\031\n\024SetValveState" + + "Request\020\366\017\022\032\n\025SetValveStateResponse\020\367\017\022\017" + + "\n\nJobRequest\020\270\027\022\020\n\013JobResponse\020\271\027\022\024\n\017Abo" + + "rtJobRequest\020\272\027\022\025\n\020AbortJobResponse\020\273\027\022#" + + "\n\036UploadProcessParametersRequest\020\274\027\022$\n\037U", + "ploadProcessParametersResponse\020\275\027\022\026\n\021Cur" + + "rentJobRequest\020\276\027\022\027\n\022CurrentJobResponse\020" + + "\277\027\022\034\n\027ResumeCurrentJobRequest\020\300\027\022\035\n\030Resu" + + "meCurrentJobResponse\020\301\027\022\031\n\024StartDebugLog" + + "Request\020\240\037\022\032\n\025StartDebugLogResponse\020\241\037\022\030" + + "\n\023StopDebugLogRequest\020\242\037\022\031\n\024StopDebugLog" + + "Response\020\243\037\022\'\n\"UploadHardwareConfigurati" + + "onRequest\020\210\'\022(\n#UploadHardwareConfigurat" + + "ionResponse\020\211\'\022\027\n\022SystemResetRequest\020\212\'\022" + + "\030\n\023SystemResetResponse\020\213\'\022\025\n\020KeepAliveRe", + "quest\020\360.\022\026\n\021KeepAliveResponse\020\361.\022\023\n\016Conn" + + "ectRequest\020\362.\022\024\n\017ConnectResponse\020\363.\022\026\n\021D" + + "isconnectRequest\020\364.\022\027\n\022DisconnectRespons" + + "e\020\365.\022\026\n\021FileUploadRequest\020\3306\022\027\n\022FileUplo" + + "adResponse\020\3316\022\033\n\026FileChunkUploadRequest\020" + + "\3326\022\034\n\027FileChunkUploadResponse\020\3336\022\032\n\025Exec" + + "uteProcessRequest\020\3346\022\033\n\026ExecuteProcessRe" + + "sponse\020\3356\022\027\n\022KillProcessRequest\020\3366\022\030\n\023Ki" + + "llProcessResponse\020\3376\022\022\n\rCreateRequest\020\3406" + + "\022\023\n\016CreateResponse\020\3416\022\022\n\rDeleteRequest\020\342", + "6\022\023\n\016DeleteResponse\020\3436\022\032\n\025GetStorageInfo" + + "Request\020\3446\022\033\n\026GetStorageInfoResponse\020\3456\022" + + "\024\n\017GetFilesRequest\020\3466\022\025\n\020GetFilesRespons" + + "e\020\3476\022\030\n\023FileDownloadRequest\020\3506\022\031\n\024FileDo" + + "wnloadResponse\020\3516\022\035\n\030FileChunkDownloadRe" + + "quest\020\3526\022\036\n\031FileChunkDownloadResponse\020\3536" + + "\022\033\n\026ValidateVersionRequest\020\3546\022\034\n\027Validat" + + "eVersionResponse\020\3556\022\033\n\026ActivateVersionRe" + + "quest\020\3566\022\034\n\027ActivateVersionResponse\020\3576B\034" + + "\n\032com.twine.tango.pmr.commonb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/connection/ConnectRequestOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/connection/ConnectRequestOuterClass.java new file mode 100644 index 000000000..bdafc4d0f --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/connection/ConnectRequestOuterClass.java @@ -0,0 +1,579 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ConnectRequest.proto + +package com.twine.tango.pmr.connection; + +public final class ConnectRequestOuterClass { + private ConnectRequestOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface ConnectRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Connection.ConnectRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>string Password = 1;</code> + */ + java.lang.String getPassword(); + /** + * <code>string Password = 1;</code> + */ + com.google.protobuf.ByteString + getPasswordBytes(); + } + /** + * Protobuf type {@code Tango.PMR.Connection.ConnectRequest} + */ + public static final class ConnectRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Connection.ConnectRequest) + ConnectRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ConnectRequest.newBuilder() to construct. + private ConnectRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private ConnectRequest() { + password_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ConnectRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + password_ = s; + 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.twine.tango.pmr.connection.ConnectRequestOuterClass.internal_static_Tango_PMR_Connection_ConnectRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.connection.ConnectRequestOuterClass.internal_static_Tango_PMR_Connection_ConnectRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest.class, com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest.Builder.class); + } + + public static final int PASSWORD_FIELD_NUMBER = 1; + private volatile java.lang.Object password_; + /** + * <code>string Password = 1;</code> + */ + public java.lang.String getPassword() { + java.lang.Object ref = password_; + 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(); + password_ = s; + return s; + } + } + /** + * <code>string Password = 1;</code> + */ + public com.google.protobuf.ByteString + getPasswordBytes() { + java.lang.Object ref = password_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + password_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getPasswordBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, password_); + } + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getPasswordBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, password_); + } + 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.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest)) { + return super.equals(obj); + } + com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest other = (com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest) obj; + + boolean result = true; + result = result && getPassword() + .equals(other.getPassword()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PASSWORD_FIELD_NUMBER; + hash = (53 * hash) + getPassword().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest 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.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest 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.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Connection.ConnectRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Connection.ConnectRequest) + com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.connection.ConnectRequestOuterClass.internal_static_Tango_PMR_Connection_ConnectRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.connection.ConnectRequestOuterClass.internal_static_Tango_PMR_Connection_ConnectRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest.class, com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest.Builder.class); + } + + // Construct using com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + password_ = ""; + + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.connection.ConnectRequestOuterClass.internal_static_Tango_PMR_Connection_ConnectRequest_descriptor; + } + + public com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest getDefaultInstanceForType() { + return com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest.getDefaultInstance(); + } + + public com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest build() { + com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest buildPartial() { + com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest result = new com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest(this); + result.password_ = password_; + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest) { + return mergeFrom((com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest other) { + if (other == com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest.getDefaultInstance()) return this; + if (!other.getPassword().isEmpty()) { + password_ = other.password_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object password_ = ""; + /** + * <code>string Password = 1;</code> + */ + public java.lang.String getPassword() { + java.lang.Object ref = password_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + password_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>string Password = 1;</code> + */ + public com.google.protobuf.ByteString + getPasswordBytes() { + java.lang.Object ref = password_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + password_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>string Password = 1;</code> + */ + public Builder setPassword( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + password_ = value; + onChanged(); + return this; + } + /** + * <code>string Password = 1;</code> + */ + public Builder clearPassword() { + + password_ = getDefaultInstance().getPassword(); + onChanged(); + return this; + } + /** + * <code>string Password = 1;</code> + */ + public Builder setPasswordBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + password_ = value; + onChanged(); + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Connection.ConnectRequest) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Connection.ConnectRequest) + private static final com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest(); + } + + public static com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<ConnectRequest> + PARSER = new com.google.protobuf.AbstractParser<ConnectRequest>() { + public ConnectRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConnectRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<ConnectRequest> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<ConnectRequest> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.connection.ConnectRequestOuterClass.ConnectRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Connection_ConnectRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Connection_ConnectRequest_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\024ConnectRequest.proto\022\024Tango.PMR.Connec" + + "tion\"\"\n\016ConnectRequest\022\020\n\010Password\030\001 \001(\t" + + "B \n\036com.twine.tango.pmr.connectionb\006prot" + + "o3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + internal_static_Tango_PMR_Connection_ConnectRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Connection_ConnectRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Connection_ConnectRequest_descriptor, + new java.lang.String[] { "Password", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/connection/ConnectResponseOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/connection/ConnectResponseOuterClass.java new file mode 100644 index 000000000..72af98904 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/connection/ConnectResponseOuterClass.java @@ -0,0 +1,639 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ConnectResponse.proto + +package com.twine.tango.pmr.connection; + +public final class ConnectResponseOuterClass { + private ConnectResponseOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface ConnectResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Connection.ConnectResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 1;</code> + */ + boolean hasDeviceInformation(); + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 1;</code> + */ + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation getDeviceInformation(); + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 1;</code> + */ + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformationOrBuilder getDeviceInformationOrBuilder(); + } + /** + * Protobuf type {@code Tango.PMR.Connection.ConnectResponse} + */ + public static final class ConnectResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Connection.ConnectResponse) + ConnectResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ConnectResponse.newBuilder() to construct. + private ConnectResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private ConnectResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ConnectResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.Builder subBuilder = null; + if (deviceInformation_ != null) { + subBuilder = deviceInformation_.toBuilder(); + } + deviceInformation_ = input.readMessage(com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(deviceInformation_); + deviceInformation_ = subBuilder.buildPartial(); + } + + 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.twine.tango.pmr.connection.ConnectResponseOuterClass.internal_static_Tango_PMR_Connection_ConnectResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.connection.ConnectResponseOuterClass.internal_static_Tango_PMR_Connection_ConnectResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse.class, com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse.Builder.class); + } + + public static final int DEVICEINFORMATION_FIELD_NUMBER = 1; + private com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation deviceInformation_; + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 1;</code> + */ + public boolean hasDeviceInformation() { + return deviceInformation_ != null; + } + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 1;</code> + */ + public com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation getDeviceInformation() { + return deviceInformation_ == null ? com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.getDefaultInstance() : deviceInformation_; + } + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 1;</code> + */ + public com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformationOrBuilder getDeviceInformationOrBuilder() { + return getDeviceInformation(); + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (deviceInformation_ != null) { + output.writeMessage(1, getDeviceInformation()); + } + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (deviceInformation_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getDeviceInformation()); + } + 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.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse)) { + return super.equals(obj); + } + com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse other = (com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse) obj; + + boolean result = true; + result = result && (hasDeviceInformation() == other.hasDeviceInformation()); + if (hasDeviceInformation()) { + result = result && getDeviceInformation() + .equals(other.getDeviceInformation()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (hasDeviceInformation()) { + hash = (37 * hash) + DEVICEINFORMATION_FIELD_NUMBER; + hash = (53 * hash) + getDeviceInformation().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse 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.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse 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.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Connection.ConnectResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Connection.ConnectResponse) + com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.connection.ConnectResponseOuterClass.internal_static_Tango_PMR_Connection_ConnectResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.connection.ConnectResponseOuterClass.internal_static_Tango_PMR_Connection_ConnectResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse.class, com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse.Builder.class); + } + + // Construct using com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + if (deviceInformationBuilder_ == null) { + deviceInformation_ = null; + } else { + deviceInformation_ = null; + deviceInformationBuilder_ = null; + } + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.connection.ConnectResponseOuterClass.internal_static_Tango_PMR_Connection_ConnectResponse_descriptor; + } + + public com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse getDefaultInstanceForType() { + return com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse.getDefaultInstance(); + } + + public com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse build() { + com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse buildPartial() { + com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse result = new com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse(this); + if (deviceInformationBuilder_ == null) { + result.deviceInformation_ = deviceInformation_; + } else { + result.deviceInformation_ = deviceInformationBuilder_.build(); + } + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse) { + return mergeFrom((com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse other) { + if (other == com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse.getDefaultInstance()) return this; + if (other.hasDeviceInformation()) { + mergeDeviceInformation(other.getDeviceInformation()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation deviceInformation_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation, com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.Builder, com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformationOrBuilder> deviceInformationBuilder_; + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 1;</code> + */ + public boolean hasDeviceInformation() { + return deviceInformationBuilder_ != null || deviceInformation_ != null; + } + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 1;</code> + */ + public com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation getDeviceInformation() { + if (deviceInformationBuilder_ == null) { + return deviceInformation_ == null ? com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.getDefaultInstance() : deviceInformation_; + } else { + return deviceInformationBuilder_.getMessage(); + } + } + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 1;</code> + */ + public Builder setDeviceInformation(com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation value) { + if (deviceInformationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + deviceInformation_ = value; + onChanged(); + } else { + deviceInformationBuilder_.setMessage(value); + } + + return this; + } + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 1;</code> + */ + public Builder setDeviceInformation( + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.Builder builderForValue) { + if (deviceInformationBuilder_ == null) { + deviceInformation_ = builderForValue.build(); + onChanged(); + } else { + deviceInformationBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 1;</code> + */ + public Builder mergeDeviceInformation(com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation value) { + if (deviceInformationBuilder_ == null) { + if (deviceInformation_ != null) { + deviceInformation_ = + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.newBuilder(deviceInformation_).mergeFrom(value).buildPartial(); + } else { + deviceInformation_ = value; + } + onChanged(); + } else { + deviceInformationBuilder_.mergeFrom(value); + } + + return this; + } + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 1;</code> + */ + public Builder clearDeviceInformation() { + if (deviceInformationBuilder_ == null) { + deviceInformation_ = null; + onChanged(); + } else { + deviceInformation_ = null; + deviceInformationBuilder_ = null; + } + + return this; + } + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 1;</code> + */ + public com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.Builder getDeviceInformationBuilder() { + + onChanged(); + return getDeviceInformationFieldBuilder().getBuilder(); + } + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 1;</code> + */ + public com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformationOrBuilder getDeviceInformationOrBuilder() { + if (deviceInformationBuilder_ != null) { + return deviceInformationBuilder_.getMessageOrBuilder(); + } else { + return deviceInformation_ == null ? + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.getDefaultInstance() : deviceInformation_; + } + } + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 1;</code> + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation, com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.Builder, com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformationOrBuilder> + getDeviceInformationFieldBuilder() { + if (deviceInformationBuilder_ == null) { + deviceInformationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation, com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.Builder, com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformationOrBuilder>( + getDeviceInformation(), + getParentForChildren(), + isClean()); + deviceInformation_ = null; + } + return deviceInformationBuilder_; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Connection.ConnectResponse) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Connection.ConnectResponse) + private static final com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse(); + } + + public static com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<ConnectResponse> + PARSER = new com.google.protobuf.AbstractParser<ConnectResponse>() { + public ConnectResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ConnectResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<ConnectResponse> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<ConnectResponse> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.connection.ConnectResponseOuterClass.ConnectResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Connection_ConnectResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Connection_ConnectResponse_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\025ConnectResponse.proto\022\024Tango.PMR.Conne" + + "ction\032\027DeviceInformation.proto\"U\n\017Connec" + + "tResponse\022B\n\021DeviceInformation\030\001 \001(\0132\'.T" + + "ango.PMR.Connection.DeviceInformationB \n" + + "\036com.twine.tango.pmr.connectionb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.twine.tango.pmr.connection.DeviceInformationOuterClass.getDescriptor(), + }, assigner); + internal_static_Tango_PMR_Connection_ConnectResponse_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Connection_ConnectResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Connection_ConnectResponse_descriptor, + new java.lang.String[] { "DeviceInformation", }); + com.twine.tango.pmr.connection.DeviceInformationOuterClass.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/connection/DeviceInformationOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/connection/DeviceInformationOuterClass.java new file mode 100644 index 000000000..d8f1b7770 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/connection/DeviceInformationOuterClass.java @@ -0,0 +1,1541 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: DeviceInformation.proto + +package com.twine.tango.pmr.connection; + +public final class DeviceInformationOuterClass { + private DeviceInformationOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface DeviceInformationOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Connection.DeviceInformation) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>string Name = 1;</code> + */ + java.lang.String getName(); + /** + * <code>string Name = 1;</code> + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + * <code>string Version = 2;</code> + */ + java.lang.String getVersion(); + /** + * <code>string Version = 2;</code> + */ + com.google.protobuf.ByteString + getVersionBytes(); + + /** + * <code>string BuildDate = 3;</code> + */ + java.lang.String getBuildDate(); + /** + * <code>string BuildDate = 3;</code> + */ + com.google.protobuf.ByteString + getBuildDateBytes(); + + /** + * <code>string BoardRevision = 4;</code> + */ + java.lang.String getBoardRevision(); + /** + * <code>string BoardRevision = 4;</code> + */ + com.google.protobuf.ByteString + getBoardRevisionBytes(); + + /** + * <code>string AssemblyVersion = 5;</code> + */ + java.lang.String getAssemblyVersion(); + /** + * <code>string AssemblyVersion = 5;</code> + */ + com.google.protobuf.ByteString + getAssemblyVersionBytes(); + + /** + * <code>string FPGA1Version = 6;</code> + */ + java.lang.String getFPGA1Version(); + /** + * <code>string FPGA1Version = 6;</code> + */ + com.google.protobuf.ByteString + getFPGA1VersionBytes(); + + /** + * <code>string FPGA2Version = 7;</code> + */ + java.lang.String getFPGA2Version(); + /** + * <code>string FPGA2Version = 7;</code> + */ + com.google.protobuf.ByteString + getFPGA2VersionBytes(); + + /** + * <code>string FPGA3Version = 8;</code> + */ + java.lang.String getFPGA3Version(); + /** + * <code>string FPGA3Version = 8;</code> + */ + com.google.protobuf.ByteString + getFPGA3VersionBytes(); + } + /** + * Protobuf type {@code Tango.PMR.Connection.DeviceInformation} + */ + public static final class DeviceInformation extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Connection.DeviceInformation) + DeviceInformationOrBuilder { + private static final long serialVersionUID = 0L; + // Use DeviceInformation.newBuilder() to construct. + private DeviceInformation(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private DeviceInformation() { + name_ = ""; + version_ = ""; + buildDate_ = ""; + boardRevision_ = ""; + assemblyVersion_ = ""; + fPGA1Version_ = ""; + fPGA2Version_ = ""; + fPGA3Version_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DeviceInformation( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + name_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + version_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + buildDate_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + boardRevision_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + assemblyVersion_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + + fPGA1Version_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + fPGA2Version_ = s; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + fPGA3Version_ = s; + 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.twine.tango.pmr.connection.DeviceInformationOuterClass.internal_static_Tango_PMR_Connection_DeviceInformation_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.connection.DeviceInformationOuterClass.internal_static_Tango_PMR_Connection_DeviceInformation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.class, com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * <code>string Name = 1;</code> + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * <code>string Name = 1;</code> + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VERSION_FIELD_NUMBER = 2; + private volatile java.lang.Object version_; + /** + * <code>string Version = 2;</code> + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + 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(); + version_ = s; + return s; + } + } + /** + * <code>string Version = 2;</code> + */ + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int BUILDDATE_FIELD_NUMBER = 3; + private volatile java.lang.Object buildDate_; + /** + * <code>string BuildDate = 3;</code> + */ + public java.lang.String getBuildDate() { + java.lang.Object ref = buildDate_; + 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(); + buildDate_ = s; + return s; + } + } + /** + * <code>string BuildDate = 3;</code> + */ + public com.google.protobuf.ByteString + getBuildDateBytes() { + java.lang.Object ref = buildDate_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + buildDate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int BOARDREVISION_FIELD_NUMBER = 4; + private volatile java.lang.Object boardRevision_; + /** + * <code>string BoardRevision = 4;</code> + */ + public java.lang.String getBoardRevision() { + java.lang.Object ref = boardRevision_; + 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(); + boardRevision_ = s; + return s; + } + } + /** + * <code>string BoardRevision = 4;</code> + */ + public com.google.protobuf.ByteString + getBoardRevisionBytes() { + java.lang.Object ref = boardRevision_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + boardRevision_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ASSEMBLYVERSION_FIELD_NUMBER = 5; + private volatile java.lang.Object assemblyVersion_; + /** + * <code>string AssemblyVersion = 5;</code> + */ + public java.lang.String getAssemblyVersion() { + java.lang.Object ref = assemblyVersion_; + 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(); + assemblyVersion_ = s; + return s; + } + } + /** + * <code>string AssemblyVersion = 5;</code> + */ + public com.google.protobuf.ByteString + getAssemblyVersionBytes() { + java.lang.Object ref = assemblyVersion_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + assemblyVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FPGA1VERSION_FIELD_NUMBER = 6; + private volatile java.lang.Object fPGA1Version_; + /** + * <code>string FPGA1Version = 6;</code> + */ + public java.lang.String getFPGA1Version() { + java.lang.Object ref = fPGA1Version_; + 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(); + fPGA1Version_ = s; + return s; + } + } + /** + * <code>string FPGA1Version = 6;</code> + */ + public com.google.protobuf.ByteString + getFPGA1VersionBytes() { + java.lang.Object ref = fPGA1Version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fPGA1Version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FPGA2VERSION_FIELD_NUMBER = 7; + private volatile java.lang.Object fPGA2Version_; + /** + * <code>string FPGA2Version = 7;</code> + */ + public java.lang.String getFPGA2Version() { + java.lang.Object ref = fPGA2Version_; + 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(); + fPGA2Version_ = s; + return s; + } + } + /** + * <code>string FPGA2Version = 7;</code> + */ + public com.google.protobuf.ByteString + getFPGA2VersionBytes() { + java.lang.Object ref = fPGA2Version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fPGA2Version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int FPGA3VERSION_FIELD_NUMBER = 8; + private volatile java.lang.Object fPGA3Version_; + /** + * <code>string FPGA3Version = 8;</code> + */ + public java.lang.String getFPGA3Version() { + java.lang.Object ref = fPGA3Version_; + 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(); + fPGA3Version_ = s; + return s; + } + } + /** + * <code>string FPGA3Version = 8;</code> + */ + public com.google.protobuf.ByteString + getFPGA3VersionBytes() { + java.lang.Object ref = fPGA3Version_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fPGA3Version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getNameBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (!getVersionBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, version_); + } + if (!getBuildDateBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, buildDate_); + } + if (!getBoardRevisionBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, boardRevision_); + } + if (!getAssemblyVersionBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, assemblyVersion_); + } + if (!getFPGA1VersionBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, fPGA1Version_); + } + if (!getFPGA2VersionBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, fPGA2Version_); + } + if (!getFPGA3VersionBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, fPGA3Version_); + } + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getNameBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (!getVersionBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, version_); + } + if (!getBuildDateBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, buildDate_); + } + if (!getBoardRevisionBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, boardRevision_); + } + if (!getAssemblyVersionBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, assemblyVersion_); + } + if (!getFPGA1VersionBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, fPGA1Version_); + } + if (!getFPGA2VersionBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, fPGA2Version_); + } + if (!getFPGA3VersionBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, fPGA3Version_); + } + 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.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation)) { + return super.equals(obj); + } + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation other = (com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation) obj; + + boolean result = true; + result = result && getName() + .equals(other.getName()); + result = result && getVersion() + .equals(other.getVersion()); + result = result && getBuildDate() + .equals(other.getBuildDate()); + result = result && getBoardRevision() + .equals(other.getBoardRevision()); + result = result && getAssemblyVersion() + .equals(other.getAssemblyVersion()); + result = result && getFPGA1Version() + .equals(other.getFPGA1Version()); + result = result && getFPGA2Version() + .equals(other.getFPGA2Version()); + result = result && getFPGA3Version() + .equals(other.getFPGA3Version()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + VERSION_FIELD_NUMBER; + hash = (53 * hash) + getVersion().hashCode(); + hash = (37 * hash) + BUILDDATE_FIELD_NUMBER; + hash = (53 * hash) + getBuildDate().hashCode(); + hash = (37 * hash) + BOARDREVISION_FIELD_NUMBER; + hash = (53 * hash) + getBoardRevision().hashCode(); + hash = (37 * hash) + ASSEMBLYVERSION_FIELD_NUMBER; + hash = (53 * hash) + getAssemblyVersion().hashCode(); + hash = (37 * hash) + FPGA1VERSION_FIELD_NUMBER; + hash = (53 * hash) + getFPGA1Version().hashCode(); + hash = (37 * hash) + FPGA2VERSION_FIELD_NUMBER; + hash = (53 * hash) + getFPGA2Version().hashCode(); + hash = (37 * hash) + FPGA3VERSION_FIELD_NUMBER; + hash = (53 * hash) + getFPGA3Version().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation 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.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation 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.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Connection.DeviceInformation} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Connection.DeviceInformation) + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformationOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.connection.DeviceInformationOuterClass.internal_static_Tango_PMR_Connection_DeviceInformation_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.connection.DeviceInformationOuterClass.internal_static_Tango_PMR_Connection_DeviceInformation_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.class, com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.Builder.class); + } + + // Construct using com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + name_ = ""; + + version_ = ""; + + buildDate_ = ""; + + boardRevision_ = ""; + + assemblyVersion_ = ""; + + fPGA1Version_ = ""; + + fPGA2Version_ = ""; + + fPGA3Version_ = ""; + + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.connection.DeviceInformationOuterClass.internal_static_Tango_PMR_Connection_DeviceInformation_descriptor; + } + + public com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation getDefaultInstanceForType() { + return com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.getDefaultInstance(); + } + + public com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation build() { + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation buildPartial() { + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation result = new com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation(this); + result.name_ = name_; + result.version_ = version_; + result.buildDate_ = buildDate_; + result.boardRevision_ = boardRevision_; + result.assemblyVersion_ = assemblyVersion_; + result.fPGA1Version_ = fPGA1Version_; + result.fPGA2Version_ = fPGA2Version_; + result.fPGA3Version_ = fPGA3Version_; + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation) { + return mergeFrom((com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation other) { + if (other == com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (!other.getVersion().isEmpty()) { + version_ = other.version_; + onChanged(); + } + if (!other.getBuildDate().isEmpty()) { + buildDate_ = other.buildDate_; + onChanged(); + } + if (!other.getBoardRevision().isEmpty()) { + boardRevision_ = other.boardRevision_; + onChanged(); + } + if (!other.getAssemblyVersion().isEmpty()) { + assemblyVersion_ = other.assemblyVersion_; + onChanged(); + } + if (!other.getFPGA1Version().isEmpty()) { + fPGA1Version_ = other.fPGA1Version_; + onChanged(); + } + if (!other.getFPGA2Version().isEmpty()) { + fPGA2Version_ = other.fPGA2Version_; + onChanged(); + } + if (!other.getFPGA3Version().isEmpty()) { + fPGA3Version_ = other.fPGA3Version_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object name_ = ""; + /** + * <code>string Name = 1;</code> + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>string Name = 1;</code> + */ + public com.google.protobuf.ByteString + getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>string Name = 1;</code> + */ + public Builder setName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * <code>string Name = 1;</code> + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * <code>string Name = 1;</code> + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private java.lang.Object version_ = ""; + /** + * <code>string Version = 2;</code> + */ + public java.lang.String getVersion() { + java.lang.Object ref = version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + version_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>string Version = 2;</code> + */ + public com.google.protobuf.ByteString + getVersionBytes() { + java.lang.Object ref = version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>string Version = 2;</code> + */ + public Builder setVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + version_ = value; + onChanged(); + return this; + } + /** + * <code>string Version = 2;</code> + */ + public Builder clearVersion() { + + version_ = getDefaultInstance().getVersion(); + onChanged(); + return this; + } + /** + * <code>string Version = 2;</code> + */ + public Builder setVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + version_ = value; + onChanged(); + return this; + } + + private java.lang.Object buildDate_ = ""; + /** + * <code>string BuildDate = 3;</code> + */ + public java.lang.String getBuildDate() { + java.lang.Object ref = buildDate_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + buildDate_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>string BuildDate = 3;</code> + */ + public com.google.protobuf.ByteString + getBuildDateBytes() { + java.lang.Object ref = buildDate_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + buildDate_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>string BuildDate = 3;</code> + */ + public Builder setBuildDate( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + buildDate_ = value; + onChanged(); + return this; + } + /** + * <code>string BuildDate = 3;</code> + */ + public Builder clearBuildDate() { + + buildDate_ = getDefaultInstance().getBuildDate(); + onChanged(); + return this; + } + /** + * <code>string BuildDate = 3;</code> + */ + public Builder setBuildDateBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + buildDate_ = value; + onChanged(); + return this; + } + + private java.lang.Object boardRevision_ = ""; + /** + * <code>string BoardRevision = 4;</code> + */ + public java.lang.String getBoardRevision() { + java.lang.Object ref = boardRevision_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + boardRevision_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>string BoardRevision = 4;</code> + */ + public com.google.protobuf.ByteString + getBoardRevisionBytes() { + java.lang.Object ref = boardRevision_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + boardRevision_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>string BoardRevision = 4;</code> + */ + public Builder setBoardRevision( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + boardRevision_ = value; + onChanged(); + return this; + } + /** + * <code>string BoardRevision = 4;</code> + */ + public Builder clearBoardRevision() { + + boardRevision_ = getDefaultInstance().getBoardRevision(); + onChanged(); + return this; + } + /** + * <code>string BoardRevision = 4;</code> + */ + public Builder setBoardRevisionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + boardRevision_ = value; + onChanged(); + return this; + } + + private java.lang.Object assemblyVersion_ = ""; + /** + * <code>string AssemblyVersion = 5;</code> + */ + public java.lang.String getAssemblyVersion() { + java.lang.Object ref = assemblyVersion_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + assemblyVersion_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>string AssemblyVersion = 5;</code> + */ + public com.google.protobuf.ByteString + getAssemblyVersionBytes() { + java.lang.Object ref = assemblyVersion_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + assemblyVersion_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>string AssemblyVersion = 5;</code> + */ + public Builder setAssemblyVersion( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + assemblyVersion_ = value; + onChanged(); + return this; + } + /** + * <code>string AssemblyVersion = 5;</code> + */ + public Builder clearAssemblyVersion() { + + assemblyVersion_ = getDefaultInstance().getAssemblyVersion(); + onChanged(); + return this; + } + /** + * <code>string AssemblyVersion = 5;</code> + */ + public Builder setAssemblyVersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + assemblyVersion_ = value; + onChanged(); + return this; + } + + private java.lang.Object fPGA1Version_ = ""; + /** + * <code>string FPGA1Version = 6;</code> + */ + public java.lang.String getFPGA1Version() { + java.lang.Object ref = fPGA1Version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fPGA1Version_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>string FPGA1Version = 6;</code> + */ + public com.google.protobuf.ByteString + getFPGA1VersionBytes() { + java.lang.Object ref = fPGA1Version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fPGA1Version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>string FPGA1Version = 6;</code> + */ + public Builder setFPGA1Version( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + fPGA1Version_ = value; + onChanged(); + return this; + } + /** + * <code>string FPGA1Version = 6;</code> + */ + public Builder clearFPGA1Version() { + + fPGA1Version_ = getDefaultInstance().getFPGA1Version(); + onChanged(); + return this; + } + /** + * <code>string FPGA1Version = 6;</code> + */ + public Builder setFPGA1VersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + fPGA1Version_ = value; + onChanged(); + return this; + } + + private java.lang.Object fPGA2Version_ = ""; + /** + * <code>string FPGA2Version = 7;</code> + */ + public java.lang.String getFPGA2Version() { + java.lang.Object ref = fPGA2Version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fPGA2Version_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>string FPGA2Version = 7;</code> + */ + public com.google.protobuf.ByteString + getFPGA2VersionBytes() { + java.lang.Object ref = fPGA2Version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fPGA2Version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>string FPGA2Version = 7;</code> + */ + public Builder setFPGA2Version( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + fPGA2Version_ = value; + onChanged(); + return this; + } + /** + * <code>string FPGA2Version = 7;</code> + */ + public Builder clearFPGA2Version() { + + fPGA2Version_ = getDefaultInstance().getFPGA2Version(); + onChanged(); + return this; + } + /** + * <code>string FPGA2Version = 7;</code> + */ + public Builder setFPGA2VersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + fPGA2Version_ = value; + onChanged(); + return this; + } + + private java.lang.Object fPGA3Version_ = ""; + /** + * <code>string FPGA3Version = 8;</code> + */ + public java.lang.String getFPGA3Version() { + java.lang.Object ref = fPGA3Version_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fPGA3Version_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>string FPGA3Version = 8;</code> + */ + public com.google.protobuf.ByteString + getFPGA3VersionBytes() { + java.lang.Object ref = fPGA3Version_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + fPGA3Version_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>string FPGA3Version = 8;</code> + */ + public Builder setFPGA3Version( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + fPGA3Version_ = value; + onChanged(); + return this; + } + /** + * <code>string FPGA3Version = 8;</code> + */ + public Builder clearFPGA3Version() { + + fPGA3Version_ = getDefaultInstance().getFPGA3Version(); + onChanged(); + return this; + } + /** + * <code>string FPGA3Version = 8;</code> + */ + public Builder setFPGA3VersionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + fPGA3Version_ = value; + onChanged(); + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Connection.DeviceInformation) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Connection.DeviceInformation) + private static final com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation(); + } + + public static com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<DeviceInformation> + PARSER = new com.google.protobuf.AbstractParser<DeviceInformation>() { + public DeviceInformation parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DeviceInformation(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<DeviceInformation> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<DeviceInformation> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Connection_DeviceInformation_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Connection_DeviceInformation_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\027DeviceInformation.proto\022\024Tango.PMR.Con" + + "nection\"\267\001\n\021DeviceInformation\022\014\n\004Name\030\001 " + + "\001(\t\022\017\n\007Version\030\002 \001(\t\022\021\n\tBuildDate\030\003 \001(\t\022" + + "\025\n\rBoardRevision\030\004 \001(\t\022\027\n\017AssemblyVersio" + + "n\030\005 \001(\t\022\024\n\014FPGA1Version\030\006 \001(\t\022\024\n\014FPGA2Ve" + + "rsion\030\007 \001(\t\022\024\n\014FPGA3Version\030\010 \001(\tB \n\036com" + + ".twine.tango.pmr.connectionb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + internal_static_Tango_PMR_Connection_DeviceInformation_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Connection_DeviceInformation_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Connection_DeviceInformation_descriptor, + new java.lang.String[] { "Name", "Version", "BuildDate", "BoardRevision", "AssemblyVersion", "FPGA1Version", "FPGA2Version", "FPGA3Version", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/connection/DisconnectRequestOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/connection/DisconnectRequestOuterClass.java new file mode 100644 index 000000000..da1607118 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/connection/DisconnectRequestOuterClass.java @@ -0,0 +1,440 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: DisconnectRequest.proto + +package com.twine.tango.pmr.connection; + +public final class DisconnectRequestOuterClass { + private DisconnectRequestOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface DisconnectRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Connection.DisconnectRequest) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code Tango.PMR.Connection.DisconnectRequest} + */ + public static final class DisconnectRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Connection.DisconnectRequest) + DisconnectRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DisconnectRequest.newBuilder() to construct. + private DisconnectRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private DisconnectRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DisconnectRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + 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.twine.tango.pmr.connection.DisconnectRequestOuterClass.internal_static_Tango_PMR_Connection_DisconnectRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.connection.DisconnectRequestOuterClass.internal_static_Tango_PMR_Connection_DisconnectRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest.class, com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest.Builder.class); + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest)) { + return super.equals(obj); + } + com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest other = (com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest) obj; + + boolean result = true; + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest 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.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest 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.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Connection.DisconnectRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Connection.DisconnectRequest) + com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.connection.DisconnectRequestOuterClass.internal_static_Tango_PMR_Connection_DisconnectRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.connection.DisconnectRequestOuterClass.internal_static_Tango_PMR_Connection_DisconnectRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest.class, com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest.Builder.class); + } + + // Construct using com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.connection.DisconnectRequestOuterClass.internal_static_Tango_PMR_Connection_DisconnectRequest_descriptor; + } + + public com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest getDefaultInstanceForType() { + return com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest.getDefaultInstance(); + } + + public com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest build() { + com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest buildPartial() { + com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest result = new com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest(this); + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest) { + return mergeFrom((com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest other) { + if (other == com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Connection.DisconnectRequest) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Connection.DisconnectRequest) + private static final com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest(); + } + + public static com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<DisconnectRequest> + PARSER = new com.google.protobuf.AbstractParser<DisconnectRequest>() { + public DisconnectRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DisconnectRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<DisconnectRequest> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<DisconnectRequest> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.connection.DisconnectRequestOuterClass.DisconnectRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Connection_DisconnectRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Connection_DisconnectRequest_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\027DisconnectRequest.proto\022\024Tango.PMR.Con" + + "nection\"\023\n\021DisconnectRequestB \n\036com.twin" + + "e.tango.pmr.connectionb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + internal_static_Tango_PMR_Connection_DisconnectRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Connection_DisconnectRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Connection_DisconnectRequest_descriptor, + new java.lang.String[] { }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/connection/DisconnectResponseOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/connection/DisconnectResponseOuterClass.java new file mode 100644 index 000000000..abe961f92 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/connection/DisconnectResponseOuterClass.java @@ -0,0 +1,440 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: DisconnectResponse.proto + +package com.twine.tango.pmr.connection; + +public final class DisconnectResponseOuterClass { + private DisconnectResponseOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface DisconnectResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Connection.DisconnectResponse) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code Tango.PMR.Connection.DisconnectResponse} + */ + public static final class DisconnectResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Connection.DisconnectResponse) + DisconnectResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use DisconnectResponse.newBuilder() to construct. + private DisconnectResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private DisconnectResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DisconnectResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + 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.twine.tango.pmr.connection.DisconnectResponseOuterClass.internal_static_Tango_PMR_Connection_DisconnectResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.connection.DisconnectResponseOuterClass.internal_static_Tango_PMR_Connection_DisconnectResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse.class, com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse)) { + return super.equals(obj); + } + com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse other = (com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse) obj; + + boolean result = true; + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse 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.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse 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.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Connection.DisconnectResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Connection.DisconnectResponse) + com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.connection.DisconnectResponseOuterClass.internal_static_Tango_PMR_Connection_DisconnectResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.connection.DisconnectResponseOuterClass.internal_static_Tango_PMR_Connection_DisconnectResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse.class, com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse.Builder.class); + } + + // Construct using com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.connection.DisconnectResponseOuterClass.internal_static_Tango_PMR_Connection_DisconnectResponse_descriptor; + } + + public com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse getDefaultInstanceForType() { + return com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse.getDefaultInstance(); + } + + public com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse build() { + com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse buildPartial() { + com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse result = new com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse(this); + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse) { + return mergeFrom((com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse other) { + if (other == com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Connection.DisconnectResponse) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Connection.DisconnectResponse) + private static final com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse(); + } + + public static com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<DisconnectResponse> + PARSER = new com.google.protobuf.AbstractParser<DisconnectResponse>() { + public DisconnectResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DisconnectResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<DisconnectResponse> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<DisconnectResponse> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.connection.DisconnectResponseOuterClass.DisconnectResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Connection_DisconnectResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Connection_DisconnectResponse_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\030DisconnectResponse.proto\022\024Tango.PMR.Co" + + "nnection\"\024\n\022DisconnectResponseB \n\036com.tw" + + "ine.tango.pmr.connectionb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + internal_static_Tango_PMR_Connection_DisconnectResponse_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Connection_DisconnectResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Connection_DisconnectResponse_descriptor, + new java.lang.String[] { }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/connection/KeepAliveRequestOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/connection/KeepAliveRequestOuterClass.java new file mode 100644 index 000000000..14cd960e1 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/connection/KeepAliveRequestOuterClass.java @@ -0,0 +1,440 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: KeepAliveRequest.proto + +package com.twine.tango.pmr.connection; + +public final class KeepAliveRequestOuterClass { + private KeepAliveRequestOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface KeepAliveRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Connection.KeepAliveRequest) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code Tango.PMR.Connection.KeepAliveRequest} + */ + public static final class KeepAliveRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Connection.KeepAliveRequest) + KeepAliveRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use KeepAliveRequest.newBuilder() to construct. + private KeepAliveRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private KeepAliveRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private KeepAliveRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + 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.twine.tango.pmr.connection.KeepAliveRequestOuterClass.internal_static_Tango_PMR_Connection_KeepAliveRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.internal_static_Tango_PMR_Connection_KeepAliveRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest.class, com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest.Builder.class); + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest)) { + return super.equals(obj); + } + com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest other = (com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest) obj; + + boolean result = true; + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest 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.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest 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.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Connection.KeepAliveRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Connection.KeepAliveRequest) + com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.internal_static_Tango_PMR_Connection_KeepAliveRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.internal_static_Tango_PMR_Connection_KeepAliveRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest.class, com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest.Builder.class); + } + + // Construct using com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.internal_static_Tango_PMR_Connection_KeepAliveRequest_descriptor; + } + + public com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest getDefaultInstanceForType() { + return com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest.getDefaultInstance(); + } + + public com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest build() { + com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest buildPartial() { + com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest result = new com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest(this); + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest) { + return mergeFrom((com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest other) { + if (other == com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Connection.KeepAliveRequest) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Connection.KeepAliveRequest) + private static final com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest(); + } + + public static com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<KeepAliveRequest> + PARSER = new com.google.protobuf.AbstractParser<KeepAliveRequest>() { + public KeepAliveRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KeepAliveRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<KeepAliveRequest> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<KeepAliveRequest> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.connection.KeepAliveRequestOuterClass.KeepAliveRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Connection_KeepAliveRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Connection_KeepAliveRequest_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\026KeepAliveRequest.proto\022\024Tango.PMR.Conn" + + "ection\"\022\n\020KeepAliveRequestB \n\036com.twine." + + "tango.pmr.connectionb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + internal_static_Tango_PMR_Connection_KeepAliveRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Connection_KeepAliveRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Connection_KeepAliveRequest_descriptor, + new java.lang.String[] { }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/connection/KeepAliveResponseOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/connection/KeepAliveResponseOuterClass.java new file mode 100644 index 000000000..1002eda81 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/connection/KeepAliveResponseOuterClass.java @@ -0,0 +1,440 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: KeepAliveResponse.proto + +package com.twine.tango.pmr.connection; + +public final class KeepAliveResponseOuterClass { + private KeepAliveResponseOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface KeepAliveResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Connection.KeepAliveResponse) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code Tango.PMR.Connection.KeepAliveResponse} + */ + public static final class KeepAliveResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Connection.KeepAliveResponse) + KeepAliveResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use KeepAliveResponse.newBuilder() to construct. + private KeepAliveResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private KeepAliveResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private KeepAliveResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + 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.twine.tango.pmr.connection.KeepAliveResponseOuterClass.internal_static_Tango_PMR_Connection_KeepAliveResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.internal_static_Tango_PMR_Connection_KeepAliveResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse.class, com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse)) { + return super.equals(obj); + } + com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse other = (com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse) obj; + + boolean result = true; + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse 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.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse 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.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Connection.KeepAliveResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Connection.KeepAliveResponse) + com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.internal_static_Tango_PMR_Connection_KeepAliveResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.internal_static_Tango_PMR_Connection_KeepAliveResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse.class, com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse.Builder.class); + } + + // Construct using com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.internal_static_Tango_PMR_Connection_KeepAliveResponse_descriptor; + } + + public com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse getDefaultInstanceForType() { + return com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse.getDefaultInstance(); + } + + public com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse build() { + com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse buildPartial() { + com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse result = new com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse(this); + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse) { + return mergeFrom((com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse other) { + if (other == com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Connection.KeepAliveResponse) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Connection.KeepAliveResponse) + private static final com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse(); + } + + public static com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<KeepAliveResponse> + PARSER = new com.google.protobuf.AbstractParser<KeepAliveResponse>() { + public KeepAliveResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new KeepAliveResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<KeepAliveResponse> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<KeepAliveResponse> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.connection.KeepAliveResponseOuterClass.KeepAliveResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Connection_KeepAliveResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Connection_KeepAliveResponse_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\027KeepAliveResponse.proto\022\024Tango.PMR.Con" + + "nection\"\023\n\021KeepAliveResponseB \n\036com.twin" + + "e.tango.pmr.connectionb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + internal_static_Tango_PMR_Connection_KeepAliveResponse_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Connection_KeepAliveResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Connection_KeepAliveResponse_descriptor, + new java.lang.String[] { }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/DirectSynchronizationRequestOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/DirectSynchronizationRequestOuterClass.java new file mode 100644 index 000000000..b2d324b39 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/DirectSynchronizationRequestOuterClass.java @@ -0,0 +1,441 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: DirectSynchronizationRequest.proto + +package com.twine.tango.pmr.integration; + +public final class DirectSynchronizationRequestOuterClass { + private DirectSynchronizationRequestOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface DirectSynchronizationRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Integration.DirectSynchronizationRequest) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code Tango.PMR.Integration.DirectSynchronizationRequest} + */ + public static final class DirectSynchronizationRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Integration.DirectSynchronizationRequest) + DirectSynchronizationRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use DirectSynchronizationRequest.newBuilder() to construct. + private DirectSynchronizationRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private DirectSynchronizationRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DirectSynchronizationRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + 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.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.internal_static_Tango_PMR_Integration_DirectSynchronizationRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.internal_static_Tango_PMR_Integration_DirectSynchronizationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest.class, com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest.Builder.class); + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest)) { + return super.equals(obj); + } + com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest other = (com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest) obj; + + boolean result = true; + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest 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.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest 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.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Integration.DirectSynchronizationRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Integration.DirectSynchronizationRequest) + com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.internal_static_Tango_PMR_Integration_DirectSynchronizationRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.internal_static_Tango_PMR_Integration_DirectSynchronizationRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest.class, com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest.Builder.class); + } + + // Construct using com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.internal_static_Tango_PMR_Integration_DirectSynchronizationRequest_descriptor; + } + + public com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest getDefaultInstanceForType() { + return com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest.getDefaultInstance(); + } + + public com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest build() { + com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest buildPartial() { + com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest result = new com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest(this); + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest) { + return mergeFrom((com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest other) { + if (other == com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Integration.DirectSynchronizationRequest) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Integration.DirectSynchronizationRequest) + private static final com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest(); + } + + public static com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<DirectSynchronizationRequest> + PARSER = new com.google.protobuf.AbstractParser<DirectSynchronizationRequest>() { + public DirectSynchronizationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DirectSynchronizationRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<DirectSynchronizationRequest> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<DirectSynchronizationRequest> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.integration.DirectSynchronizationRequestOuterClass.DirectSynchronizationRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Integration_DirectSynchronizationRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Integration_DirectSynchronizationRequest_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\"DirectSynchronizationRequest.proto\022\025Ta" + + "ngo.PMR.Integration\"\036\n\034DirectSynchroniza" + + "tionRequestB!\n\037com.twine.tango.pmr.integ" + + "rationb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + internal_static_Tango_PMR_Integration_DirectSynchronizationRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Integration_DirectSynchronizationRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Integration_DirectSynchronizationRequest_descriptor, + new java.lang.String[] { }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/DirectSynchronizationResponseOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/DirectSynchronizationResponseOuterClass.java new file mode 100644 index 000000000..e1187ec4b --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/DirectSynchronizationResponseOuterClass.java @@ -0,0 +1,508 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: DirectSynchronizationResponse.proto + +package com.twine.tango.pmr.integration; + +public final class DirectSynchronizationResponseOuterClass { + private DirectSynchronizationResponseOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface DirectSynchronizationResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Integration.DirectSynchronizationResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>bytes LocalDB = 1;</code> + */ + com.google.protobuf.ByteString getLocalDB(); + } + /** + * Protobuf type {@code Tango.PMR.Integration.DirectSynchronizationResponse} + */ + public static final class DirectSynchronizationResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Integration.DirectSynchronizationResponse) + DirectSynchronizationResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use DirectSynchronizationResponse.newBuilder() to construct. + private DirectSynchronizationResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private DirectSynchronizationResponse() { + localDB_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DirectSynchronizationResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + + localDB_ = input.readBytes(); + 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.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.internal_static_Tango_PMR_Integration_DirectSynchronizationResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.internal_static_Tango_PMR_Integration_DirectSynchronizationResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse.class, com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse.Builder.class); + } + + public static final int LOCALDB_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString localDB_; + /** + * <code>bytes LocalDB = 1;</code> + */ + public com.google.protobuf.ByteString getLocalDB() { + return localDB_; + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!localDB_.isEmpty()) { + output.writeBytes(1, localDB_); + } + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!localDB_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, localDB_); + } + 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.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse)) { + return super.equals(obj); + } + com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse other = (com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse) obj; + + boolean result = true; + result = result && getLocalDB() + .equals(other.getLocalDB()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + LOCALDB_FIELD_NUMBER; + hash = (53 * hash) + getLocalDB().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse 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.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse 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.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Integration.DirectSynchronizationResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Integration.DirectSynchronizationResponse) + com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.internal_static_Tango_PMR_Integration_DirectSynchronizationResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.internal_static_Tango_PMR_Integration_DirectSynchronizationResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse.class, com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse.Builder.class); + } + + // Construct using com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + localDB_ = com.google.protobuf.ByteString.EMPTY; + + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.internal_static_Tango_PMR_Integration_DirectSynchronizationResponse_descriptor; + } + + public com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse getDefaultInstanceForType() { + return com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse.getDefaultInstance(); + } + + public com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse build() { + com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse buildPartial() { + com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse result = new com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse(this); + result.localDB_ = localDB_; + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse) { + return mergeFrom((com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse other) { + if (other == com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse.getDefaultInstance()) return this; + if (other.getLocalDB() != com.google.protobuf.ByteString.EMPTY) { + setLocalDB(other.getLocalDB()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.protobuf.ByteString localDB_ = com.google.protobuf.ByteString.EMPTY; + /** + * <code>bytes LocalDB = 1;</code> + */ + public com.google.protobuf.ByteString getLocalDB() { + return localDB_; + } + /** + * <code>bytes LocalDB = 1;</code> + */ + public Builder setLocalDB(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + localDB_ = value; + onChanged(); + return this; + } + /** + * <code>bytes LocalDB = 1;</code> + */ + public Builder clearLocalDB() { + + localDB_ = getDefaultInstance().getLocalDB(); + onChanged(); + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Integration.DirectSynchronizationResponse) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Integration.DirectSynchronizationResponse) + private static final com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse(); + } + + public static com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<DirectSynchronizationResponse> + PARSER = new com.google.protobuf.AbstractParser<DirectSynchronizationResponse>() { + public DirectSynchronizationResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DirectSynchronizationResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<DirectSynchronizationResponse> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<DirectSynchronizationResponse> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.integration.DirectSynchronizationResponseOuterClass.DirectSynchronizationResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Integration_DirectSynchronizationResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Integration_DirectSynchronizationResponse_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#DirectSynchronizationResponse.proto\022\025T" + + "ango.PMR.Integration\"0\n\035DirectSynchroniz" + + "ationResponse\022\017\n\007LocalDB\030\001 \001(\014B!\n\037com.tw" + + "ine.tango.pmr.integrationb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + internal_static_Tango_PMR_Integration_DirectSynchronizationResponse_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Integration_DirectSynchronizationResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Integration_DirectSynchronizationResponse_descriptor, + new java.lang.String[] { "LocalDB", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/ExternalBridgeLoginIntentOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/ExternalBridgeLoginIntentOuterClass.java new file mode 100644 index 000000000..fe3c62e51 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/ExternalBridgeLoginIntentOuterClass.java @@ -0,0 +1,154 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ExternalBridgeLoginIntent.proto + +package com.twine.tango.pmr.integration; + +public final class ExternalBridgeLoginIntentOuterClass { + private ExternalBridgeLoginIntentOuterClass() {} + 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 Tango.PMR.Integration.ExternalBridgeLoginIntent} + */ + public enum ExternalBridgeLoginIntent + implements com.google.protobuf.ProtocolMessageEnum { + /** + * <code>ColorProfile = 0;</code> + */ + ColorProfile(0), + /** + * <code>Diagnostics = 1;</code> + */ + Diagnostics(1), + /** + * <code>FullControl = 2;</code> + */ + FullControl(2), + UNRECOGNIZED(-1), + ; + + /** + * <code>ColorProfile = 0;</code> + */ + public static final int ColorProfile_VALUE = 0; + /** + * <code>Diagnostics = 1;</code> + */ + public static final int Diagnostics_VALUE = 1; + /** + * <code>FullControl = 2;</code> + */ + public static final int FullControl_VALUE = 2; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static ExternalBridgeLoginIntent valueOf(int value) { + return forNumber(value); + } + + public static ExternalBridgeLoginIntent forNumber(int value) { + switch (value) { + case 0: return ColorProfile; + case 1: return Diagnostics; + case 2: return FullControl; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap<ExternalBridgeLoginIntent> + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + ExternalBridgeLoginIntent> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap<ExternalBridgeLoginIntent>() { + public ExternalBridgeLoginIntent findValueByNumber(int number) { + return ExternalBridgeLoginIntent.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { + 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.twine.tango.pmr.integration.ExternalBridgeLoginIntentOuterClass.getDescriptor().getEnumTypes().get(0); + } + + private static final ExternalBridgeLoginIntent[] VALUES = values(); + + public static ExternalBridgeLoginIntent 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 ExternalBridgeLoginIntent(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:Tango.PMR.Integration.ExternalBridgeLoginIntent) + } + + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n\037ExternalBridgeLoginIntent.proto\022\025Tango" + + ".PMR.Integration*O\n\031ExternalBridgeLoginI" + + "ntent\022\020\n\014ColorProfile\020\000\022\017\n\013Diagnostics\020\001" + + "\022\017\n\013FullControl\020\002B!\n\037com.twine.tango.pmr" + + ".integrationb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/ExternalBridgeLoginRequestOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/ExternalBridgeLoginRequestOuterClass.java new file mode 100644 index 000000000..696118559 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/ExternalBridgeLoginRequestOuterClass.java @@ -0,0 +1,1088 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ExternalBridgeLoginRequest.proto + +package com.twine.tango.pmr.integration; + +public final class ExternalBridgeLoginRequestOuterClass { + private ExternalBridgeLoginRequestOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface ExternalBridgeLoginRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Integration.ExternalBridgeLoginRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>string AppID = 1;</code> + */ + java.lang.String getAppID(); + /** + * <code>string AppID = 1;</code> + */ + com.google.protobuf.ByteString + getAppIDBytes(); + + /** + * <code>string UserGuid = 2;</code> + */ + java.lang.String getUserGuid(); + /** + * <code>string UserGuid = 2;</code> + */ + com.google.protobuf.ByteString + getUserGuidBytes(); + + /** + * <code>string HostName = 3;</code> + */ + java.lang.String getHostName(); + /** + * <code>string HostName = 3;</code> + */ + com.google.protobuf.ByteString + getHostNameBytes(); + + /** + * <code>string Password = 4;</code> + */ + java.lang.String getPassword(); + /** + * <code>string Password = 4;</code> + */ + com.google.protobuf.ByteString + getPasswordBytes(); + + /** + * <code>.Tango.PMR.Integration.ExternalBridgeLoginIntent Intent = 5;</code> + */ + int getIntentValue(); + /** + * <code>.Tango.PMR.Integration.ExternalBridgeLoginIntent Intent = 5;</code> + */ + com.twine.tango.pmr.integration.ExternalBridgeLoginIntentOuterClass.ExternalBridgeLoginIntent getIntent(); + } + /** + * Protobuf type {@code Tango.PMR.Integration.ExternalBridgeLoginRequest} + */ + public static final class ExternalBridgeLoginRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Integration.ExternalBridgeLoginRequest) + ExternalBridgeLoginRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExternalBridgeLoginRequest.newBuilder() to construct. + private ExternalBridgeLoginRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private ExternalBridgeLoginRequest() { + appID_ = ""; + userGuid_ = ""; + hostName_ = ""; + password_ = ""; + intent_ = 0; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ExternalBridgeLoginRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + appID_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + userGuid_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + + hostName_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + password_ = s; + break; + } + case 40: { + int rawValue = input.readEnum(); + + intent_ = rawValue; + 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.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeLoginRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeLoginRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest.class, com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest.Builder.class); + } + + public static final int APPID_FIELD_NUMBER = 1; + private volatile java.lang.Object appID_; + /** + * <code>string AppID = 1;</code> + */ + public java.lang.String getAppID() { + java.lang.Object ref = appID_; + 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(); + appID_ = s; + return s; + } + } + /** + * <code>string AppID = 1;</code> + */ + public com.google.protobuf.ByteString + getAppIDBytes() { + java.lang.Object ref = appID_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + appID_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int USERGUID_FIELD_NUMBER = 2; + private volatile java.lang.Object userGuid_; + /** + * <code>string UserGuid = 2;</code> + */ + public java.lang.String getUserGuid() { + java.lang.Object ref = userGuid_; + 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(); + userGuid_ = s; + return s; + } + } + /** + * <code>string UserGuid = 2;</code> + */ + public com.google.protobuf.ByteString + getUserGuidBytes() { + java.lang.Object ref = userGuid_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + userGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int HOSTNAME_FIELD_NUMBER = 3; + private volatile java.lang.Object hostName_; + /** + * <code>string HostName = 3;</code> + */ + public java.lang.String getHostName() { + java.lang.Object ref = hostName_; + 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(); + hostName_ = s; + return s; + } + } + /** + * <code>string HostName = 3;</code> + */ + public com.google.protobuf.ByteString + getHostNameBytes() { + java.lang.Object ref = hostName_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + hostName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PASSWORD_FIELD_NUMBER = 4; + private volatile java.lang.Object password_; + /** + * <code>string Password = 4;</code> + */ + public java.lang.String getPassword() { + java.lang.Object ref = password_; + 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(); + password_ = s; + return s; + } + } + /** + * <code>string Password = 4;</code> + */ + public com.google.protobuf.ByteString + getPasswordBytes() { + java.lang.Object ref = password_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + password_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int INTENT_FIELD_NUMBER = 5; + private int intent_; + /** + * <code>.Tango.PMR.Integration.ExternalBridgeLoginIntent Intent = 5;</code> + */ + public int getIntentValue() { + return intent_; + } + /** + * <code>.Tango.PMR.Integration.ExternalBridgeLoginIntent Intent = 5;</code> + */ + public com.twine.tango.pmr.integration.ExternalBridgeLoginIntentOuterClass.ExternalBridgeLoginIntent getIntent() { + com.twine.tango.pmr.integration.ExternalBridgeLoginIntentOuterClass.ExternalBridgeLoginIntent result = com.twine.tango.pmr.integration.ExternalBridgeLoginIntentOuterClass.ExternalBridgeLoginIntent.valueOf(intent_); + return result == null ? com.twine.tango.pmr.integration.ExternalBridgeLoginIntentOuterClass.ExternalBridgeLoginIntent.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getAppIDBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, appID_); + } + if (!getUserGuidBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, userGuid_); + } + if (!getHostNameBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, hostName_); + } + if (!getPasswordBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 4, password_); + } + if (intent_ != com.twine.tango.pmr.integration.ExternalBridgeLoginIntentOuterClass.ExternalBridgeLoginIntent.ColorProfile.getNumber()) { + output.writeEnum(5, intent_); + } + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getAppIDBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, appID_); + } + if (!getUserGuidBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, userGuid_); + } + if (!getHostNameBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, hostName_); + } + if (!getPasswordBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, password_); + } + if (intent_ != com.twine.tango.pmr.integration.ExternalBridgeLoginIntentOuterClass.ExternalBridgeLoginIntent.ColorProfile.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, intent_); + } + 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.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest)) { + return super.equals(obj); + } + com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest other = (com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest) obj; + + boolean result = true; + result = result && getAppID() + .equals(other.getAppID()); + result = result && getUserGuid() + .equals(other.getUserGuid()); + result = result && getHostName() + .equals(other.getHostName()); + result = result && getPassword() + .equals(other.getPassword()); + result = result && intent_ == other.intent_; + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + APPID_FIELD_NUMBER; + hash = (53 * hash) + getAppID().hashCode(); + hash = (37 * hash) + USERGUID_FIELD_NUMBER; + hash = (53 * hash) + getUserGuid().hashCode(); + hash = (37 * hash) + HOSTNAME_FIELD_NUMBER; + hash = (53 * hash) + getHostName().hashCode(); + hash = (37 * hash) + PASSWORD_FIELD_NUMBER; + hash = (53 * hash) + getPassword().hashCode(); + hash = (37 * hash) + INTENT_FIELD_NUMBER; + hash = (53 * hash) + intent_; + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest 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.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest 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.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Integration.ExternalBridgeLoginRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Integration.ExternalBridgeLoginRequest) + com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeLoginRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeLoginRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest.class, com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest.Builder.class); + } + + // Construct using com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + appID_ = ""; + + userGuid_ = ""; + + hostName_ = ""; + + password_ = ""; + + intent_ = 0; + + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeLoginRequest_descriptor; + } + + public com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest getDefaultInstanceForType() { + return com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest.getDefaultInstance(); + } + + public com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest build() { + com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest buildPartial() { + com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest result = new com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest(this); + result.appID_ = appID_; + result.userGuid_ = userGuid_; + result.hostName_ = hostName_; + result.password_ = password_; + result.intent_ = intent_; + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest) { + return mergeFrom((com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest other) { + if (other == com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest.getDefaultInstance()) return this; + if (!other.getAppID().isEmpty()) { + appID_ = other.appID_; + onChanged(); + } + if (!other.getUserGuid().isEmpty()) { + userGuid_ = other.userGuid_; + onChanged(); + } + if (!other.getHostName().isEmpty()) { + hostName_ = other.hostName_; + onChanged(); + } + if (!other.getPassword().isEmpty()) { + password_ = other.password_; + onChanged(); + } + if (other.intent_ != 0) { + setIntentValue(other.getIntentValue()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object appID_ = ""; + /** + * <code>string AppID = 1;</code> + */ + public java.lang.String getAppID() { + java.lang.Object ref = appID_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + appID_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>string AppID = 1;</code> + */ + public com.google.protobuf.ByteString + getAppIDBytes() { + java.lang.Object ref = appID_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + appID_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>string AppID = 1;</code> + */ + public Builder setAppID( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + appID_ = value; + onChanged(); + return this; + } + /** + * <code>string AppID = 1;</code> + */ + public Builder clearAppID() { + + appID_ = getDefaultInstance().getAppID(); + onChanged(); + return this; + } + /** + * <code>string AppID = 1;</code> + */ + public Builder setAppIDBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + appID_ = value; + onChanged(); + return this; + } + + private java.lang.Object userGuid_ = ""; + /** + * <code>string UserGuid = 2;</code> + */ + public java.lang.String getUserGuid() { + java.lang.Object ref = userGuid_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + userGuid_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>string UserGuid = 2;</code> + */ + public com.google.protobuf.ByteString + getUserGuidBytes() { + java.lang.Object ref = userGuid_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + userGuid_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>string UserGuid = 2;</code> + */ + public Builder setUserGuid( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + userGuid_ = value; + onChanged(); + return this; + } + /** + * <code>string UserGuid = 2;</code> + */ + public Builder clearUserGuid() { + + userGuid_ = getDefaultInstance().getUserGuid(); + onChanged(); + return this; + } + /** + * <code>string UserGuid = 2;</code> + */ + public Builder setUserGuidBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + userGuid_ = value; + onChanged(); + return this; + } + + private java.lang.Object hostName_ = ""; + /** + * <code>string HostName = 3;</code> + */ + public java.lang.String getHostName() { + java.lang.Object ref = hostName_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + hostName_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>string HostName = 3;</code> + */ + public com.google.protobuf.ByteString + getHostNameBytes() { + java.lang.Object ref = hostName_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + hostName_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>string HostName = 3;</code> + */ + public Builder setHostName( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + hostName_ = value; + onChanged(); + return this; + } + /** + * <code>string HostName = 3;</code> + */ + public Builder clearHostName() { + + hostName_ = getDefaultInstance().getHostName(); + onChanged(); + return this; + } + /** + * <code>string HostName = 3;</code> + */ + public Builder setHostNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + hostName_ = value; + onChanged(); + return this; + } + + private java.lang.Object password_ = ""; + /** + * <code>string Password = 4;</code> + */ + public java.lang.String getPassword() { + java.lang.Object ref = password_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + password_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>string Password = 4;</code> + */ + public com.google.protobuf.ByteString + getPasswordBytes() { + java.lang.Object ref = password_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + password_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>string Password = 4;</code> + */ + public Builder setPassword( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + password_ = value; + onChanged(); + return this; + } + /** + * <code>string Password = 4;</code> + */ + public Builder clearPassword() { + + password_ = getDefaultInstance().getPassword(); + onChanged(); + return this; + } + /** + * <code>string Password = 4;</code> + */ + public Builder setPasswordBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + password_ = value; + onChanged(); + return this; + } + + private int intent_ = 0; + /** + * <code>.Tango.PMR.Integration.ExternalBridgeLoginIntent Intent = 5;</code> + */ + public int getIntentValue() { + return intent_; + } + /** + * <code>.Tango.PMR.Integration.ExternalBridgeLoginIntent Intent = 5;</code> + */ + public Builder setIntentValue(int value) { + intent_ = value; + onChanged(); + return this; + } + /** + * <code>.Tango.PMR.Integration.ExternalBridgeLoginIntent Intent = 5;</code> + */ + public com.twine.tango.pmr.integration.ExternalBridgeLoginIntentOuterClass.ExternalBridgeLoginIntent getIntent() { + com.twine.tango.pmr.integration.ExternalBridgeLoginIntentOuterClass.ExternalBridgeLoginIntent result = com.twine.tango.pmr.integration.ExternalBridgeLoginIntentOuterClass.ExternalBridgeLoginIntent.valueOf(intent_); + return result == null ? com.twine.tango.pmr.integration.ExternalBridgeLoginIntentOuterClass.ExternalBridgeLoginIntent.UNRECOGNIZED : result; + } + /** + * <code>.Tango.PMR.Integration.ExternalBridgeLoginIntent Intent = 5;</code> + */ + public Builder setIntent(com.twine.tango.pmr.integration.ExternalBridgeLoginIntentOuterClass.ExternalBridgeLoginIntent value) { + if (value == null) { + throw new NullPointerException(); + } + + intent_ = value.getNumber(); + onChanged(); + return this; + } + /** + * <code>.Tango.PMR.Integration.ExternalBridgeLoginIntent Intent = 5;</code> + */ + public Builder clearIntent() { + + intent_ = 0; + onChanged(); + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Integration.ExternalBridgeLoginRequest) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Integration.ExternalBridgeLoginRequest) + private static final com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest(); + } + + public static com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<ExternalBridgeLoginRequest> + PARSER = new com.google.protobuf.AbstractParser<ExternalBridgeLoginRequest>() { + public ExternalBridgeLoginRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExternalBridgeLoginRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<ExternalBridgeLoginRequest> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<ExternalBridgeLoginRequest> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.integration.ExternalBridgeLoginRequestOuterClass.ExternalBridgeLoginRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Integration_ExternalBridgeLoginRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Integration_ExternalBridgeLoginRequest_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 ExternalBridgeLoginRequest.proto\022\025Tang" + + "o.PMR.Integration\032\037ExternalBridgeLoginIn" + + "tent.proto\"\243\001\n\032ExternalBridgeLoginReques" + + "t\022\r\n\005AppID\030\001 \001(\t\022\020\n\010UserGuid\030\002 \001(\t\022\020\n\010Ho" + + "stName\030\003 \001(\t\022\020\n\010Password\030\004 \001(\t\022@\n\006Intent" + + "\030\005 \001(\01620.Tango.PMR.Integration.ExternalB" + + "ridgeLoginIntentB!\n\037com.twine.tango.pmr." + + "integrationb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.twine.tango.pmr.integration.ExternalBridgeLoginIntentOuterClass.getDescriptor(), + }, assigner); + internal_static_Tango_PMR_Integration_ExternalBridgeLoginRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Integration_ExternalBridgeLoginRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Integration_ExternalBridgeLoginRequest_descriptor, + new java.lang.String[] { "AppID", "UserGuid", "HostName", "Password", "Intent", }); + com.twine.tango.pmr.integration.ExternalBridgeLoginIntentOuterClass.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/ExternalBridgeLoginResponseOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/ExternalBridgeLoginResponseOuterClass.java new file mode 100644 index 000000000..030e13199 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/ExternalBridgeLoginResponseOuterClass.java @@ -0,0 +1,842 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ExternalBridgeLoginResponse.proto + +package com.twine.tango.pmr.integration; + +public final class ExternalBridgeLoginResponseOuterClass { + private ExternalBridgeLoginResponseOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface ExternalBridgeLoginResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Integration.ExternalBridgeLoginResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>bool Authenticated = 1;</code> + */ + boolean getAuthenticated(); + + /** + * <code>string SerialNumber = 2;</code> + */ + java.lang.String getSerialNumber(); + /** + * <code>string SerialNumber = 2;</code> + */ + com.google.protobuf.ByteString + getSerialNumberBytes(); + + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 3;</code> + */ + boolean hasDeviceInformation(); + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 3;</code> + */ + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation getDeviceInformation(); + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 3;</code> + */ + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformationOrBuilder getDeviceInformationOrBuilder(); + } + /** + * Protobuf type {@code Tango.PMR.Integration.ExternalBridgeLoginResponse} + */ + public static final class ExternalBridgeLoginResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Integration.ExternalBridgeLoginResponse) + ExternalBridgeLoginResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExternalBridgeLoginResponse.newBuilder() to construct. + private ExternalBridgeLoginResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private ExternalBridgeLoginResponse() { + authenticated_ = false; + serialNumber_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ExternalBridgeLoginResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + + authenticated_ = input.readBool(); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + serialNumber_ = s; + break; + } + case 26: { + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.Builder subBuilder = null; + if (deviceInformation_ != null) { + subBuilder = deviceInformation_.toBuilder(); + } + deviceInformation_ = input.readMessage(com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(deviceInformation_); + deviceInformation_ = subBuilder.buildPartial(); + } + + 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.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeLoginResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeLoginResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse.class, com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse.Builder.class); + } + + public static final int AUTHENTICATED_FIELD_NUMBER = 1; + private boolean authenticated_; + /** + * <code>bool Authenticated = 1;</code> + */ + public boolean getAuthenticated() { + return authenticated_; + } + + public static final int SERIALNUMBER_FIELD_NUMBER = 2; + private volatile java.lang.Object serialNumber_; + /** + * <code>string SerialNumber = 2;</code> + */ + public java.lang.String getSerialNumber() { + java.lang.Object ref = serialNumber_; + 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(); + serialNumber_ = s; + return s; + } + } + /** + * <code>string SerialNumber = 2;</code> + */ + public com.google.protobuf.ByteString + getSerialNumberBytes() { + java.lang.Object ref = serialNumber_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + serialNumber_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int DEVICEINFORMATION_FIELD_NUMBER = 3; + private com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation deviceInformation_; + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 3;</code> + */ + public boolean hasDeviceInformation() { + return deviceInformation_ != null; + } + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 3;</code> + */ + public com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation getDeviceInformation() { + return deviceInformation_ == null ? com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.getDefaultInstance() : deviceInformation_; + } + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 3;</code> + */ + public com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformationOrBuilder getDeviceInformationOrBuilder() { + return getDeviceInformation(); + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (authenticated_ != false) { + output.writeBool(1, authenticated_); + } + if (!getSerialNumberBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, serialNumber_); + } + if (deviceInformation_ != null) { + output.writeMessage(3, getDeviceInformation()); + } + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (authenticated_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, authenticated_); + } + if (!getSerialNumberBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, serialNumber_); + } + if (deviceInformation_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getDeviceInformation()); + } + 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.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse)) { + return super.equals(obj); + } + com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse other = (com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse) obj; + + boolean result = true; + result = result && (getAuthenticated() + == other.getAuthenticated()); + result = result && getSerialNumber() + .equals(other.getSerialNumber()); + result = result && (hasDeviceInformation() == other.hasDeviceInformation()); + if (hasDeviceInformation()) { + result = result && getDeviceInformation() + .equals(other.getDeviceInformation()); + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + AUTHENTICATED_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAuthenticated()); + hash = (37 * hash) + SERIALNUMBER_FIELD_NUMBER; + hash = (53 * hash) + getSerialNumber().hashCode(); + if (hasDeviceInformation()) { + hash = (37 * hash) + DEVICEINFORMATION_FIELD_NUMBER; + hash = (53 * hash) + getDeviceInformation().hashCode(); + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse 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.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse 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.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Integration.ExternalBridgeLoginResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Integration.ExternalBridgeLoginResponse) + com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeLoginResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeLoginResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse.class, com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse.Builder.class); + } + + // Construct using com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + authenticated_ = false; + + serialNumber_ = ""; + + if (deviceInformationBuilder_ == null) { + deviceInformation_ = null; + } else { + deviceInformation_ = null; + deviceInformationBuilder_ = null; + } + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeLoginResponse_descriptor; + } + + public com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse getDefaultInstanceForType() { + return com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse.getDefaultInstance(); + } + + public com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse build() { + com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse buildPartial() { + com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse result = new com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse(this); + result.authenticated_ = authenticated_; + result.serialNumber_ = serialNumber_; + if (deviceInformationBuilder_ == null) { + result.deviceInformation_ = deviceInformation_; + } else { + result.deviceInformation_ = deviceInformationBuilder_.build(); + } + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse) { + return mergeFrom((com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse other) { + if (other == com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse.getDefaultInstance()) return this; + if (other.getAuthenticated() != false) { + setAuthenticated(other.getAuthenticated()); + } + if (!other.getSerialNumber().isEmpty()) { + serialNumber_ = other.serialNumber_; + onChanged(); + } + if (other.hasDeviceInformation()) { + mergeDeviceInformation(other.getDeviceInformation()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private boolean authenticated_ ; + /** + * <code>bool Authenticated = 1;</code> + */ + public boolean getAuthenticated() { + return authenticated_; + } + /** + * <code>bool Authenticated = 1;</code> + */ + public Builder setAuthenticated(boolean value) { + + authenticated_ = value; + onChanged(); + return this; + } + /** + * <code>bool Authenticated = 1;</code> + */ + public Builder clearAuthenticated() { + + authenticated_ = false; + onChanged(); + return this; + } + + private java.lang.Object serialNumber_ = ""; + /** + * <code>string SerialNumber = 2;</code> + */ + public java.lang.String getSerialNumber() { + java.lang.Object ref = serialNumber_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serialNumber_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>string SerialNumber = 2;</code> + */ + public com.google.protobuf.ByteString + getSerialNumberBytes() { + java.lang.Object ref = serialNumber_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + serialNumber_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>string SerialNumber = 2;</code> + */ + public Builder setSerialNumber( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + serialNumber_ = value; + onChanged(); + return this; + } + /** + * <code>string SerialNumber = 2;</code> + */ + public Builder clearSerialNumber() { + + serialNumber_ = getDefaultInstance().getSerialNumber(); + onChanged(); + return this; + } + /** + * <code>string SerialNumber = 2;</code> + */ + public Builder setSerialNumberBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + serialNumber_ = value; + onChanged(); + return this; + } + + private com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation deviceInformation_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation, com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.Builder, com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformationOrBuilder> deviceInformationBuilder_; + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 3;</code> + */ + public boolean hasDeviceInformation() { + return deviceInformationBuilder_ != null || deviceInformation_ != null; + } + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 3;</code> + */ + public com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation getDeviceInformation() { + if (deviceInformationBuilder_ == null) { + return deviceInformation_ == null ? com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.getDefaultInstance() : deviceInformation_; + } else { + return deviceInformationBuilder_.getMessage(); + } + } + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 3;</code> + */ + public Builder setDeviceInformation(com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation value) { + if (deviceInformationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + deviceInformation_ = value; + onChanged(); + } else { + deviceInformationBuilder_.setMessage(value); + } + + return this; + } + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 3;</code> + */ + public Builder setDeviceInformation( + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.Builder builderForValue) { + if (deviceInformationBuilder_ == null) { + deviceInformation_ = builderForValue.build(); + onChanged(); + } else { + deviceInformationBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 3;</code> + */ + public Builder mergeDeviceInformation(com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation value) { + if (deviceInformationBuilder_ == null) { + if (deviceInformation_ != null) { + deviceInformation_ = + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.newBuilder(deviceInformation_).mergeFrom(value).buildPartial(); + } else { + deviceInformation_ = value; + } + onChanged(); + } else { + deviceInformationBuilder_.mergeFrom(value); + } + + return this; + } + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 3;</code> + */ + public Builder clearDeviceInformation() { + if (deviceInformationBuilder_ == null) { + deviceInformation_ = null; + onChanged(); + } else { + deviceInformation_ = null; + deviceInformationBuilder_ = null; + } + + return this; + } + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 3;</code> + */ + public com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.Builder getDeviceInformationBuilder() { + + onChanged(); + return getDeviceInformationFieldBuilder().getBuilder(); + } + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 3;</code> + */ + public com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformationOrBuilder getDeviceInformationOrBuilder() { + if (deviceInformationBuilder_ != null) { + return deviceInformationBuilder_.getMessageOrBuilder(); + } else { + return deviceInformation_ == null ? + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.getDefaultInstance() : deviceInformation_; + } + } + /** + * <code>.Tango.PMR.Connection.DeviceInformation DeviceInformation = 3;</code> + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation, com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.Builder, com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformationOrBuilder> + getDeviceInformationFieldBuilder() { + if (deviceInformationBuilder_ == null) { + deviceInformationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation, com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformation.Builder, com.twine.tango.pmr.connection.DeviceInformationOuterClass.DeviceInformationOrBuilder>( + getDeviceInformation(), + getParentForChildren(), + isClean()); + deviceInformation_ = null; + } + return deviceInformationBuilder_; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Integration.ExternalBridgeLoginResponse) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Integration.ExternalBridgeLoginResponse) + private static final com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse(); + } + + public static com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<ExternalBridgeLoginResponse> + PARSER = new com.google.protobuf.AbstractParser<ExternalBridgeLoginResponse>() { + public ExternalBridgeLoginResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExternalBridgeLoginResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<ExternalBridgeLoginResponse> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<ExternalBridgeLoginResponse> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.integration.ExternalBridgeLoginResponseOuterClass.ExternalBridgeLoginResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Integration_ExternalBridgeLoginResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Integration_ExternalBridgeLoginResponse_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!ExternalBridgeLoginResponse.proto\022\025Tan" + + "go.PMR.Integration\032\027DeviceInformation.pr" + + "oto\"\216\001\n\033ExternalBridgeLoginResponse\022\025\n\rA" + + "uthenticated\030\001 \001(\010\022\024\n\014SerialNumber\030\002 \001(\t" + + "\022B\n\021DeviceInformation\030\003 \001(\0132\'.Tango.PMR." + + "Connection.DeviceInformationB!\n\037com.twin" + + "e.tango.pmr.integrationb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.twine.tango.pmr.connection.DeviceInformationOuterClass.getDescriptor(), + }, assigner); + internal_static_Tango_PMR_Integration_ExternalBridgeLoginResponse_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Integration_ExternalBridgeLoginResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Integration_ExternalBridgeLoginResponse_descriptor, + new java.lang.String[] { "Authenticated", "SerialNumber", "DeviceInformation", }); + com.twine.tango.pmr.connection.DeviceInformationOuterClass.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/ExternalBridgeLogoutRequestOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/ExternalBridgeLogoutRequestOuterClass.java new file mode 100644 index 000000000..3c8d971e7 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/ExternalBridgeLogoutRequestOuterClass.java @@ -0,0 +1,441 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ExternalBridgeLogoutRequest.proto + +package com.twine.tango.pmr.integration; + +public final class ExternalBridgeLogoutRequestOuterClass { + private ExternalBridgeLogoutRequestOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface ExternalBridgeLogoutRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Integration.ExternalBridgeLogoutRequest) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code Tango.PMR.Integration.ExternalBridgeLogoutRequest} + */ + public static final class ExternalBridgeLogoutRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Integration.ExternalBridgeLogoutRequest) + ExternalBridgeLogoutRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExternalBridgeLogoutRequest.newBuilder() to construct. + private ExternalBridgeLogoutRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private ExternalBridgeLogoutRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ExternalBridgeLogoutRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + 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.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeLogoutRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeLogoutRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest.class, com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest.Builder.class); + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest)) { + return super.equals(obj); + } + com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest other = (com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest) obj; + + boolean result = true; + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest 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.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest 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.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Integration.ExternalBridgeLogoutRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Integration.ExternalBridgeLogoutRequest) + com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeLogoutRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeLogoutRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest.class, com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest.Builder.class); + } + + // Construct using com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeLogoutRequest_descriptor; + } + + public com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest getDefaultInstanceForType() { + return com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest.getDefaultInstance(); + } + + public com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest build() { + com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest buildPartial() { + com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest result = new com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest(this); + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest) { + return mergeFrom((com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest other) { + if (other == com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Integration.ExternalBridgeLogoutRequest) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Integration.ExternalBridgeLogoutRequest) + private static final com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest(); + } + + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<ExternalBridgeLogoutRequest> + PARSER = new com.google.protobuf.AbstractParser<ExternalBridgeLogoutRequest>() { + public ExternalBridgeLogoutRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExternalBridgeLogoutRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<ExternalBridgeLogoutRequest> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<ExternalBridgeLogoutRequest> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.integration.ExternalBridgeLogoutRequestOuterClass.ExternalBridgeLogoutRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Integration_ExternalBridgeLogoutRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Integration_ExternalBridgeLogoutRequest_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!ExternalBridgeLogoutRequest.proto\022\025Tan" + + "go.PMR.Integration\"\035\n\033ExternalBridgeLogo" + + "utRequestB!\n\037com.twine.tango.pmr.integra" + + "tionb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + internal_static_Tango_PMR_Integration_ExternalBridgeLogoutRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Integration_ExternalBridgeLogoutRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Integration_ExternalBridgeLogoutRequest_descriptor, + new java.lang.String[] { }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/ExternalBridgeLogoutResponseOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/ExternalBridgeLogoutResponseOuterClass.java new file mode 100644 index 000000000..aeae9e3cd --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/ExternalBridgeLogoutResponseOuterClass.java @@ -0,0 +1,441 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ExternalBridgeLogoutResponse.proto + +package com.twine.tango.pmr.integration; + +public final class ExternalBridgeLogoutResponseOuterClass { + private ExternalBridgeLogoutResponseOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface ExternalBridgeLogoutResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Integration.ExternalBridgeLogoutResponse) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code Tango.PMR.Integration.ExternalBridgeLogoutResponse} + */ + public static final class ExternalBridgeLogoutResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Integration.ExternalBridgeLogoutResponse) + ExternalBridgeLogoutResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExternalBridgeLogoutResponse.newBuilder() to construct. + private ExternalBridgeLogoutResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private ExternalBridgeLogoutResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ExternalBridgeLogoutResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + 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.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeLogoutResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeLogoutResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse.class, com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse)) { + return super.equals(obj); + } + com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse other = (com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse) obj; + + boolean result = true; + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse 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.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse 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.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Integration.ExternalBridgeLogoutResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Integration.ExternalBridgeLogoutResponse) + com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeLogoutResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeLogoutResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse.class, com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse.Builder.class); + } + + // Construct using com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeLogoutResponse_descriptor; + } + + public com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse getDefaultInstanceForType() { + return com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse.getDefaultInstance(); + } + + public com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse build() { + com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse buildPartial() { + com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse result = new com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse(this); + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse) { + return mergeFrom((com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse other) { + if (other == com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Integration.ExternalBridgeLogoutResponse) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Integration.ExternalBridgeLogoutResponse) + private static final com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse(); + } + + public static com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<ExternalBridgeLogoutResponse> + PARSER = new com.google.protobuf.AbstractParser<ExternalBridgeLogoutResponse>() { + public ExternalBridgeLogoutResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExternalBridgeLogoutResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<ExternalBridgeLogoutResponse> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<ExternalBridgeLogoutResponse> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.integration.ExternalBridgeLogoutResponseOuterClass.ExternalBridgeLogoutResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Integration_ExternalBridgeLogoutResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Integration_ExternalBridgeLogoutResponse_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\"ExternalBridgeLogoutResponse.proto\022\025Ta" + + "ngo.PMR.Integration\"\036\n\034ExternalBridgeLog" + + "outResponseB!\n\037com.twine.tango.pmr.integ" + + "rationb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + internal_static_Tango_PMR_Integration_ExternalBridgeLogoutResponse_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Integration_ExternalBridgeLogoutResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Integration_ExternalBridgeLogoutResponse_descriptor, + new java.lang.String[] { }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/ExternalBridgeUdpDiscoveryPacketOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/ExternalBridgeUdpDiscoveryPacketOuterClass.java new file mode 100644 index 000000000..b4e82ea38 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/ExternalBridgeUdpDiscoveryPacketOuterClass.java @@ -0,0 +1,717 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: ExternalBridgeUdpDiscoveryPacket.proto + +package com.twine.tango.pmr.integration; + +public final class ExternalBridgeUdpDiscoveryPacketOuterClass { + private ExternalBridgeUdpDiscoveryPacketOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface ExternalBridgeUdpDiscoveryPacketOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Integration.ExternalBridgeUdpDiscoveryPacket) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>string Time = 1;</code> + */ + java.lang.String getTime(); + /** + * <code>string Time = 1;</code> + */ + com.google.protobuf.ByteString + getTimeBytes(); + + /** + * <code>string SerialNumber = 2;</code> + */ + java.lang.String getSerialNumber(); + /** + * <code>string SerialNumber = 2;</code> + */ + com.google.protobuf.ByteString + getSerialNumberBytes(); + } + /** + * Protobuf type {@code Tango.PMR.Integration.ExternalBridgeUdpDiscoveryPacket} + */ + public static final class ExternalBridgeUdpDiscoveryPacket extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Integration.ExternalBridgeUdpDiscoveryPacket) + ExternalBridgeUdpDiscoveryPacketOrBuilder { + private static final long serialVersionUID = 0L; + // Use ExternalBridgeUdpDiscoveryPacket.newBuilder() to construct. + private ExternalBridgeUdpDiscoveryPacket(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private ExternalBridgeUdpDiscoveryPacket() { + time_ = ""; + serialNumber_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private ExternalBridgeUdpDiscoveryPacket( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + + time_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); + + serialNumber_ = s; + 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.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeUdpDiscoveryPacket_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeUdpDiscoveryPacket_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket.class, com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket.Builder.class); + } + + public static final int TIME_FIELD_NUMBER = 1; + private volatile java.lang.Object time_; + /** + * <code>string Time = 1;</code> + */ + public java.lang.String getTime() { + java.lang.Object ref = time_; + 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(); + time_ = s; + return s; + } + } + /** + * <code>string Time = 1;</code> + */ + public com.google.protobuf.ByteString + getTimeBytes() { + java.lang.Object ref = time_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + time_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SERIALNUMBER_FIELD_NUMBER = 2; + private volatile java.lang.Object serialNumber_; + /** + * <code>string SerialNumber = 2;</code> + */ + public java.lang.String getSerialNumber() { + java.lang.Object ref = serialNumber_; + 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(); + serialNumber_ = s; + return s; + } + } + /** + * <code>string SerialNumber = 2;</code> + */ + public com.google.protobuf.ByteString + getSerialNumberBytes() { + java.lang.Object ref = serialNumber_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + serialNumber_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!getTimeBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, time_); + } + if (!getSerialNumberBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, serialNumber_); + } + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getTimeBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, time_); + } + if (!getSerialNumberBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, serialNumber_); + } + 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.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket)) { + return super.equals(obj); + } + com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket other = (com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket) obj; + + boolean result = true; + result = result && getTime() + .equals(other.getTime()); + result = result && getSerialNumber() + .equals(other.getSerialNumber()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + TIME_FIELD_NUMBER; + hash = (53 * hash) + getTime().hashCode(); + hash = (37 * hash) + SERIALNUMBER_FIELD_NUMBER; + hash = (53 * hash) + getSerialNumber().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket 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.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket 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.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Integration.ExternalBridgeUdpDiscoveryPacket} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Integration.ExternalBridgeUdpDiscoveryPacket) + com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacketOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeUdpDiscoveryPacket_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeUdpDiscoveryPacket_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket.class, com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket.Builder.class); + } + + // Construct using com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + time_ = ""; + + serialNumber_ = ""; + + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.internal_static_Tango_PMR_Integration_ExternalBridgeUdpDiscoveryPacket_descriptor; + } + + public com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket getDefaultInstanceForType() { + return com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket.getDefaultInstance(); + } + + public com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket build() { + com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket buildPartial() { + com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket result = new com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket(this); + result.time_ = time_; + result.serialNumber_ = serialNumber_; + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket) { + return mergeFrom((com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket other) { + if (other == com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket.getDefaultInstance()) return this; + if (!other.getTime().isEmpty()) { + time_ = other.time_; + onChanged(); + } + if (!other.getSerialNumber().isEmpty()) { + serialNumber_ = other.serialNumber_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object time_ = ""; + /** + * <code>string Time = 1;</code> + */ + public java.lang.String getTime() { + java.lang.Object ref = time_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + time_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>string Time = 1;</code> + */ + public com.google.protobuf.ByteString + getTimeBytes() { + java.lang.Object ref = time_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + time_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>string Time = 1;</code> + */ + public Builder setTime( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + time_ = value; + onChanged(); + return this; + } + /** + * <code>string Time = 1;</code> + */ + public Builder clearTime() { + + time_ = getDefaultInstance().getTime(); + onChanged(); + return this; + } + /** + * <code>string Time = 1;</code> + */ + public Builder setTimeBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + time_ = value; + onChanged(); + return this; + } + + private java.lang.Object serialNumber_ = ""; + /** + * <code>string SerialNumber = 2;</code> + */ + public java.lang.String getSerialNumber() { + java.lang.Object ref = serialNumber_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serialNumber_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>string SerialNumber = 2;</code> + */ + public com.google.protobuf.ByteString + getSerialNumberBytes() { + java.lang.Object ref = serialNumber_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + serialNumber_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>string SerialNumber = 2;</code> + */ + public Builder setSerialNumber( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + serialNumber_ = value; + onChanged(); + return this; + } + /** + * <code>string SerialNumber = 2;</code> + */ + public Builder clearSerialNumber() { + + serialNumber_ = getDefaultInstance().getSerialNumber(); + onChanged(); + return this; + } + /** + * <code>string SerialNumber = 2;</code> + */ + public Builder setSerialNumberBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + serialNumber_ = value; + onChanged(); + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Integration.ExternalBridgeUdpDiscoveryPacket) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Integration.ExternalBridgeUdpDiscoveryPacket) + private static final com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket(); + } + + public static com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<ExternalBridgeUdpDiscoveryPacket> + PARSER = new com.google.protobuf.AbstractParser<ExternalBridgeUdpDiscoveryPacket>() { + public ExternalBridgeUdpDiscoveryPacket parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new ExternalBridgeUdpDiscoveryPacket(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<ExternalBridgeUdpDiscoveryPacket> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<ExternalBridgeUdpDiscoveryPacket> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.integration.ExternalBridgeUdpDiscoveryPacketOuterClass.ExternalBridgeUdpDiscoveryPacket getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Integration_ExternalBridgeUdpDiscoveryPacket_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Integration_ExternalBridgeUdpDiscoveryPacket_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&ExternalBridgeUdpDiscoveryPacket.proto" + + "\022\025Tango.PMR.Integration\"F\n ExternalBridg" + + "eUdpDiscoveryPacket\022\014\n\004Time\030\001 \001(\t\022\024\n\014Ser" + + "ialNumber\030\002 \001(\tB!\n\037com.twine.tango.pmr.i" + + "ntegrationb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + internal_static_Tango_PMR_Integration_ExternalBridgeUdpDiscoveryPacket_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Integration_ExternalBridgeUdpDiscoveryPacket_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Integration_ExternalBridgeUdpDiscoveryPacket_descriptor, + new java.lang.String[] { "Time", "SerialNumber", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/OverrideDataBaseRequestOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/OverrideDataBaseRequestOuterClass.java new file mode 100644 index 000000000..b02fae384 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/OverrideDataBaseRequestOuterClass.java @@ -0,0 +1,508 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: OverrideDataBaseRequest.proto + +package com.twine.tango.pmr.integration; + +public final class OverrideDataBaseRequestOuterClass { + private OverrideDataBaseRequestOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface OverrideDataBaseRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Integration.OverrideDataBaseRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>bytes RemoteDB = 1;</code> + */ + com.google.protobuf.ByteString getRemoteDB(); + } + /** + * Protobuf type {@code Tango.PMR.Integration.OverrideDataBaseRequest} + */ + public static final class OverrideDataBaseRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Integration.OverrideDataBaseRequest) + OverrideDataBaseRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use OverrideDataBaseRequest.newBuilder() to construct. + private OverrideDataBaseRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private OverrideDataBaseRequest() { + remoteDB_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private OverrideDataBaseRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + + remoteDB_ = input.readBytes(); + 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.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.internal_static_Tango_PMR_Integration_OverrideDataBaseRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.internal_static_Tango_PMR_Integration_OverrideDataBaseRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest.class, com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest.Builder.class); + } + + public static final int REMOTEDB_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString remoteDB_; + /** + * <code>bytes RemoteDB = 1;</code> + */ + public com.google.protobuf.ByteString getRemoteDB() { + return remoteDB_; + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!remoteDB_.isEmpty()) { + output.writeBytes(1, remoteDB_); + } + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!remoteDB_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, remoteDB_); + } + 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.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest)) { + return super.equals(obj); + } + com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest other = (com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest) obj; + + boolean result = true; + result = result && getRemoteDB() + .equals(other.getRemoteDB()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + REMOTEDB_FIELD_NUMBER; + hash = (53 * hash) + getRemoteDB().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest 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.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest 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.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Integration.OverrideDataBaseRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Integration.OverrideDataBaseRequest) + com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.internal_static_Tango_PMR_Integration_OverrideDataBaseRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.internal_static_Tango_PMR_Integration_OverrideDataBaseRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest.class, com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest.Builder.class); + } + + // Construct using com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + remoteDB_ = com.google.protobuf.ByteString.EMPTY; + + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.internal_static_Tango_PMR_Integration_OverrideDataBaseRequest_descriptor; + } + + public com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest getDefaultInstanceForType() { + return com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest.getDefaultInstance(); + } + + public com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest build() { + com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest buildPartial() { + com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest result = new com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest(this); + result.remoteDB_ = remoteDB_; + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest) { + return mergeFrom((com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest other) { + if (other == com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest.getDefaultInstance()) return this; + if (other.getRemoteDB() != com.google.protobuf.ByteString.EMPTY) { + setRemoteDB(other.getRemoteDB()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.protobuf.ByteString remoteDB_ = com.google.protobuf.ByteString.EMPTY; + /** + * <code>bytes RemoteDB = 1;</code> + */ + public com.google.protobuf.ByteString getRemoteDB() { + return remoteDB_; + } + /** + * <code>bytes RemoteDB = 1;</code> + */ + public Builder setRemoteDB(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + remoteDB_ = value; + onChanged(); + return this; + } + /** + * <code>bytes RemoteDB = 1;</code> + */ + public Builder clearRemoteDB() { + + remoteDB_ = getDefaultInstance().getRemoteDB(); + onChanged(); + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Integration.OverrideDataBaseRequest) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Integration.OverrideDataBaseRequest) + private static final com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest(); + } + + public static com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<OverrideDataBaseRequest> + PARSER = new com.google.protobuf.AbstractParser<OverrideDataBaseRequest>() { + public OverrideDataBaseRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OverrideDataBaseRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<OverrideDataBaseRequest> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<OverrideDataBaseRequest> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.integration.OverrideDataBaseRequestOuterClass.OverrideDataBaseRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Integration_OverrideDataBaseRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Integration_OverrideDataBaseRequest_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\035OverrideDataBaseRequest.proto\022\025Tango.P" + + "MR.Integration\"+\n\027OverrideDataBaseReques" + + "t\022\020\n\010RemoteDB\030\001 \001(\014B!\n\037com.twine.tango.p" + + "mr.integrationb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + internal_static_Tango_PMR_Integration_OverrideDataBaseRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Integration_OverrideDataBaseRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Integration_OverrideDataBaseRequest_descriptor, + new java.lang.String[] { "RemoteDB", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/OverrideDataBaseResponseOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/OverrideDataBaseResponseOuterClass.java new file mode 100644 index 000000000..562f4259c --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/OverrideDataBaseResponseOuterClass.java @@ -0,0 +1,506 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: OverrideDataBaseResponse.proto + +package com.twine.tango.pmr.integration; + +public final class OverrideDataBaseResponseOuterClass { + private OverrideDataBaseResponseOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface OverrideDataBaseResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Integration.OverrideDataBaseResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>bool Successful = 1;</code> + */ + boolean getSuccessful(); + } + /** + * Protobuf type {@code Tango.PMR.Integration.OverrideDataBaseResponse} + */ + public static final class OverrideDataBaseResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Integration.OverrideDataBaseResponse) + OverrideDataBaseResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use OverrideDataBaseResponse.newBuilder() to construct. + private OverrideDataBaseResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private OverrideDataBaseResponse() { + successful_ = false; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private OverrideDataBaseResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + + successful_ = input.readBool(); + 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.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.internal_static_Tango_PMR_Integration_OverrideDataBaseResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.internal_static_Tango_PMR_Integration_OverrideDataBaseResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse.class, com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse.Builder.class); + } + + public static final int SUCCESSFUL_FIELD_NUMBER = 1; + private boolean successful_; + /** + * <code>bool Successful = 1;</code> + */ + public boolean getSuccessful() { + return successful_; + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (successful_ != false) { + output.writeBool(1, successful_); + } + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (successful_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, successful_); + } + 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.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse)) { + return super.equals(obj); + } + com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse other = (com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse) obj; + + boolean result = true; + result = result && (getSuccessful() + == other.getSuccessful()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SUCCESSFUL_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getSuccessful()); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse 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.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse 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.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Integration.OverrideDataBaseResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Integration.OverrideDataBaseResponse) + com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.internal_static_Tango_PMR_Integration_OverrideDataBaseResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.internal_static_Tango_PMR_Integration_OverrideDataBaseResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse.class, com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse.Builder.class); + } + + // Construct using com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + successful_ = false; + + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.internal_static_Tango_PMR_Integration_OverrideDataBaseResponse_descriptor; + } + + public com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse getDefaultInstanceForType() { + return com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse.getDefaultInstance(); + } + + public com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse build() { + com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse buildPartial() { + com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse result = new com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse(this); + result.successful_ = successful_; + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse) { + return mergeFrom((com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse other) { + if (other == com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse.getDefaultInstance()) return this; + if (other.getSuccessful() != false) { + setSuccessful(other.getSuccessful()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private boolean successful_ ; + /** + * <code>bool Successful = 1;</code> + */ + public boolean getSuccessful() { + return successful_; + } + /** + * <code>bool Successful = 1;</code> + */ + public Builder setSuccessful(boolean value) { + + successful_ = value; + onChanged(); + return this; + } + /** + * <code>bool Successful = 1;</code> + */ + public Builder clearSuccessful() { + + successful_ = false; + onChanged(); + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Integration.OverrideDataBaseResponse) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Integration.OverrideDataBaseResponse) + private static final com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse(); + } + + public static com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<OverrideDataBaseResponse> + PARSER = new com.google.protobuf.AbstractParser<OverrideDataBaseResponse>() { + public OverrideDataBaseResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OverrideDataBaseResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<OverrideDataBaseResponse> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<OverrideDataBaseResponse> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.integration.OverrideDataBaseResponseOuterClass.OverrideDataBaseResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Integration_OverrideDataBaseResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Integration_OverrideDataBaseResponse_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\036OverrideDataBaseResponse.proto\022\025Tango." + + "PMR.Integration\".\n\030OverrideDataBaseRespo" + + "nse\022\022\n\nSuccessful\030\001 \001(\010B!\n\037com.twine.tan" + + "go.pmr.integrationb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + internal_static_Tango_PMR_Integration_OverrideDataBaseResponse_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Integration_OverrideDataBaseResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Integration_OverrideDataBaseResponse_descriptor, + new java.lang.String[] { "Successful", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/StartApplicationLogsRequestOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/StartApplicationLogsRequestOuterClass.java new file mode 100644 index 000000000..06f5fafa2 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/StartApplicationLogsRequestOuterClass.java @@ -0,0 +1,441 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: StartApplicationLogsRequest.proto + +package com.twine.tango.pmr.integration; + +public final class StartApplicationLogsRequestOuterClass { + private StartApplicationLogsRequestOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface StartApplicationLogsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Integration.StartApplicationLogsRequest) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code Tango.PMR.Integration.StartApplicationLogsRequest} + */ + public static final class StartApplicationLogsRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Integration.StartApplicationLogsRequest) + StartApplicationLogsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use StartApplicationLogsRequest.newBuilder() to construct. + private StartApplicationLogsRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private StartApplicationLogsRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StartApplicationLogsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + 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.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.internal_static_Tango_PMR_Integration_StartApplicationLogsRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.internal_static_Tango_PMR_Integration_StartApplicationLogsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest.class, com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest.Builder.class); + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest)) { + return super.equals(obj); + } + com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest other = (com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest) obj; + + boolean result = true; + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest 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.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest 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.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Integration.StartApplicationLogsRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Integration.StartApplicationLogsRequest) + com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.internal_static_Tango_PMR_Integration_StartApplicationLogsRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.internal_static_Tango_PMR_Integration_StartApplicationLogsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest.class, com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest.Builder.class); + } + + // Construct using com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.internal_static_Tango_PMR_Integration_StartApplicationLogsRequest_descriptor; + } + + public com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest getDefaultInstanceForType() { + return com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest.getDefaultInstance(); + } + + public com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest build() { + com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest buildPartial() { + com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest result = new com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest(this); + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest) { + return mergeFrom((com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest other) { + if (other == com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Integration.StartApplicationLogsRequest) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Integration.StartApplicationLogsRequest) + private static final com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest(); + } + + public static com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<StartApplicationLogsRequest> + PARSER = new com.google.protobuf.AbstractParser<StartApplicationLogsRequest>() { + public StartApplicationLogsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartApplicationLogsRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<StartApplicationLogsRequest> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<StartApplicationLogsRequest> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.integration.StartApplicationLogsRequestOuterClass.StartApplicationLogsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Integration_StartApplicationLogsRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Integration_StartApplicationLogsRequest_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!StartApplicationLogsRequest.proto\022\025Tan" + + "go.PMR.Integration\"\035\n\033StartApplicationLo" + + "gsRequestB!\n\037com.twine.tango.pmr.integra" + + "tionb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + internal_static_Tango_PMR_Integration_StartApplicationLogsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Integration_StartApplicationLogsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Integration_StartApplicationLogsRequest_descriptor, + new java.lang.String[] { }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/StartApplicationLogsResponseOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/StartApplicationLogsResponseOuterClass.java new file mode 100644 index 000000000..5c5a329f3 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/StartApplicationLogsResponseOuterClass.java @@ -0,0 +1,508 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: StartApplicationLogsResponse.proto + +package com.twine.tango.pmr.integration; + +public final class StartApplicationLogsResponseOuterClass { + private StartApplicationLogsResponseOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface StartApplicationLogsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Integration.StartApplicationLogsResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>bytes LogItem = 1;</code> + */ + com.google.protobuf.ByteString getLogItem(); + } + /** + * Protobuf type {@code Tango.PMR.Integration.StartApplicationLogsResponse} + */ + public static final class StartApplicationLogsResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Integration.StartApplicationLogsResponse) + StartApplicationLogsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use StartApplicationLogsResponse.newBuilder() to construct. + private StartApplicationLogsResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private StartApplicationLogsResponse() { + logItem_ = com.google.protobuf.ByteString.EMPTY; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StartApplicationLogsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + + logItem_ = input.readBytes(); + 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.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.internal_static_Tango_PMR_Integration_StartApplicationLogsResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.internal_static_Tango_PMR_Integration_StartApplicationLogsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse.class, com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse.Builder.class); + } + + public static final int LOGITEM_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString logItem_; + /** + * <code>bytes LogItem = 1;</code> + */ + public com.google.protobuf.ByteString getLogItem() { + return logItem_; + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!logItem_.isEmpty()) { + output.writeBytes(1, logItem_); + } + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!logItem_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, logItem_); + } + 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.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse)) { + return super.equals(obj); + } + com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse other = (com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse) obj; + + boolean result = true; + result = result && getLogItem() + .equals(other.getLogItem()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + LOGITEM_FIELD_NUMBER; + hash = (53 * hash) + getLogItem().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse 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.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse 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.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Integration.StartApplicationLogsResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Integration.StartApplicationLogsResponse) + com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.internal_static_Tango_PMR_Integration_StartApplicationLogsResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.internal_static_Tango_PMR_Integration_StartApplicationLogsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse.class, com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse.Builder.class); + } + + // Construct using com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + logItem_ = com.google.protobuf.ByteString.EMPTY; + + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.internal_static_Tango_PMR_Integration_StartApplicationLogsResponse_descriptor; + } + + public com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse getDefaultInstanceForType() { + return com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse.getDefaultInstance(); + } + + public com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse build() { + com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse buildPartial() { + com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse result = new com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse(this); + result.logItem_ = logItem_; + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse) { + return mergeFrom((com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse other) { + if (other == com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse.getDefaultInstance()) return this; + if (other.getLogItem() != com.google.protobuf.ByteString.EMPTY) { + setLogItem(other.getLogItem()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private com.google.protobuf.ByteString logItem_ = com.google.protobuf.ByteString.EMPTY; + /** + * <code>bytes LogItem = 1;</code> + */ + public com.google.protobuf.ByteString getLogItem() { + return logItem_; + } + /** + * <code>bytes LogItem = 1;</code> + */ + public Builder setLogItem(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + logItem_ = value; + onChanged(); + return this; + } + /** + * <code>bytes LogItem = 1;</code> + */ + public Builder clearLogItem() { + + logItem_ = getDefaultInstance().getLogItem(); + onChanged(); + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Integration.StartApplicationLogsResponse) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Integration.StartApplicationLogsResponse) + private static final com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse(); + } + + public static com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<StartApplicationLogsResponse> + PARSER = new com.google.protobuf.AbstractParser<StartApplicationLogsResponse>() { + public StartApplicationLogsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StartApplicationLogsResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<StartApplicationLogsResponse> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<StartApplicationLogsResponse> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.integration.StartApplicationLogsResponseOuterClass.StartApplicationLogsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Integration_StartApplicationLogsResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Integration_StartApplicationLogsResponse_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\"StartApplicationLogsResponse.proto\022\025Ta" + + "ngo.PMR.Integration\"/\n\034StartApplicationL" + + "ogsResponse\022\017\n\007LogItem\030\001 \001(\014B!\n\037com.twin" + + "e.tango.pmr.integrationb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + internal_static_Tango_PMR_Integration_StartApplicationLogsResponse_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Integration_StartApplicationLogsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Integration_StartApplicationLogsResponse_descriptor, + new java.lang.String[] { "LogItem", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/StopApplicationLogsRequestOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/StopApplicationLogsRequestOuterClass.java new file mode 100644 index 000000000..9345f8966 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/StopApplicationLogsRequestOuterClass.java @@ -0,0 +1,441 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: StopApplicationLogsRequest.proto + +package com.twine.tango.pmr.integration; + +public final class StopApplicationLogsRequestOuterClass { + private StopApplicationLogsRequestOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface StopApplicationLogsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Integration.StopApplicationLogsRequest) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code Tango.PMR.Integration.StopApplicationLogsRequest} + */ + public static final class StopApplicationLogsRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Integration.StopApplicationLogsRequest) + StopApplicationLogsRequestOrBuilder { + private static final long serialVersionUID = 0L; + // Use StopApplicationLogsRequest.newBuilder() to construct. + private StopApplicationLogsRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private StopApplicationLogsRequest() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StopApplicationLogsRequest( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + 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.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.internal_static_Tango_PMR_Integration_StopApplicationLogsRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.internal_static_Tango_PMR_Integration_StopApplicationLogsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest.class, com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest.Builder.class); + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest)) { + return super.equals(obj); + } + com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest other = (com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest) obj; + + boolean result = true; + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest 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.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest 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.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Integration.StopApplicationLogsRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Integration.StopApplicationLogsRequest) + com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.internal_static_Tango_PMR_Integration_StopApplicationLogsRequest_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.internal_static_Tango_PMR_Integration_StopApplicationLogsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest.class, com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest.Builder.class); + } + + // Construct using com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.internal_static_Tango_PMR_Integration_StopApplicationLogsRequest_descriptor; + } + + public com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest getDefaultInstanceForType() { + return com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest.getDefaultInstance(); + } + + public com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest build() { + com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest buildPartial() { + com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest result = new com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest(this); + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest) { + return mergeFrom((com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest other) { + if (other == com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Integration.StopApplicationLogsRequest) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Integration.StopApplicationLogsRequest) + private static final com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest(); + } + + public static com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<StopApplicationLogsRequest> + PARSER = new com.google.protobuf.AbstractParser<StopApplicationLogsRequest>() { + public StopApplicationLogsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StopApplicationLogsRequest(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<StopApplicationLogsRequest> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<StopApplicationLogsRequest> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.integration.StopApplicationLogsRequestOuterClass.StopApplicationLogsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Integration_StopApplicationLogsRequest_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Integration_StopApplicationLogsRequest_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 StopApplicationLogsRequest.proto\022\025Tang" + + "o.PMR.Integration\"\034\n\032StopApplicationLogs" + + "RequestB!\n\037com.twine.tango.pmr.integrati" + + "onb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + internal_static_Tango_PMR_Integration_StopApplicationLogsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Integration_StopApplicationLogsRequest_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Integration_StopApplicationLogsRequest_descriptor, + new java.lang.String[] { }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/StopApplicationLogsResponseOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/StopApplicationLogsResponseOuterClass.java new file mode 100644 index 000000000..f990f3df8 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/integration/StopApplicationLogsResponseOuterClass.java @@ -0,0 +1,441 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: StopApplicationLogsResponse.proto + +package com.twine.tango.pmr.integration; + +public final class StopApplicationLogsResponseOuterClass { + private StopApplicationLogsResponseOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface StopApplicationLogsResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.Integration.StopApplicationLogsResponse) + com.google.protobuf.MessageOrBuilder { + } + /** + * Protobuf type {@code Tango.PMR.Integration.StopApplicationLogsResponse} + */ + public static final class StopApplicationLogsResponse extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.Integration.StopApplicationLogsResponse) + StopApplicationLogsResponseOrBuilder { + private static final long serialVersionUID = 0L; + // Use StopApplicationLogsResponse.newBuilder() to construct. + private StopApplicationLogsResponse(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private StopApplicationLogsResponse() { + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private StopApplicationLogsResponse( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + 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.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.internal_static_Tango_PMR_Integration_StopApplicationLogsResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.internal_static_Tango_PMR_Integration_StopApplicationLogsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse.class, com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse.Builder.class); + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse)) { + return super.equals(obj); + } + com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse other = (com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse) obj; + + boolean result = true; + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse 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.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse 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.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.Integration.StopApplicationLogsResponse} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.Integration.StopApplicationLogsResponse) + com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponseOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.internal_static_Tango_PMR_Integration_StopApplicationLogsResponse_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.internal_static_Tango_PMR_Integration_StopApplicationLogsResponse_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse.class, com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse.Builder.class); + } + + // Construct using com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.internal_static_Tango_PMR_Integration_StopApplicationLogsResponse_descriptor; + } + + public com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse getDefaultInstanceForType() { + return com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse.getDefaultInstance(); + } + + public com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse build() { + com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse buildPartial() { + com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse result = new com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse(this); + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse) { + return mergeFrom((com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse other) { + if (other == com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse.getDefaultInstance()) return this; + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.Integration.StopApplicationLogsResponse) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.Integration.StopApplicationLogsResponse) + private static final com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse(); + } + + public static com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<StopApplicationLogsResponse> + PARSER = new com.google.protobuf.AbstractParser<StopApplicationLogsResponse>() { + public StopApplicationLogsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new StopApplicationLogsResponse(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<StopApplicationLogsResponse> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<StopApplicationLogsResponse> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.integration.StopApplicationLogsResponseOuterClass.StopApplicationLogsResponse getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_Integration_StopApplicationLogsResponse_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_Integration_StopApplicationLogsResponse_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!StopApplicationLogsResponse.proto\022\025Tan" + + "go.PMR.Integration\"\035\n\033StopApplicationLog" + + "sResponseB!\n\037com.twine.tango.pmr.integra" + + "tionb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + internal_static_Tango_PMR_Integration_StopApplicationLogsResponse_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_Integration_StopApplicationLogsResponse_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_Integration_StopApplicationLogsResponse_descriptor, + new java.lang.String[] { }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/tcc/DetectionBenchmarkOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/tcc/DetectionBenchmarkOuterClass.java new file mode 100644 index 000000000..19435128c --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/tcc/DetectionBenchmarkOuterClass.java @@ -0,0 +1,830 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: DetectionBenchmark.proto + +package com.twine.tango.pmr.tcc; + +public final class DetectionBenchmarkOuterClass { + private DetectionBenchmarkOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface DetectionBenchmarkOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.TCC.DetectionBenchmark) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>int32 Red = 1;</code> + */ + int getRed(); + + /** + * <code>int32 Green = 2;</code> + */ + int getGreen(); + + /** + * <code>int32 Blue = 3;</code> + */ + int getBlue(); + + /** + * <code>double L = 4;</code> + */ + double getL(); + + /** + * <code>double A = 5;</code> + */ + double getA(); + + /** + * <code>double B = 6;</code> + */ + double getB(); + } + /** + * Protobuf type {@code Tango.PMR.TCC.DetectionBenchmark} + */ + public static final class DetectionBenchmark extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.TCC.DetectionBenchmark) + DetectionBenchmarkOrBuilder { + private static final long serialVersionUID = 0L; + // Use DetectionBenchmark.newBuilder() to construct. + private DetectionBenchmark(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private DetectionBenchmark() { + red_ = 0; + green_ = 0; + blue_ = 0; + l_ = 0D; + a_ = 0D; + b_ = 0D; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DetectionBenchmark( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + + red_ = input.readInt32(); + break; + } + case 16: { + + green_ = input.readInt32(); + break; + } + case 24: { + + blue_ = input.readInt32(); + break; + } + case 33: { + + l_ = input.readDouble(); + break; + } + case 41: { + + a_ = input.readDouble(); + break; + } + case 49: { + + b_ = input.readDouble(); + 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.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.internal_static_Tango_PMR_TCC_DetectionBenchmark_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.internal_static_Tango_PMR_TCC_DetectionBenchmark_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark.class, com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark.Builder.class); + } + + public static final int RED_FIELD_NUMBER = 1; + private int red_; + /** + * <code>int32 Red = 1;</code> + */ + public int getRed() { + return red_; + } + + public static final int GREEN_FIELD_NUMBER = 2; + private int green_; + /** + * <code>int32 Green = 2;</code> + */ + public int getGreen() { + return green_; + } + + public static final int BLUE_FIELD_NUMBER = 3; + private int blue_; + /** + * <code>int32 Blue = 3;</code> + */ + public int getBlue() { + return blue_; + } + + public static final int L_FIELD_NUMBER = 4; + private double l_; + /** + * <code>double L = 4;</code> + */ + public double getL() { + return l_; + } + + public static final int A_FIELD_NUMBER = 5; + private double a_; + /** + * <code>double A = 5;</code> + */ + public double getA() { + return a_; + } + + public static final int B_FIELD_NUMBER = 6; + private double b_; + /** + * <code>double B = 6;</code> + */ + public double getB() { + return b_; + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (red_ != 0) { + output.writeInt32(1, red_); + } + if (green_ != 0) { + output.writeInt32(2, green_); + } + if (blue_ != 0) { + output.writeInt32(3, blue_); + } + if (l_ != 0D) { + output.writeDouble(4, l_); + } + if (a_ != 0D) { + output.writeDouble(5, a_); + } + if (b_ != 0D) { + output.writeDouble(6, b_); + } + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (red_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, red_); + } + if (green_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, green_); + } + if (blue_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, blue_); + } + if (l_ != 0D) { + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(4, l_); + } + if (a_ != 0D) { + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(5, a_); + } + if (b_ != 0D) { + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(6, b_); + } + 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.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark)) { + return super.equals(obj); + } + com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark other = (com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark) obj; + + boolean result = true; + result = result && (getRed() + == other.getRed()); + result = result && (getGreen() + == other.getGreen()); + result = result && (getBlue() + == other.getBlue()); + result = result && ( + java.lang.Double.doubleToLongBits(getL()) + == java.lang.Double.doubleToLongBits( + other.getL())); + result = result && ( + java.lang.Double.doubleToLongBits(getA()) + == java.lang.Double.doubleToLongBits( + other.getA())); + result = result && ( + java.lang.Double.doubleToLongBits(getB()) + == java.lang.Double.doubleToLongBits( + other.getB())); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + RED_FIELD_NUMBER; + hash = (53 * hash) + getRed(); + hash = (37 * hash) + GREEN_FIELD_NUMBER; + hash = (53 * hash) + getGreen(); + hash = (37 * hash) + BLUE_FIELD_NUMBER; + hash = (53 * hash) + getBlue(); + hash = (37 * hash) + L_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getL())); + hash = (37 * hash) + A_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getA())); + hash = (37 * hash) + B_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getB())); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark 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.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark 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.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.TCC.DetectionBenchmark} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.TCC.DetectionBenchmark) + com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmarkOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.internal_static_Tango_PMR_TCC_DetectionBenchmark_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.internal_static_Tango_PMR_TCC_DetectionBenchmark_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark.class, com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark.Builder.class); + } + + // Construct using com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + red_ = 0; + + green_ = 0; + + blue_ = 0; + + l_ = 0D; + + a_ = 0D; + + b_ = 0D; + + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.internal_static_Tango_PMR_TCC_DetectionBenchmark_descriptor; + } + + public com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark getDefaultInstanceForType() { + return com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark.getDefaultInstance(); + } + + public com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark build() { + com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark buildPartial() { + com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark result = new com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark(this); + result.red_ = red_; + result.green_ = green_; + result.blue_ = blue_; + result.l_ = l_; + result.a_ = a_; + result.b_ = b_; + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark) { + return mergeFrom((com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark other) { + if (other == com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark.getDefaultInstance()) return this; + if (other.getRed() != 0) { + setRed(other.getRed()); + } + if (other.getGreen() != 0) { + setGreen(other.getGreen()); + } + if (other.getBlue() != 0) { + setBlue(other.getBlue()); + } + if (other.getL() != 0D) { + setL(other.getL()); + } + if (other.getA() != 0D) { + setA(other.getA()); + } + if (other.getB() != 0D) { + setB(other.getB()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int red_ ; + /** + * <code>int32 Red = 1;</code> + */ + public int getRed() { + return red_; + } + /** + * <code>int32 Red = 1;</code> + */ + public Builder setRed(int value) { + + red_ = value; + onChanged(); + return this; + } + /** + * <code>int32 Red = 1;</code> + */ + public Builder clearRed() { + + red_ = 0; + onChanged(); + return this; + } + + private int green_ ; + /** + * <code>int32 Green = 2;</code> + */ + public int getGreen() { + return green_; + } + /** + * <code>int32 Green = 2;</code> + */ + public Builder setGreen(int value) { + + green_ = value; + onChanged(); + return this; + } + /** + * <code>int32 Green = 2;</code> + */ + public Builder clearGreen() { + + green_ = 0; + onChanged(); + return this; + } + + private int blue_ ; + /** + * <code>int32 Blue = 3;</code> + */ + public int getBlue() { + return blue_; + } + /** + * <code>int32 Blue = 3;</code> + */ + public Builder setBlue(int value) { + + blue_ = value; + onChanged(); + return this; + } + /** + * <code>int32 Blue = 3;</code> + */ + public Builder clearBlue() { + + blue_ = 0; + onChanged(); + return this; + } + + private double l_ ; + /** + * <code>double L = 4;</code> + */ + public double getL() { + return l_; + } + /** + * <code>double L = 4;</code> + */ + public Builder setL(double value) { + + l_ = value; + onChanged(); + return this; + } + /** + * <code>double L = 4;</code> + */ + public Builder clearL() { + + l_ = 0D; + onChanged(); + return this; + } + + private double a_ ; + /** + * <code>double A = 5;</code> + */ + public double getA() { + return a_; + } + /** + * <code>double A = 5;</code> + */ + public Builder setA(double value) { + + a_ = value; + onChanged(); + return this; + } + /** + * <code>double A = 5;</code> + */ + public Builder clearA() { + + a_ = 0D; + onChanged(); + return this; + } + + private double b_ ; + /** + * <code>double B = 6;</code> + */ + public double getB() { + return b_; + } + /** + * <code>double B = 6;</code> + */ + public Builder setB(double value) { + + b_ = value; + onChanged(); + return this; + } + /** + * <code>double B = 6;</code> + */ + public Builder clearB() { + + b_ = 0D; + onChanged(); + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.TCC.DetectionBenchmark) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.TCC.DetectionBenchmark) + private static final com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark(); + } + + public static com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<DetectionBenchmark> + PARSER = new com.google.protobuf.AbstractParser<DetectionBenchmark>() { + public DetectionBenchmark parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DetectionBenchmark(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<DetectionBenchmark> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<DetectionBenchmark> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_TCC_DetectionBenchmark_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_TCC_DetectionBenchmark_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\030DetectionBenchmark.proto\022\rTango.PMR.TC" + + "C\"_\n\022DetectionBenchmark\022\013\n\003Red\030\001 \001(\005\022\r\n\005" + + "Green\030\002 \001(\005\022\014\n\004Blue\030\003 \001(\005\022\t\n\001L\030\004 \001(\001\022\t\n\001" + + "A\030\005 \001(\001\022\t\n\001B\030\006 \001(\001B\031\n\027com.twine.tango.pm" + + "r.tccb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + internal_static_Tango_PMR_TCC_DetectionBenchmark_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_TCC_DetectionBenchmark_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_TCC_DetectionBenchmark_descriptor, + new java.lang.String[] { "Red", "Green", "Blue", "L", "A", "B", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/tcc/DetectionColorOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/tcc/DetectionColorOuterClass.java new file mode 100644 index 000000000..e4e7802c4 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/tcc/DetectionColorOuterClass.java @@ -0,0 +1,631 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: DetectionColor.proto + +package com.twine.tango.pmr.tcc; + +public final class DetectionColorOuterClass { + private DetectionColorOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface DetectionColorOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.TCC.DetectionColor) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>int32 R = 1;</code> + */ + int getR(); + + /** + * <code>int32 G = 2;</code> + */ + int getG(); + + /** + * <code>int32 B = 3;</code> + */ + int getB(); + } + /** + * Protobuf type {@code Tango.PMR.TCC.DetectionColor} + */ + public static final class DetectionColor extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.TCC.DetectionColor) + DetectionColorOrBuilder { + private static final long serialVersionUID = 0L; + // Use DetectionColor.newBuilder() to construct. + private DetectionColor(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private DetectionColor() { + r_ = 0; + g_ = 0; + b_ = 0; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DetectionColor( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + case 8: { + + r_ = input.readInt32(); + break; + } + case 16: { + + g_ = input.readInt32(); + break; + } + case 24: { + + b_ = input.readInt32(); + 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.twine.tango.pmr.tcc.DetectionColorOuterClass.internal_static_Tango_PMR_TCC_DetectionColor_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.tcc.DetectionColorOuterClass.internal_static_Tango_PMR_TCC_DetectionColor_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.class, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder.class); + } + + public static final int R_FIELD_NUMBER = 1; + private int r_; + /** + * <code>int32 R = 1;</code> + */ + public int getR() { + return r_; + } + + public static final int G_FIELD_NUMBER = 2; + private int g_; + /** + * <code>int32 G = 2;</code> + */ + public int getG() { + return g_; + } + + public static final int B_FIELD_NUMBER = 3; + private int b_; + /** + * <code>int32 B = 3;</code> + */ + public int getB() { + return b_; + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (r_ != 0) { + output.writeInt32(1, r_); + } + if (g_ != 0) { + output.writeInt32(2, g_); + } + if (b_ != 0) { + output.writeInt32(3, b_); + } + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (r_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(1, r_); + } + if (g_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, g_); + } + if (b_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, b_); + } + 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.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor)) { + return super.equals(obj); + } + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor other = (com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor) obj; + + boolean result = true; + result = result && (getR() + == other.getR()); + result = result && (getG() + == other.getG()); + result = result && (getB() + == other.getB()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + R_FIELD_NUMBER; + hash = (53 * hash) + getR(); + hash = (37 * hash) + G_FIELD_NUMBER; + hash = (53 * hash) + getG(); + hash = (37 * hash) + B_FIELD_NUMBER; + hash = (53 * hash) + getB(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor 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.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor 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.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.TCC.DetectionColor} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.TCC.DetectionColor) + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.tcc.DetectionColorOuterClass.internal_static_Tango_PMR_TCC_DetectionColor_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.tcc.DetectionColorOuterClass.internal_static_Tango_PMR_TCC_DetectionColor_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.class, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder.class); + } + + // Construct using com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } + } + public Builder clear() { + super.clear(); + r_ = 0; + + g_ = 0; + + b_ = 0; + + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.tcc.DetectionColorOuterClass.internal_static_Tango_PMR_TCC_DetectionColor_descriptor; + } + + public com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor getDefaultInstanceForType() { + return com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.getDefaultInstance(); + } + + public com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor build() { + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor buildPartial() { + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor result = new com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor(this); + result.r_ = r_; + result.g_ = g_; + result.b_ = b_; + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor) { + return mergeFrom((com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor other) { + if (other == com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.getDefaultInstance()) return this; + if (other.getR() != 0) { + setR(other.getR()); + } + if (other.getG() != 0) { + setG(other.getG()); + } + if (other.getB() != 0) { + setB(other.getB()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private int r_ ; + /** + * <code>int32 R = 1;</code> + */ + public int getR() { + return r_; + } + /** + * <code>int32 R = 1;</code> + */ + public Builder setR(int value) { + + r_ = value; + onChanged(); + return this; + } + /** + * <code>int32 R = 1;</code> + */ + public Builder clearR() { + + r_ = 0; + onChanged(); + return this; + } + + private int g_ ; + /** + * <code>int32 G = 2;</code> + */ + public int getG() { + return g_; + } + /** + * <code>int32 G = 2;</code> + */ + public Builder setG(int value) { + + g_ = value; + onChanged(); + return this; + } + /** + * <code>int32 G = 2;</code> + */ + public Builder clearG() { + + g_ = 0; + onChanged(); + return this; + } + + private int b_ ; + /** + * <code>int32 B = 3;</code> + */ + public int getB() { + return b_; + } + /** + * <code>int32 B = 3;</code> + */ + public Builder setB(int value) { + + b_ = value; + onChanged(); + return this; + } + /** + * <code>int32 B = 3;</code> + */ + public Builder clearB() { + + b_ = 0; + onChanged(); + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.TCC.DetectionColor) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.TCC.DetectionColor) + private static final com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor(); + } + + public static com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<DetectionColor> + PARSER = new com.google.protobuf.AbstractParser<DetectionColor>() { + public DetectionColor parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DetectionColor(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<DetectionColor> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<DetectionColor> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_TCC_DetectionColor_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_TCC_DetectionColor_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\024DetectionColor.proto\022\rTango.PMR.TCC\"1\n" + + "\016DetectionColor\022\t\n\001R\030\001 \001(\005\022\t\n\001G\030\002 \001(\005\022\t\n" + + "\001B\030\003 \001(\005B\031\n\027com.twine.tango.pmr.tccb\006pro" + + "to3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }, assigner); + internal_static_Tango_PMR_TCC_DetectionColor_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_TCC_DetectionColor_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_TCC_DetectionColor_descriptor, + new java.lang.String[] { "R", "G", "B", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/tcc/DetectionInputOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/tcc/DetectionInputOuterClass.java new file mode 100644 index 000000000..6e5ced99b --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/tcc/DetectionInputOuterClass.java @@ -0,0 +1,1269 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: DetectionInput.proto + +package com.twine.tango.pmr.tcc; + +public final class DetectionInputOuterClass { + private DetectionInputOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface DetectionInputOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.TCC.DetectionInput) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>bytes Bitmap = 1;</code> + */ + com.google.protobuf.ByteString getBitmap(); + + /** + * <code>int32 Columns = 2;</code> + */ + int getColumns(); + + /** + * <code>int32 Rows = 3;</code> + */ + int getRows(); + + /** + * <code>int32 TargetIndex = 4;</code> + */ + int getTargetIndex(); + + /** + * <code>bool RequestDebugImage = 5;</code> + */ + boolean getRequestDebugImage(); + + /** + * <code>bool RequestColorMatrix = 6;</code> + */ + boolean getRequestColorMatrix(); + + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + java.util.List<com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark> + getBenchmarksList(); + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark getBenchmarks(int index); + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + int getBenchmarksCount(); + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + java.util.List<? extends com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmarkOrBuilder> + getBenchmarksOrBuilderList(); + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmarkOrBuilder getBenchmarksOrBuilder( + int index); + + /** + * <code>double number = 10;</code> + */ + double getNumber(); + } + /** + * Protobuf type {@code Tango.PMR.TCC.DetectionInput} + */ + public static final class DetectionInput extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.TCC.DetectionInput) + DetectionInputOrBuilder { + private static final long serialVersionUID = 0L; + // Use DetectionInput.newBuilder() to construct. + private DetectionInput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private DetectionInput() { + bitmap_ = com.google.protobuf.ByteString.EMPTY; + columns_ = 0; + rows_ = 0; + targetIndex_ = 0; + requestDebugImage_ = false; + requestColorMatrix_ = false; + benchmarks_ = java.util.Collections.emptyList(); + number_ = 0D; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DetectionInput( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + case 10: { + + bitmap_ = input.readBytes(); + break; + } + case 16: { + + columns_ = input.readInt32(); + break; + } + case 24: { + + rows_ = input.readInt32(); + break; + } + case 32: { + + targetIndex_ = input.readInt32(); + break; + } + case 40: { + + requestDebugImage_ = input.readBool(); + break; + } + case 48: { + + requestColorMatrix_ = input.readBool(); + break; + } + case 58: { + if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { + benchmarks_ = new java.util.ArrayList<com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark>(); + mutable_bitField0_ |= 0x00000040; + } + benchmarks_.add( + input.readMessage(com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark.parser(), extensionRegistry)); + break; + } + case 81: { + + number_ = input.readDouble(); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { + benchmarks_ = java.util.Collections.unmodifiableList(benchmarks_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.tcc.DetectionInputOuterClass.internal_static_Tango_PMR_TCC_DetectionInput_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.tcc.DetectionInputOuterClass.internal_static_Tango_PMR_TCC_DetectionInput_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput.class, com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput.Builder.class); + } + + private int bitField0_; + public static final int BITMAP_FIELD_NUMBER = 1; + private com.google.protobuf.ByteString bitmap_; + /** + * <code>bytes Bitmap = 1;</code> + */ + public com.google.protobuf.ByteString getBitmap() { + return bitmap_; + } + + public static final int COLUMNS_FIELD_NUMBER = 2; + private int columns_; + /** + * <code>int32 Columns = 2;</code> + */ + public int getColumns() { + return columns_; + } + + public static final int ROWS_FIELD_NUMBER = 3; + private int rows_; + /** + * <code>int32 Rows = 3;</code> + */ + public int getRows() { + return rows_; + } + + public static final int TARGETINDEX_FIELD_NUMBER = 4; + private int targetIndex_; + /** + * <code>int32 TargetIndex = 4;</code> + */ + public int getTargetIndex() { + return targetIndex_; + } + + public static final int REQUESTDEBUGIMAGE_FIELD_NUMBER = 5; + private boolean requestDebugImage_; + /** + * <code>bool RequestDebugImage = 5;</code> + */ + public boolean getRequestDebugImage() { + return requestDebugImage_; + } + + public static final int REQUESTCOLORMATRIX_FIELD_NUMBER = 6; + private boolean requestColorMatrix_; + /** + * <code>bool RequestColorMatrix = 6;</code> + */ + public boolean getRequestColorMatrix() { + return requestColorMatrix_; + } + + public static final int BENCHMARKS_FIELD_NUMBER = 7; + private java.util.List<com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark> benchmarks_; + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public java.util.List<com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark> getBenchmarksList() { + return benchmarks_; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public java.util.List<? extends com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmarkOrBuilder> + getBenchmarksOrBuilderList() { + return benchmarks_; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public int getBenchmarksCount() { + return benchmarks_.size(); + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark getBenchmarks(int index) { + return benchmarks_.get(index); + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmarkOrBuilder getBenchmarksOrBuilder( + int index) { + return benchmarks_.get(index); + } + + public static final int NUMBER_FIELD_NUMBER = 10; + private double number_; + /** + * <code>double number = 10;</code> + */ + public double getNumber() { + return number_; + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!bitmap_.isEmpty()) { + output.writeBytes(1, bitmap_); + } + if (columns_ != 0) { + output.writeInt32(2, columns_); + } + if (rows_ != 0) { + output.writeInt32(3, rows_); + } + if (targetIndex_ != 0) { + output.writeInt32(4, targetIndex_); + } + if (requestDebugImage_ != false) { + output.writeBool(5, requestDebugImage_); + } + if (requestColorMatrix_ != false) { + output.writeBool(6, requestColorMatrix_); + } + for (int i = 0; i < benchmarks_.size(); i++) { + output.writeMessage(7, benchmarks_.get(i)); + } + if (number_ != 0D) { + output.writeDouble(10, number_); + } + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!bitmap_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, bitmap_); + } + if (columns_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, columns_); + } + if (rows_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(3, rows_); + } + if (targetIndex_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, targetIndex_); + } + if (requestDebugImage_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, requestDebugImage_); + } + if (requestColorMatrix_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, requestColorMatrix_); + } + for (int i = 0; i < benchmarks_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, benchmarks_.get(i)); + } + if (number_ != 0D) { + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(10, number_); + } + 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.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput)) { + return super.equals(obj); + } + com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput other = (com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput) obj; + + boolean result = true; + result = result && getBitmap() + .equals(other.getBitmap()); + result = result && (getColumns() + == other.getColumns()); + result = result && (getRows() + == other.getRows()); + result = result && (getTargetIndex() + == other.getTargetIndex()); + result = result && (getRequestDebugImage() + == other.getRequestDebugImage()); + result = result && (getRequestColorMatrix() + == other.getRequestColorMatrix()); + result = result && getBenchmarksList() + .equals(other.getBenchmarksList()); + result = result && ( + java.lang.Double.doubleToLongBits(getNumber()) + == java.lang.Double.doubleToLongBits( + other.getNumber())); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + BITMAP_FIELD_NUMBER; + hash = (53 * hash) + getBitmap().hashCode(); + hash = (37 * hash) + COLUMNS_FIELD_NUMBER; + hash = (53 * hash) + getColumns(); + hash = (37 * hash) + ROWS_FIELD_NUMBER; + hash = (53 * hash) + getRows(); + hash = (37 * hash) + TARGETINDEX_FIELD_NUMBER; + hash = (53 * hash) + getTargetIndex(); + hash = (37 * hash) + REQUESTDEBUGIMAGE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequestDebugImage()); + hash = (37 * hash) + REQUESTCOLORMATRIX_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequestColorMatrix()); + if (getBenchmarksCount() > 0) { + hash = (37 * hash) + BENCHMARKS_FIELD_NUMBER; + hash = (53 * hash) + getBenchmarksList().hashCode(); + } + hash = (37 * hash) + NUMBER_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getNumber())); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput 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.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput 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.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.TCC.DetectionInput} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.TCC.DetectionInput) + com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInputOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.tcc.DetectionInputOuterClass.internal_static_Tango_PMR_TCC_DetectionInput_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.tcc.DetectionInputOuterClass.internal_static_Tango_PMR_TCC_DetectionInput_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput.class, com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput.Builder.class); + } + + // Construct using com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getBenchmarksFieldBuilder(); + } + } + public Builder clear() { + super.clear(); + bitmap_ = com.google.protobuf.ByteString.EMPTY; + + columns_ = 0; + + rows_ = 0; + + targetIndex_ = 0; + + requestDebugImage_ = false; + + requestColorMatrix_ = false; + + if (benchmarksBuilder_ == null) { + benchmarks_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + } else { + benchmarksBuilder_.clear(); + } + number_ = 0D; + + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.tcc.DetectionInputOuterClass.internal_static_Tango_PMR_TCC_DetectionInput_descriptor; + } + + public com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput getDefaultInstanceForType() { + return com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput.getDefaultInstance(); + } + + public com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput build() { + com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput buildPartial() { + com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput result = new com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.bitmap_ = bitmap_; + result.columns_ = columns_; + result.rows_ = rows_; + result.targetIndex_ = targetIndex_; + result.requestDebugImage_ = requestDebugImage_; + result.requestColorMatrix_ = requestColorMatrix_; + if (benchmarksBuilder_ == null) { + if (((bitField0_ & 0x00000040) == 0x00000040)) { + benchmarks_ = java.util.Collections.unmodifiableList(benchmarks_); + bitField0_ = (bitField0_ & ~0x00000040); + } + result.benchmarks_ = benchmarks_; + } else { + result.benchmarks_ = benchmarksBuilder_.build(); + } + result.number_ = number_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput) { + return mergeFrom((com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput other) { + if (other == com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput.getDefaultInstance()) return this; + if (other.getBitmap() != com.google.protobuf.ByteString.EMPTY) { + setBitmap(other.getBitmap()); + } + if (other.getColumns() != 0) { + setColumns(other.getColumns()); + } + if (other.getRows() != 0) { + setRows(other.getRows()); + } + if (other.getTargetIndex() != 0) { + setTargetIndex(other.getTargetIndex()); + } + if (other.getRequestDebugImage() != false) { + setRequestDebugImage(other.getRequestDebugImage()); + } + if (other.getRequestColorMatrix() != false) { + setRequestColorMatrix(other.getRequestColorMatrix()); + } + if (benchmarksBuilder_ == null) { + if (!other.benchmarks_.isEmpty()) { + if (benchmarks_.isEmpty()) { + benchmarks_ = other.benchmarks_; + bitField0_ = (bitField0_ & ~0x00000040); + } else { + ensureBenchmarksIsMutable(); + benchmarks_.addAll(other.benchmarks_); + } + onChanged(); + } + } else { + if (!other.benchmarks_.isEmpty()) { + if (benchmarksBuilder_.isEmpty()) { + benchmarksBuilder_.dispose(); + benchmarksBuilder_ = null; + benchmarks_ = other.benchmarks_; + bitField0_ = (bitField0_ & ~0x00000040); + benchmarksBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getBenchmarksFieldBuilder() : null; + } else { + benchmarksBuilder_.addAllMessages(other.benchmarks_); + } + } + } + if (other.getNumber() != 0D) { + setNumber(other.getNumber()); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private com.google.protobuf.ByteString bitmap_ = com.google.protobuf.ByteString.EMPTY; + /** + * <code>bytes Bitmap = 1;</code> + */ + public com.google.protobuf.ByteString getBitmap() { + return bitmap_; + } + /** + * <code>bytes Bitmap = 1;</code> + */ + public Builder setBitmap(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + bitmap_ = value; + onChanged(); + return this; + } + /** + * <code>bytes Bitmap = 1;</code> + */ + public Builder clearBitmap() { + + bitmap_ = getDefaultInstance().getBitmap(); + onChanged(); + return this; + } + + private int columns_ ; + /** + * <code>int32 Columns = 2;</code> + */ + public int getColumns() { + return columns_; + } + /** + * <code>int32 Columns = 2;</code> + */ + public Builder setColumns(int value) { + + columns_ = value; + onChanged(); + return this; + } + /** + * <code>int32 Columns = 2;</code> + */ + public Builder clearColumns() { + + columns_ = 0; + onChanged(); + return this; + } + + private int rows_ ; + /** + * <code>int32 Rows = 3;</code> + */ + public int getRows() { + return rows_; + } + /** + * <code>int32 Rows = 3;</code> + */ + public Builder setRows(int value) { + + rows_ = value; + onChanged(); + return this; + } + /** + * <code>int32 Rows = 3;</code> + */ + public Builder clearRows() { + + rows_ = 0; + onChanged(); + return this; + } + + private int targetIndex_ ; + /** + * <code>int32 TargetIndex = 4;</code> + */ + public int getTargetIndex() { + return targetIndex_; + } + /** + * <code>int32 TargetIndex = 4;</code> + */ + public Builder setTargetIndex(int value) { + + targetIndex_ = value; + onChanged(); + return this; + } + /** + * <code>int32 TargetIndex = 4;</code> + */ + public Builder clearTargetIndex() { + + targetIndex_ = 0; + onChanged(); + return this; + } + + private boolean requestDebugImage_ ; + /** + * <code>bool RequestDebugImage = 5;</code> + */ + public boolean getRequestDebugImage() { + return requestDebugImage_; + } + /** + * <code>bool RequestDebugImage = 5;</code> + */ + public Builder setRequestDebugImage(boolean value) { + + requestDebugImage_ = value; + onChanged(); + return this; + } + /** + * <code>bool RequestDebugImage = 5;</code> + */ + public Builder clearRequestDebugImage() { + + requestDebugImage_ = false; + onChanged(); + return this; + } + + private boolean requestColorMatrix_ ; + /** + * <code>bool RequestColorMatrix = 6;</code> + */ + public boolean getRequestColorMatrix() { + return requestColorMatrix_; + } + /** + * <code>bool RequestColorMatrix = 6;</code> + */ + public Builder setRequestColorMatrix(boolean value) { + + requestColorMatrix_ = value; + onChanged(); + return this; + } + /** + * <code>bool RequestColorMatrix = 6;</code> + */ + public Builder clearRequestColorMatrix() { + + requestColorMatrix_ = false; + onChanged(); + return this; + } + + private java.util.List<com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark> benchmarks_ = + java.util.Collections.emptyList(); + private void ensureBenchmarksIsMutable() { + if (!((bitField0_ & 0x00000040) == 0x00000040)) { + benchmarks_ = new java.util.ArrayList<com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark>(benchmarks_); + bitField0_ |= 0x00000040; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark, com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark.Builder, com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmarkOrBuilder> benchmarksBuilder_; + + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public java.util.List<com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark> getBenchmarksList() { + if (benchmarksBuilder_ == null) { + return java.util.Collections.unmodifiableList(benchmarks_); + } else { + return benchmarksBuilder_.getMessageList(); + } + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public int getBenchmarksCount() { + if (benchmarksBuilder_ == null) { + return benchmarks_.size(); + } else { + return benchmarksBuilder_.getCount(); + } + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark getBenchmarks(int index) { + if (benchmarksBuilder_ == null) { + return benchmarks_.get(index); + } else { + return benchmarksBuilder_.getMessage(index); + } + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public Builder setBenchmarks( + int index, com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark value) { + if (benchmarksBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBenchmarksIsMutable(); + benchmarks_.set(index, value); + onChanged(); + } else { + benchmarksBuilder_.setMessage(index, value); + } + return this; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public Builder setBenchmarks( + int index, com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark.Builder builderForValue) { + if (benchmarksBuilder_ == null) { + ensureBenchmarksIsMutable(); + benchmarks_.set(index, builderForValue.build()); + onChanged(); + } else { + benchmarksBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public Builder addBenchmarks(com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark value) { + if (benchmarksBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBenchmarksIsMutable(); + benchmarks_.add(value); + onChanged(); + } else { + benchmarksBuilder_.addMessage(value); + } + return this; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public Builder addBenchmarks( + int index, com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark value) { + if (benchmarksBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureBenchmarksIsMutable(); + benchmarks_.add(index, value); + onChanged(); + } else { + benchmarksBuilder_.addMessage(index, value); + } + return this; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public Builder addBenchmarks( + com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark.Builder builderForValue) { + if (benchmarksBuilder_ == null) { + ensureBenchmarksIsMutable(); + benchmarks_.add(builderForValue.build()); + onChanged(); + } else { + benchmarksBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public Builder addBenchmarks( + int index, com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark.Builder builderForValue) { + if (benchmarksBuilder_ == null) { + ensureBenchmarksIsMutable(); + benchmarks_.add(index, builderForValue.build()); + onChanged(); + } else { + benchmarksBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public Builder addAllBenchmarks( + java.lang.Iterable<? extends com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark> values) { + if (benchmarksBuilder_ == null) { + ensureBenchmarksIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, benchmarks_); + onChanged(); + } else { + benchmarksBuilder_.addAllMessages(values); + } + return this; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public Builder clearBenchmarks() { + if (benchmarksBuilder_ == null) { + benchmarks_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + } else { + benchmarksBuilder_.clear(); + } + return this; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public Builder removeBenchmarks(int index) { + if (benchmarksBuilder_ == null) { + ensureBenchmarksIsMutable(); + benchmarks_.remove(index); + onChanged(); + } else { + benchmarksBuilder_.remove(index); + } + return this; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark.Builder getBenchmarksBuilder( + int index) { + return getBenchmarksFieldBuilder().getBuilder(index); + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmarkOrBuilder getBenchmarksOrBuilder( + int index) { + if (benchmarksBuilder_ == null) { + return benchmarks_.get(index); } else { + return benchmarksBuilder_.getMessageOrBuilder(index); + } + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public java.util.List<? extends com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmarkOrBuilder> + getBenchmarksOrBuilderList() { + if (benchmarksBuilder_ != null) { + return benchmarksBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(benchmarks_); + } + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark.Builder addBenchmarksBuilder() { + return getBenchmarksFieldBuilder().addBuilder( + com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark.getDefaultInstance()); + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark.Builder addBenchmarksBuilder( + int index) { + return getBenchmarksFieldBuilder().addBuilder( + index, com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark.getDefaultInstance()); + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionBenchmark Benchmarks = 7;</code> + */ + public java.util.List<com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark.Builder> + getBenchmarksBuilderList() { + return getBenchmarksFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark, com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark.Builder, com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmarkOrBuilder> + getBenchmarksFieldBuilder() { + if (benchmarksBuilder_ == null) { + benchmarksBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark, com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmark.Builder, com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.DetectionBenchmarkOrBuilder>( + benchmarks_, + ((bitField0_ & 0x00000040) == 0x00000040), + getParentForChildren(), + isClean()); + benchmarks_ = null; + } + return benchmarksBuilder_; + } + + private double number_ ; + /** + * <code>double number = 10;</code> + */ + public double getNumber() { + return number_; + } + /** + * <code>double number = 10;</code> + */ + public Builder setNumber(double value) { + + number_ = value; + onChanged(); + return this; + } + /** + * <code>double number = 10;</code> + */ + public Builder clearNumber() { + + number_ = 0D; + onChanged(); + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.TCC.DetectionInput) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.TCC.DetectionInput) + private static final com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput(); + } + + public static com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<DetectionInput> + PARSER = new com.google.protobuf.AbstractParser<DetectionInput>() { + public DetectionInput parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DetectionInput(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<DetectionInput> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<DetectionInput> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.tcc.DetectionInputOuterClass.DetectionInput getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_TCC_DetectionInput_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_TCC_DetectionInput_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\024DetectionInput.proto\022\rTango.PMR.TCC\032\030D" + + "etectionBenchmark.proto\"\322\001\n\016DetectionInp" + + "ut\022\016\n\006Bitmap\030\001 \001(\014\022\017\n\007Columns\030\002 \001(\005\022\014\n\004R" + + "ows\030\003 \001(\005\022\023\n\013TargetIndex\030\004 \001(\005\022\031\n\021Reques" + + "tDebugImage\030\005 \001(\010\022\032\n\022RequestColorMatrix\030" + + "\006 \001(\010\0225\n\nBenchmarks\030\007 \003(\0132!.Tango.PMR.TC" + + "C.DetectionBenchmark\022\016\n\006number\030\n \001(\001B\031\n\027" + + "com.twine.tango.pmr.tccb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.getDescriptor(), + }, assigner); + internal_static_Tango_PMR_TCC_DetectionInput_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_TCC_DetectionInput_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_TCC_DetectionInput_descriptor, + new java.lang.String[] { "Bitmap", "Columns", "Rows", "TargetIndex", "RequestDebugImage", "RequestColorMatrix", "Benchmarks", "Number", }); + com.twine.tango.pmr.tcc.DetectionBenchmarkOuterClass.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/tcc/DetectionOutputOuterClass.java b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/tcc/DetectionOutputOuterClass.java new file mode 100644 index 000000000..f8c3757f5 --- /dev/null +++ b/Software/Android_Studio/ColorCapture/app/src/main/java/com/twine/tango/pmr/tcc/DetectionOutputOuterClass.java @@ -0,0 +1,1542 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: DetectionOutput.proto + +package com.twine.tango.pmr.tcc; + +public final class DetectionOutputOuterClass { + private DetectionOutputOuterClass() {} + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistryLite registry) { + } + + public static void registerAllExtensions( + com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions( + (com.google.protobuf.ExtensionRegistryLite) registry); + } + public interface DetectionOutputOrBuilder extends + // @@protoc_insertion_point(interface_extends:Tango.PMR.TCC.DetectionOutput) + com.google.protobuf.MessageOrBuilder { + + /** + * <code>double number = 1;</code> + */ + double getNumber(); + + /** + * <code>.Tango.PMR.TCC.DetectionColor RawColor = 2;</code> + */ + boolean hasRawColor(); + /** + * <code>.Tango.PMR.TCC.DetectionColor RawColor = 2;</code> + */ + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor getRawColor(); + /** + * <code>.Tango.PMR.TCC.DetectionColor RawColor = 2;</code> + */ + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder getRawColorOrBuilder(); + + /** + * <code>.Tango.PMR.TCC.DetectionColor ProcessedColor = 3;</code> + */ + boolean hasProcessedColor(); + /** + * <code>.Tango.PMR.TCC.DetectionColor ProcessedColor = 3;</code> + */ + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor getProcessedColor(); + /** + * <code>.Tango.PMR.TCC.DetectionColor ProcessedColor = 3;</code> + */ + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder getProcessedColorOrBuilder(); + + /** + * <code>bytes DebugBitmap = 4;</code> + */ + com.google.protobuf.ByteString getDebugBitmap(); + + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + java.util.List<com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor> + getColorMatrixList(); + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor getColorMatrix(int index); + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + int getColorMatrixCount(); + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + java.util.List<? extends com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder> + getColorMatrixOrBuilderList(); + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder getColorMatrixOrBuilder( + int index); + + /** + * <code>bool HasError = 6;</code> + */ + boolean getHasError(); + + /** + * <code>string ErrorMessage = 7;</code> + */ + java.lang.String getErrorMessage(); + /** + * <code>string ErrorMessage = 7;</code> + */ + com.google.protobuf.ByteString + getErrorMessageBytes(); + } + /** + * Protobuf type {@code Tango.PMR.TCC.DetectionOutput} + */ + public static final class DetectionOutput extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:Tango.PMR.TCC.DetectionOutput) + DetectionOutputOrBuilder { + private static final long serialVersionUID = 0L; + // Use DetectionOutput.newBuilder() to construct. + private DetectionOutput(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { + super(builder); + } + private DetectionOutput() { + number_ = 0D; + debugBitmap_ = com.google.protobuf.ByteString.EMPTY; + colorMatrix_ = java.util.Collections.emptyList(); + hasError_ = false; + errorMessage_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private DetectionOutput( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + default: { + if (!parseUnknownFieldProto3( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + case 9: { + + number_ = input.readDouble(); + break; + } + case 18: { + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder subBuilder = null; + if (rawColor_ != null) { + subBuilder = rawColor_.toBuilder(); + } + rawColor_ = input.readMessage(com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(rawColor_); + rawColor_ = subBuilder.buildPartial(); + } + + break; + } + case 26: { + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder subBuilder = null; + if (processedColor_ != null) { + subBuilder = processedColor_.toBuilder(); + } + processedColor_ = input.readMessage(com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(processedColor_); + processedColor_ = subBuilder.buildPartial(); + } + + break; + } + case 34: { + + debugBitmap_ = input.readBytes(); + break; + } + case 42: { + if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + colorMatrix_ = new java.util.ArrayList<com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor>(); + mutable_bitField0_ |= 0x00000010; + } + colorMatrix_.add( + input.readMessage(com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.parser(), extensionRegistry)); + break; + } + case 48: { + + hasError_ = input.readBool(); + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + errorMessage_ = s; + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { + colorMatrix_ = java.util.Collections.unmodifiableList(colorMatrix_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.tcc.DetectionOutputOuterClass.internal_static_Tango_PMR_TCC_DetectionOutput_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.tcc.DetectionOutputOuterClass.internal_static_Tango_PMR_TCC_DetectionOutput_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput.class, com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput.Builder.class); + } + + private int bitField0_; + public static final int NUMBER_FIELD_NUMBER = 1; + private double number_; + /** + * <code>double number = 1;</code> + */ + public double getNumber() { + return number_; + } + + public static final int RAWCOLOR_FIELD_NUMBER = 2; + private com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor rawColor_; + /** + * <code>.Tango.PMR.TCC.DetectionColor RawColor = 2;</code> + */ + public boolean hasRawColor() { + return rawColor_ != null; + } + /** + * <code>.Tango.PMR.TCC.DetectionColor RawColor = 2;</code> + */ + public com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor getRawColor() { + return rawColor_ == null ? com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.getDefaultInstance() : rawColor_; + } + /** + * <code>.Tango.PMR.TCC.DetectionColor RawColor = 2;</code> + */ + public com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder getRawColorOrBuilder() { + return getRawColor(); + } + + public static final int PROCESSEDCOLOR_FIELD_NUMBER = 3; + private com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor processedColor_; + /** + * <code>.Tango.PMR.TCC.DetectionColor ProcessedColor = 3;</code> + */ + public boolean hasProcessedColor() { + return processedColor_ != null; + } + /** + * <code>.Tango.PMR.TCC.DetectionColor ProcessedColor = 3;</code> + */ + public com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor getProcessedColor() { + return processedColor_ == null ? com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.getDefaultInstance() : processedColor_; + } + /** + * <code>.Tango.PMR.TCC.DetectionColor ProcessedColor = 3;</code> + */ + public com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder getProcessedColorOrBuilder() { + return getProcessedColor(); + } + + public static final int DEBUGBITMAP_FIELD_NUMBER = 4; + private com.google.protobuf.ByteString debugBitmap_; + /** + * <code>bytes DebugBitmap = 4;</code> + */ + public com.google.protobuf.ByteString getDebugBitmap() { + return debugBitmap_; + } + + public static final int COLORMATRIX_FIELD_NUMBER = 5; + private java.util.List<com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor> colorMatrix_; + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public java.util.List<com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor> getColorMatrixList() { + return colorMatrix_; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public java.util.List<? extends com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder> + getColorMatrixOrBuilderList() { + return colorMatrix_; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public int getColorMatrixCount() { + return colorMatrix_.size(); + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor getColorMatrix(int index) { + return colorMatrix_.get(index); + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder getColorMatrixOrBuilder( + int index) { + return colorMatrix_.get(index); + } + + public static final int HASERROR_FIELD_NUMBER = 6; + private boolean hasError_; + /** + * <code>bool HasError = 6;</code> + */ + public boolean getHasError() { + return hasError_; + } + + public static final int ERRORMESSAGE_FIELD_NUMBER = 7; + private volatile java.lang.Object errorMessage_; + /** + * <code>string ErrorMessage = 7;</code> + */ + public java.lang.String getErrorMessage() { + java.lang.Object ref = errorMessage_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errorMessage_ = s; + return s; + } + } + /** + * <code>string ErrorMessage = 7;</code> + */ + public com.google.protobuf.ByteString + getErrorMessageBytes() { + java.lang.Object ref = errorMessage_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (number_ != 0D) { + output.writeDouble(1, number_); + } + if (rawColor_ != null) { + output.writeMessage(2, getRawColor()); + } + if (processedColor_ != null) { + output.writeMessage(3, getProcessedColor()); + } + if (!debugBitmap_.isEmpty()) { + output.writeBytes(4, debugBitmap_); + } + for (int i = 0; i < colorMatrix_.size(); i++) { + output.writeMessage(5, colorMatrix_.get(i)); + } + if (hasError_ != false) { + output.writeBool(6, hasError_); + } + if (!getErrorMessageBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 7, errorMessage_); + } + unknownFields.writeTo(output); + } + + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (number_ != 0D) { + size += com.google.protobuf.CodedOutputStream + .computeDoubleSize(1, number_); + } + if (rawColor_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getRawColor()); + } + if (processedColor_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getProcessedColor()); + } + if (!debugBitmap_.isEmpty()) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(4, debugBitmap_); + } + for (int i = 0; i < colorMatrix_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, colorMatrix_.get(i)); + } + if (hasError_ != false) { + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(6, hasError_); + } + if (!getErrorMessageBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, errorMessage_); + } + 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.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput)) { + return super.equals(obj); + } + com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput other = (com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput) obj; + + boolean result = true; + result = result && ( + java.lang.Double.doubleToLongBits(getNumber()) + == java.lang.Double.doubleToLongBits( + other.getNumber())); + result = result && (hasRawColor() == other.hasRawColor()); + if (hasRawColor()) { + result = result && getRawColor() + .equals(other.getRawColor()); + } + result = result && (hasProcessedColor() == other.hasProcessedColor()); + if (hasProcessedColor()) { + result = result && getProcessedColor() + .equals(other.getProcessedColor()); + } + result = result && getDebugBitmap() + .equals(other.getDebugBitmap()); + result = result && getColorMatrixList() + .equals(other.getColorMatrixList()); + result = result && (getHasError() + == other.getHasError()); + result = result && getErrorMessage() + .equals(other.getErrorMessage()); + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NUMBER_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getNumber())); + if (hasRawColor()) { + hash = (37 * hash) + RAWCOLOR_FIELD_NUMBER; + hash = (53 * hash) + getRawColor().hashCode(); + } + if (hasProcessedColor()) { + hash = (37 * hash) + PROCESSEDCOLOR_FIELD_NUMBER; + hash = (53 * hash) + getProcessedColor().hashCode(); + } + hash = (37 * hash) + DEBUGBITMAP_FIELD_NUMBER; + hash = (53 * hash) + getDebugBitmap().hashCode(); + if (getColorMatrixCount() > 0) { + hash = (37 * hash) + COLORMATRIX_FIELD_NUMBER; + hash = (53 * hash) + getColorMatrixList().hashCode(); + } + hash = (37 * hash) + HASERROR_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getHasError()); + hash = (37 * hash) + ERRORMESSAGE_FIELD_NUMBER; + hash = (53 * hash) + getErrorMessage().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput 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.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput 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.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + 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 Tango.PMR.TCC.DetectionOutput} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements + // @@protoc_insertion_point(builder_implements:Tango.PMR.TCC.DetectionOutput) + com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutputOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.twine.tango.pmr.tcc.DetectionOutputOuterClass.internal_static_Tango_PMR_TCC_DetectionOutput_descriptor; + } + + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.twine.tango.pmr.tcc.DetectionOutputOuterClass.internal_static_Tango_PMR_TCC_DetectionOutput_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput.class, com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput.Builder.class); + } + + // Construct using com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + getColorMatrixFieldBuilder(); + } + } + public Builder clear() { + super.clear(); + number_ = 0D; + + if (rawColorBuilder_ == null) { + rawColor_ = null; + } else { + rawColor_ = null; + rawColorBuilder_ = null; + } + if (processedColorBuilder_ == null) { + processedColor_ = null; + } else { + processedColor_ = null; + processedColorBuilder_ = null; + } + debugBitmap_ = com.google.protobuf.ByteString.EMPTY; + + if (colorMatrixBuilder_ == null) { + colorMatrix_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + } else { + colorMatrixBuilder_.clear(); + } + hasError_ = false; + + errorMessage_ = ""; + + return this; + } + + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.twine.tango.pmr.tcc.DetectionOutputOuterClass.internal_static_Tango_PMR_TCC_DetectionOutput_descriptor; + } + + public com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput getDefaultInstanceForType() { + return com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput.getDefaultInstance(); + } + + public com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput build() { + com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + public com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput buildPartial() { + com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput result = new com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput(this); + int from_bitField0_ = bitField0_; + int to_bitField0_ = 0; + result.number_ = number_; + if (rawColorBuilder_ == null) { + result.rawColor_ = rawColor_; + } else { + result.rawColor_ = rawColorBuilder_.build(); + } + if (processedColorBuilder_ == null) { + result.processedColor_ = processedColor_; + } else { + result.processedColor_ = processedColorBuilder_.build(); + } + result.debugBitmap_ = debugBitmap_; + if (colorMatrixBuilder_ == null) { + if (((bitField0_ & 0x00000010) == 0x00000010)) { + colorMatrix_ = java.util.Collections.unmodifiableList(colorMatrix_); + bitField0_ = (bitField0_ & ~0x00000010); + } + result.colorMatrix_ = colorMatrix_; + } else { + result.colorMatrix_ = colorMatrixBuilder_.build(); + } + result.hasError_ = hasError_; + result.errorMessage_ = errorMessage_; + result.bitField0_ = to_bitField0_; + onBuilt(); + return result; + } + + public Builder clone() { + return (Builder) super.clone(); + } + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.setField(field, value); + } + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return (Builder) super.clearField(field); + } + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return (Builder) super.clearOneof(oneof); + } + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return (Builder) super.setRepeatedField(field, index, value); + } + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return (Builder) super.addRepeatedField(field, value); + } + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput) { + return mergeFrom((com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput other) { + if (other == com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput.getDefaultInstance()) return this; + if (other.getNumber() != 0D) { + setNumber(other.getNumber()); + } + if (other.hasRawColor()) { + mergeRawColor(other.getRawColor()); + } + if (other.hasProcessedColor()) { + mergeProcessedColor(other.getProcessedColor()); + } + if (other.getDebugBitmap() != com.google.protobuf.ByteString.EMPTY) { + setDebugBitmap(other.getDebugBitmap()); + } + if (colorMatrixBuilder_ == null) { + if (!other.colorMatrix_.isEmpty()) { + if (colorMatrix_.isEmpty()) { + colorMatrix_ = other.colorMatrix_; + bitField0_ = (bitField0_ & ~0x00000010); + } else { + ensureColorMatrixIsMutable(); + colorMatrix_.addAll(other.colorMatrix_); + } + onChanged(); + } + } else { + if (!other.colorMatrix_.isEmpty()) { + if (colorMatrixBuilder_.isEmpty()) { + colorMatrixBuilder_.dispose(); + colorMatrixBuilder_ = null; + colorMatrix_ = other.colorMatrix_; + bitField0_ = (bitField0_ & ~0x00000010); + colorMatrixBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getColorMatrixFieldBuilder() : null; + } else { + colorMatrixBuilder_.addAllMessages(other.colorMatrix_); + } + } + } + if (other.getHasError() != false) { + setHasError(other.getHasError()); + } + if (!other.getErrorMessage().isEmpty()) { + errorMessage_ = other.errorMessage_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + public final boolean isInitialized() { + return true; + } + + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + private int bitField0_; + + private double number_ ; + /** + * <code>double number = 1;</code> + */ + public double getNumber() { + return number_; + } + /** + * <code>double number = 1;</code> + */ + public Builder setNumber(double value) { + + number_ = value; + onChanged(); + return this; + } + /** + * <code>double number = 1;</code> + */ + public Builder clearNumber() { + + number_ = 0D; + onChanged(); + return this; + } + + private com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor rawColor_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder> rawColorBuilder_; + /** + * <code>.Tango.PMR.TCC.DetectionColor RawColor = 2;</code> + */ + public boolean hasRawColor() { + return rawColorBuilder_ != null || rawColor_ != null; + } + /** + * <code>.Tango.PMR.TCC.DetectionColor RawColor = 2;</code> + */ + public com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor getRawColor() { + if (rawColorBuilder_ == null) { + return rawColor_ == null ? com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.getDefaultInstance() : rawColor_; + } else { + return rawColorBuilder_.getMessage(); + } + } + /** + * <code>.Tango.PMR.TCC.DetectionColor RawColor = 2;</code> + */ + public Builder setRawColor(com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor value) { + if (rawColorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + rawColor_ = value; + onChanged(); + } else { + rawColorBuilder_.setMessage(value); + } + + return this; + } + /** + * <code>.Tango.PMR.TCC.DetectionColor RawColor = 2;</code> + */ + public Builder setRawColor( + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder builderForValue) { + if (rawColorBuilder_ == null) { + rawColor_ = builderForValue.build(); + onChanged(); + } else { + rawColorBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * <code>.Tango.PMR.TCC.DetectionColor RawColor = 2;</code> + */ + public Builder mergeRawColor(com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor value) { + if (rawColorBuilder_ == null) { + if (rawColor_ != null) { + rawColor_ = + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.newBuilder(rawColor_).mergeFrom(value).buildPartial(); + } else { + rawColor_ = value; + } + onChanged(); + } else { + rawColorBuilder_.mergeFrom(value); + } + + return this; + } + /** + * <code>.Tango.PMR.TCC.DetectionColor RawColor = 2;</code> + */ + public Builder clearRawColor() { + if (rawColorBuilder_ == null) { + rawColor_ = null; + onChanged(); + } else { + rawColor_ = null; + rawColorBuilder_ = null; + } + + return this; + } + /** + * <code>.Tango.PMR.TCC.DetectionColor RawColor = 2;</code> + */ + public com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder getRawColorBuilder() { + + onChanged(); + return getRawColorFieldBuilder().getBuilder(); + } + /** + * <code>.Tango.PMR.TCC.DetectionColor RawColor = 2;</code> + */ + public com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder getRawColorOrBuilder() { + if (rawColorBuilder_ != null) { + return rawColorBuilder_.getMessageOrBuilder(); + } else { + return rawColor_ == null ? + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.getDefaultInstance() : rawColor_; + } + } + /** + * <code>.Tango.PMR.TCC.DetectionColor RawColor = 2;</code> + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder> + getRawColorFieldBuilder() { + if (rawColorBuilder_ == null) { + rawColorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder>( + getRawColor(), + getParentForChildren(), + isClean()); + rawColor_ = null; + } + return rawColorBuilder_; + } + + private com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor processedColor_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder> processedColorBuilder_; + /** + * <code>.Tango.PMR.TCC.DetectionColor ProcessedColor = 3;</code> + */ + public boolean hasProcessedColor() { + return processedColorBuilder_ != null || processedColor_ != null; + } + /** + * <code>.Tango.PMR.TCC.DetectionColor ProcessedColor = 3;</code> + */ + public com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor getProcessedColor() { + if (processedColorBuilder_ == null) { + return processedColor_ == null ? com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.getDefaultInstance() : processedColor_; + } else { + return processedColorBuilder_.getMessage(); + } + } + /** + * <code>.Tango.PMR.TCC.DetectionColor ProcessedColor = 3;</code> + */ + public Builder setProcessedColor(com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor value) { + if (processedColorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + processedColor_ = value; + onChanged(); + } else { + processedColorBuilder_.setMessage(value); + } + + return this; + } + /** + * <code>.Tango.PMR.TCC.DetectionColor ProcessedColor = 3;</code> + */ + public Builder setProcessedColor( + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder builderForValue) { + if (processedColorBuilder_ == null) { + processedColor_ = builderForValue.build(); + onChanged(); + } else { + processedColorBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * <code>.Tango.PMR.TCC.DetectionColor ProcessedColor = 3;</code> + */ + public Builder mergeProcessedColor(com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor value) { + if (processedColorBuilder_ == null) { + if (processedColor_ != null) { + processedColor_ = + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.newBuilder(processedColor_).mergeFrom(value).buildPartial(); + } else { + processedColor_ = value; + } + onChanged(); + } else { + processedColorBuilder_.mergeFrom(value); + } + + return this; + } + /** + * <code>.Tango.PMR.TCC.DetectionColor ProcessedColor = 3;</code> + */ + public Builder clearProcessedColor() { + if (processedColorBuilder_ == null) { + processedColor_ = null; + onChanged(); + } else { + processedColor_ = null; + processedColorBuilder_ = null; + } + + return this; + } + /** + * <code>.Tango.PMR.TCC.DetectionColor ProcessedColor = 3;</code> + */ + public com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder getProcessedColorBuilder() { + + onChanged(); + return getProcessedColorFieldBuilder().getBuilder(); + } + /** + * <code>.Tango.PMR.TCC.DetectionColor ProcessedColor = 3;</code> + */ + public com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder getProcessedColorOrBuilder() { + if (processedColorBuilder_ != null) { + return processedColorBuilder_.getMessageOrBuilder(); + } else { + return processedColor_ == null ? + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.getDefaultInstance() : processedColor_; + } + } + /** + * <code>.Tango.PMR.TCC.DetectionColor ProcessedColor = 3;</code> + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder> + getProcessedColorFieldBuilder() { + if (processedColorBuilder_ == null) { + processedColorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder>( + getProcessedColor(), + getParentForChildren(), + isClean()); + processedColor_ = null; + } + return processedColorBuilder_; + } + + private com.google.protobuf.ByteString debugBitmap_ = com.google.protobuf.ByteString.EMPTY; + /** + * <code>bytes DebugBitmap = 4;</code> + */ + public com.google.protobuf.ByteString getDebugBitmap() { + return debugBitmap_; + } + /** + * <code>bytes DebugBitmap = 4;</code> + */ + public Builder setDebugBitmap(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + + debugBitmap_ = value; + onChanged(); + return this; + } + /** + * <code>bytes DebugBitmap = 4;</code> + */ + public Builder clearDebugBitmap() { + + debugBitmap_ = getDefaultInstance().getDebugBitmap(); + onChanged(); + return this; + } + + private java.util.List<com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor> colorMatrix_ = + java.util.Collections.emptyList(); + private void ensureColorMatrixIsMutable() { + if (!((bitField0_ & 0x00000010) == 0x00000010)) { + colorMatrix_ = new java.util.ArrayList<com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor>(colorMatrix_); + bitField0_ |= 0x00000010; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder> colorMatrixBuilder_; + + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public java.util.List<com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor> getColorMatrixList() { + if (colorMatrixBuilder_ == null) { + return java.util.Collections.unmodifiableList(colorMatrix_); + } else { + return colorMatrixBuilder_.getMessageList(); + } + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public int getColorMatrixCount() { + if (colorMatrixBuilder_ == null) { + return colorMatrix_.size(); + } else { + return colorMatrixBuilder_.getCount(); + } + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor getColorMatrix(int index) { + if (colorMatrixBuilder_ == null) { + return colorMatrix_.get(index); + } else { + return colorMatrixBuilder_.getMessage(index); + } + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public Builder setColorMatrix( + int index, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor value) { + if (colorMatrixBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureColorMatrixIsMutable(); + colorMatrix_.set(index, value); + onChanged(); + } else { + colorMatrixBuilder_.setMessage(index, value); + } + return this; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public Builder setColorMatrix( + int index, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder builderForValue) { + if (colorMatrixBuilder_ == null) { + ensureColorMatrixIsMutable(); + colorMatrix_.set(index, builderForValue.build()); + onChanged(); + } else { + colorMatrixBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public Builder addColorMatrix(com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor value) { + if (colorMatrixBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureColorMatrixIsMutable(); + colorMatrix_.add(value); + onChanged(); + } else { + colorMatrixBuilder_.addMessage(value); + } + return this; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public Builder addColorMatrix( + int index, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor value) { + if (colorMatrixBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureColorMatrixIsMutable(); + colorMatrix_.add(index, value); + onChanged(); + } else { + colorMatrixBuilder_.addMessage(index, value); + } + return this; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public Builder addColorMatrix( + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder builderForValue) { + if (colorMatrixBuilder_ == null) { + ensureColorMatrixIsMutable(); + colorMatrix_.add(builderForValue.build()); + onChanged(); + } else { + colorMatrixBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public Builder addColorMatrix( + int index, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder builderForValue) { + if (colorMatrixBuilder_ == null) { + ensureColorMatrixIsMutable(); + colorMatrix_.add(index, builderForValue.build()); + onChanged(); + } else { + colorMatrixBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public Builder addAllColorMatrix( + java.lang.Iterable<? extends com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor> values) { + if (colorMatrixBuilder_ == null) { + ensureColorMatrixIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, colorMatrix_); + onChanged(); + } else { + colorMatrixBuilder_.addAllMessages(values); + } + return this; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public Builder clearColorMatrix() { + if (colorMatrixBuilder_ == null) { + colorMatrix_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + } else { + colorMatrixBuilder_.clear(); + } + return this; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public Builder removeColorMatrix(int index) { + if (colorMatrixBuilder_ == null) { + ensureColorMatrixIsMutable(); + colorMatrix_.remove(index); + onChanged(); + } else { + colorMatrixBuilder_.remove(index); + } + return this; + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder getColorMatrixBuilder( + int index) { + return getColorMatrixFieldBuilder().getBuilder(index); + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder getColorMatrixOrBuilder( + int index) { + if (colorMatrixBuilder_ == null) { + return colorMatrix_.get(index); } else { + return colorMatrixBuilder_.getMessageOrBuilder(index); + } + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public java.util.List<? extends com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder> + getColorMatrixOrBuilderList() { + if (colorMatrixBuilder_ != null) { + return colorMatrixBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(colorMatrix_); + } + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder addColorMatrixBuilder() { + return getColorMatrixFieldBuilder().addBuilder( + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.getDefaultInstance()); + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder addColorMatrixBuilder( + int index) { + return getColorMatrixFieldBuilder().addBuilder( + index, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.getDefaultInstance()); + } + /** + * <code>repeated .Tango.PMR.TCC.DetectionColor ColorMatrix = 5;</code> + */ + public java.util.List<com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder> + getColorMatrixBuilderList() { + return getColorMatrixFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder> + getColorMatrixFieldBuilder() { + if (colorMatrixBuilder_ == null) { + colorMatrixBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColor.Builder, com.twine.tango.pmr.tcc.DetectionColorOuterClass.DetectionColorOrBuilder>( + colorMatrix_, + ((bitField0_ & 0x00000010) == 0x00000010), + getParentForChildren(), + isClean()); + colorMatrix_ = null; + } + return colorMatrixBuilder_; + } + + private boolean hasError_ ; + /** + * <code>bool HasError = 6;</code> + */ + public boolean getHasError() { + return hasError_; + } + /** + * <code>bool HasError = 6;</code> + */ + public Builder setHasError(boolean value) { + + hasError_ = value; + onChanged(); + return this; + } + /** + * <code>bool HasError = 6;</code> + */ + public Builder clearHasError() { + + hasError_ = false; + onChanged(); + return this; + } + + private java.lang.Object errorMessage_ = ""; + /** + * <code>string ErrorMessage = 7;</code> + */ + public java.lang.String getErrorMessage() { + java.lang.Object ref = errorMessage_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + errorMessage_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>string ErrorMessage = 7;</code> + */ + public com.google.protobuf.ByteString + getErrorMessageBytes() { + java.lang.Object ref = errorMessage_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + errorMessage_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>string ErrorMessage = 7;</code> + */ + public Builder setErrorMessage( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + errorMessage_ = value; + onChanged(); + return this; + } + /** + * <code>string ErrorMessage = 7;</code> + */ + public Builder clearErrorMessage() { + + errorMessage_ = getDefaultInstance().getErrorMessage(); + onChanged(); + return this; + } + /** + * <code>string ErrorMessage = 7;</code> + */ + public Builder setErrorMessageBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + errorMessage_ = value; + onChanged(); + return this; + } + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(unknownFields); + } + + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:Tango.PMR.TCC.DetectionOutput) + } + + // @@protoc_insertion_point(class_scope:Tango.PMR.TCC.DetectionOutput) + private static final com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput(); + } + + public static com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser<DetectionOutput> + PARSER = new com.google.protobuf.AbstractParser<DetectionOutput>() { + public DetectionOutput parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new DetectionOutput(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser<DetectionOutput> parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser<DetectionOutput> getParserForType() { + return PARSER; + } + + public com.twine.tango.pmr.tcc.DetectionOutputOuterClass.DetectionOutput getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + private static final com.google.protobuf.Descriptors.Descriptor + internal_static_Tango_PMR_TCC_DetectionOutput_descriptor; + private static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_Tango_PMR_TCC_DetectionOutput_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\025DetectionOutput.proto\022\rTango.PMR.TCC\032\024" + + "DetectionColor.proto\"\372\001\n\017DetectionOutput" + + "\022\016\n\006number\030\001 \001(\001\022/\n\010RawColor\030\002 \001(\0132\035.Tan" + + "go.PMR.TCC.DetectionColor\0225\n\016ProcessedCo" + + "lor\030\003 \001(\0132\035.Tango.PMR.TCC.DetectionColor" + + "\022\023\n\013DebugBitmap\030\004 \001(\014\0222\n\013ColorMatrix\030\005 \003" + + "(\0132\035.Tango.PMR.TCC.DetectionColor\022\020\n\010Has" + + "Error\030\006 \001(\010\022\024\n\014ErrorMessage\030\007 \001(\tB\031\n\027com" + + ".twine.tango.pmr.tccb\006proto3" + }; + com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = + new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { + public com.google.protobuf.ExtensionRegistry assignDescriptors( + com.google.protobuf.Descriptors.FileDescriptor root) { + descriptor = root; + return null; + } + }; + com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.twine.tango.pmr.tcc.DetectionColorOuterClass.getDescriptor(), + }, assigner); + internal_static_Tango_PMR_TCC_DetectionOutput_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_Tango_PMR_TCC_DetectionOutput_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_Tango_PMR_TCC_DetectionOutput_descriptor, + new java.lang.String[] { "Number", "RawColor", "ProcessedColor", "DebugBitmap", "ColorMatrix", "HasError", "ErrorMessage", }); + com.twine.tango.pmr.tcc.DetectionColorOuterClass.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} |
