Пример #1
0
 public Builder clear() {
   super.clear();
   pid_ = 0L;
   bitField0_ = (bitField0_ & ~0x00000001);
   created_ = 0L;
   bitField0_ = (bitField0_ & ~0x00000002);
   modified_ = 0L;
   bitField0_ = (bitField0_ & ~0x00000004);
   syncState_ = "";
   bitField0_ = (bitField0_ & ~0x00000008);
   title_ = "";
   bitField0_ = (bitField0_ & ~0x00000010);
   ownerId_ = 0L;
   bitField0_ = (bitField0_ & ~0x00000020);
   state_ = 0;
   bitField0_ = (bitField0_ & ~0x00000040);
   priority_ = 0;
   bitField0_ = (bitField0_ & ~0x00000080);
   finishTime_ = 0L;
   bitField0_ = (bitField0_ & ~0x00000100);
   deadline_ = 0L;
   bitField0_ = (bitField0_ & ~0x00000200);
   tags_ = "";
   bitField0_ = (bitField0_ & ~0x00000400);
   seq_ = 0;
   bitField0_ = (bitField0_ & ~0x00000800);
   uuid_ = "";
   bitField0_ = (bitField0_ & ~0x00001000);
   return this;
 }
Пример #2
0
 public Builder clear() {
   super.clear();
   version_ = 0;
   bitField0_ = (bitField0_ & ~0x00000001);
   client_ = ClientProto.Client.getDefaultInstance();
   bitField0_ = (bitField0_ & ~0x00000002);
   pin_ = "";
   bitField0_ = (bitField0_ & ~0x00000004);
   trustedHotspotsEnabled_ = false;
   bitField0_ = (bitField0_ & ~0x00000008);
   trustedHotspots_ = com.google.protobuf.LazyStringArrayList.EMPTY;
   bitField0_ = (bitField0_ & ~0x00000010);
   askToInstall_ = true;
   bitField0_ = (bitField0_ & ~0x00000020);
   wifiLockEnabled_ = false;
   bitField0_ = (bitField0_ & ~0x00000040);
   return this;
 }
Пример #3
0
      public Builder addAllTrustedHotspots(Iterable<String> values) {
        ensureTrustedHotspotsIsMutable();
        super.addAll(values, trustedHotspots_);

        return this;
      }