Ejemplo n.º 1
0
 public String getRestVersion() {
   java.lang.Object ref = restVersion_;
   if (ref instanceof String) {
     return (String) ref;
   } else {
     com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
     String s = bs.toStringUtf8();
     if (com.google.protobuf.Internal.isValidUtf8(bs)) {
       restVersion_ = s;
     }
     return s;
   }
 }
Ejemplo n.º 2
0
 public String getPin() {
   Object ref = pin_;
   if (ref instanceof String) {
     return (String) ref;
   } else {
     com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
     String s = bs.toStringUtf8();
     if (com.google.protobuf.Internal.isValidUtf8(bs)) {
       pin_ = s;
     }
     return s;
   }
 }
 @java.lang.Override
 public int hashCode() {
   if (memoizedHashCode != 0) {
     return memoizedHashCode;
   }
   int hash = 41;
   hash = (19 * hash) + getDescriptorForType().hashCode();
   hash = (37 * hash) + NUMBER1_FIELD_NUMBER;
   hash =
       (53 * hash)
           + com.google.protobuf.Internal.hashLong(
               java.lang.Double.doubleToLongBits(getNumber1()));
   hash = (37 * hash) + NUMBER2_FIELD_NUMBER;
   hash =
       (53 * hash)
           + com.google.protobuf.Internal.hashLong(
               java.lang.Double.doubleToLongBits(getNumber2()));
   hash = (37 * hash) + OPERATION_FIELD_NUMBER;
   hash = (53 * hash) + operation_;
   hash = (29 * hash) + unknownFields.hashCode();
   memoizedHashCode = hash;
   return hash;
 }
 @java.lang.Override
 public int hashCode() {
   if (memoizedHashCode != 0) {
     return memoizedHashCode;
   }
   int hash = 41;
   hash = (19 * hash) + getDescriptorForType().hashCode();
   hash = (37 * hash) + SECONDS_FIELD_NUMBER;
   hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSeconds());
   hash = (37 * hash) + NANOS_FIELD_NUMBER;
   hash = (53 * hash) + getNanos();
   hash = (29 * hash) + unknownFields.hashCode();
   memoizedHashCode = hash;
   return hash;
 }
 @java.lang.Override
 public int hashCode() {
   if (memoizedHashCode != 0) {
     return memoizedHashCode;
   }
   int hash = 41;
   hash = (19 * hash) + getDescriptorForType().hashCode();
   hash = (37 * hash) + RESULT_FIELD_NUMBER;
   hash =
       (53 * hash)
           + com.google.protobuf.Internal.hashLong(
               java.lang.Double.doubleToLongBits(getResult()));
   hash = (29 * hash) + unknownFields.hashCode();
   memoizedHashCode = hash;
   return hash;
 }
Ejemplo n.º 6
0
 @Override
 protected final int partialHash(int h, int offset, int length) {
   return Internal.partialHash(h, bytes, getOffsetIntoBytes() + offset, length);
 }