Exemplo 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;
   }
 }
Exemplo 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;
   }
 }