Ejemplo n.º 1
0
 public messages.ScriptedProvider build() {
   messages.ScriptedProvider result = buildPartial();
   if (!result.isInitialized()) {
     throw newUninitializedMessageException(result);
   }
   return result;
 }
Ejemplo n.º 2
0
 public messages.ScriptedProvider buildPartial() {
   messages.ScriptedProvider result = new messages.ScriptedProvider(this);
   int from_bitField0_ = bitField0_;
   int to_bitField0_ = 0;
   if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
     to_bitField0_ |= 0x00000001;
   }
   result.active_ = active_;
   if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
     to_bitField0_ |= 0x00000002;
   }
   result.stopping_ = stopping_;
   result.bitField0_ = to_bitField0_;
   onBuilt();
   return result;
 }
Ejemplo n.º 3
0
 public Builder mergeFrom(messages.ScriptedProvider other) {
   if (other == messages.ScriptedProvider.getDefaultInstance()) return this;
   if (other.hasActive()) {
     setActive(other.getActive());
   }
   if (other.hasStopping()) {
     setStopping(other.getStopping());
   }
   this.mergeUnknownFields(other.getUnknownFields());
   return this;
 }
Ejemplo n.º 4
0
 public messages.ScriptedProvider getDefaultInstanceForType() {
   return messages.ScriptedProvider.getDefaultInstance();
 }