public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.tajo.util.TestProtos.TestMessageProto parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.tajo.util.TestProtos.TestMessageProto) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
public Builder mergeFrom(org.apache.tajo.util.TestProtos.TestMessageProto other) { if (other == org.apache.tajo.util.TestProtos.TestMessageProto.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasAge()) { setAge(other.getAge()); } if (other.hasAddr()) { bitField0_ |= 0x00000004; addr_ = other.addr_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.tajo.util.TestProtos.TestMessageProto parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.tajo.util.TestProtos.TestMessageProto) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
public Builder mergeFrom(org.apache.tajo.util.TestProtos.TestMessageProto other) { if (other == org.apache.tajo.util.TestProtos.TestMessageProto.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasAge()) { setAge(other.getAge()); } if (other.hasAddr()) { bitField0_ |= 0x00000004; addr_ = other.addr_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
private Builder() { maybeForceBuilderInitialization(); }
private static Builder create() { return new Builder(); }
private static Builder create() { return new Builder(); }
private Builder() { maybeForceBuilderInitialization(); }
public Builder clone() { return create().mergeFrom(buildPartial()); }
public static Builder newBuilder(org.apache.tajo.util.TestProtos.TestMessageProto prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }
public Builder clone() { return create().mergeFrom(buildPartial()); }
private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() {
@java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /**
private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() {
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.tajo.util.TestProtos.TestMessageProto) { return mergeFrom((org.apache.tajo.util.TestProtos.TestMessageProto)other); } else { super.mergeFrom(other); return this; } }
public org.apache.tajo.util.TestProtos.TestMessageProto build() { org.apache.tajo.util.TestProtos.TestMessageProto result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.tajo.util.TestProtos.TestMessageProto) { return mergeFrom((org.apache.tajo.util.TestProtos.TestMessageProto)other); } else { super.mergeFrom(other); return this; } }
public static Builder newBuilder(org.apache.tajo.util.TestProtos.TestMessageProto prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }
public org.apache.tajo.util.TestProtos.TestMessageProto build() { org.apache.tajo.util.TestProtos.TestMessageProto result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }