public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { com.dremio.exec.proto.UserBitShared.QueryId parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (com.dremio.exec.proto.UserBitShared.QueryId) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.dremio.exec.proto.UserBitShared.QueryId) { return mergeFrom((com.dremio.exec.proto.UserBitShared.QueryId)other); } else { super.mergeFrom(other); return this; } }
/** * <code>optional .exec.shared.QueryId parent_query_id = 4 [deprecated = true];</code> */ @java.lang.Deprecated public Builder mergeParentQueryId(com.dremio.exec.proto.UserBitShared.QueryId value) { if (parentQueryIdBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && parentQueryId_ != com.dremio.exec.proto.UserBitShared.QueryId.getDefaultInstance()) { parentQueryId_ = com.dremio.exec.proto.UserBitShared.QueryId.newBuilder(parentQueryId_).mergeFrom(value).buildPartial(); } else { parentQueryId_ = value; } onChanged(); } else { parentQueryIdBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /**
/** * <code>optional .exec.shared.QueryId query_id = 1;</code> */ public Builder mergeQueryId(com.dremio.exec.proto.UserBitShared.QueryId value) { if (queryIdBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && queryId_ != com.dremio.exec.proto.UserBitShared.QueryId.getDefaultInstance()) { queryId_ = com.dremio.exec.proto.UserBitShared.QueryId.newBuilder(queryId_).mergeFrom(value).buildPartial(); } else { queryId_ = value; } onChanged(); } else { queryIdBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional .exec.shared.QueryId query_id = 13;</code> */ public Builder mergeQueryId(com.dremio.exec.proto.UserBitShared.QueryId value) { if (queryIdBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && queryId_ != com.dremio.exec.proto.UserBitShared.QueryId.getDefaultInstance()) { queryId_ = com.dremio.exec.proto.UserBitShared.QueryId.newBuilder(queryId_).mergeFrom(value).buildPartial(); } else { queryId_ = value; } onChanged(); } else { queryIdBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /**
/** * <code>optional .exec.shared.QueryId query_id = 13;</code> */ public Builder mergeQueryId(com.dremio.exec.proto.UserBitShared.QueryId value) { if (queryIdBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && queryId_ != com.dremio.exec.proto.UserBitShared.QueryId.getDefaultInstance()) { queryId_ = com.dremio.exec.proto.UserBitShared.QueryId.newBuilder(queryId_).mergeFrom(value).buildPartial(); } else { queryId_ = value; } onChanged(); } else { queryIdBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /**
/** * <code>optional .exec.shared.QueryId query_id = 2;</code> */ public Builder mergeQueryId(com.dremio.exec.proto.UserBitShared.QueryId value) { if (queryIdBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && queryId_ != com.dremio.exec.proto.UserBitShared.QueryId.getDefaultInstance()) { queryId_ = com.dremio.exec.proto.UserBitShared.QueryId.newBuilder(queryId_).mergeFrom(value).buildPartial(); } else { queryId_ = value; } onChanged(); } else { queryIdBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /**
/** * <code>optional .exec.shared.QueryId query_id = 3;</code> */ public Builder mergeQueryId(com.dremio.exec.proto.UserBitShared.QueryId value) { if (queryIdBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && queryId_ != com.dremio.exec.proto.UserBitShared.QueryId.getDefaultInstance()) { queryId_ = com.dremio.exec.proto.UserBitShared.QueryId.newBuilder(queryId_).mergeFrom(value).buildPartial(); } else { queryId_ = value; } onChanged(); } else { queryIdBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /**
/** * <code>optional .exec.shared.QueryId id = 1;</code> */ public Builder mergeId(com.dremio.exec.proto.UserBitShared.QueryId value) { if (idBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && id_ != com.dremio.exec.proto.UserBitShared.QueryId.getDefaultInstance()) { id_ = com.dremio.exec.proto.UserBitShared.QueryId.newBuilder(id_).mergeFrom(value).buildPartial(); } else { id_ = value; } onChanged(); } else { idBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional .exec.shared.QueryId prepare_id = 24;</code> */ public Builder mergePrepareId(com.dremio.exec.proto.UserBitShared.QueryId value) { if (prepareIdBuilder_ == null) { if (((bitField0_ & 0x00080000) == 0x00080000) && prepareId_ != com.dremio.exec.proto.UserBitShared.QueryId.getDefaultInstance()) { prepareId_ = com.dremio.exec.proto.UserBitShared.QueryId.newBuilder(prepareId_).mergeFrom(value).buildPartial(); } else { prepareId_ = value; } onChanged(); } else { prepareIdBuilder_.mergeFrom(value); } bitField0_ |= 0x00080000; return this; } /**
/** * <code>optional .exec.shared.QueryId query_id = 2;</code> */ public Builder mergeQueryId(com.dremio.exec.proto.UserBitShared.QueryId value) { if (queryIdBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && queryId_ != com.dremio.exec.proto.UserBitShared.QueryId.getDefaultInstance()) { queryId_ = com.dremio.exec.proto.UserBitShared.QueryId.newBuilder(queryId_).mergeFrom(value).buildPartial(); } else { queryId_ = value; } onChanged(); } else { queryIdBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /**
/** * <code>optional .exec.shared.QueryId prepare_id = 3;</code> */ public Builder mergePrepareId(com.dremio.exec.proto.UserBitShared.QueryId value) { if (prepareIdBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && prepareId_ != com.dremio.exec.proto.UserBitShared.QueryId.getDefaultInstance()) { prepareId_ = com.dremio.exec.proto.UserBitShared.QueryId.newBuilder(prepareId_).mergeFrom(value).buildPartial(); } else { prepareId_ = value; } onChanged(); } else { prepareIdBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /**
/** * <code>optional .exec.shared.QueryId query_id = 1;</code> */ public Builder mergeQueryId(com.dremio.exec.proto.UserBitShared.QueryId value) { if (queryIdBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && queryId_ != com.dremio.exec.proto.UserBitShared.QueryId.getDefaultInstance()) { queryId_ = com.dremio.exec.proto.UserBitShared.QueryId.newBuilder(queryId_).mergeFrom(value).buildPartial(); } else { queryId_ = value; } onChanged(); } else { queryIdBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional .exec.shared.QueryId query_id = 1;</code> */ public Builder mergeQueryId(com.dremio.exec.proto.UserBitShared.QueryId value) { if (queryIdBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && queryId_ != com.dremio.exec.proto.UserBitShared.QueryId.getDefaultInstance()) { queryId_ = com.dremio.exec.proto.UserBitShared.QueryId.newBuilder(queryId_).mergeFrom(value).buildPartial(); } else { queryId_ = value; } onChanged(); } else { queryIdBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional .exec.shared.QueryId id = 1;</code> */ public Builder mergeId(com.dremio.exec.proto.UserBitShared.QueryId value) { if (idBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && id_ != com.dremio.exec.proto.UserBitShared.QueryId.getDefaultInstance()) { id_ = com.dremio.exec.proto.UserBitShared.QueryId.newBuilder(id_).mergeFrom(value).buildPartial(); } else { id_ = value; } onChanged(); } else { idBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional .exec.shared.QueryId query_id = 13;</code> */ public Builder mergeQueryId(com.dremio.exec.proto.UserBitShared.QueryId value) { if (queryIdBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && queryId_ != com.dremio.exec.proto.UserBitShared.QueryId.getDefaultInstance()) { queryId_ = com.dremio.exec.proto.UserBitShared.QueryId.newBuilder(queryId_).mergeFrom(value).buildPartial(); } else { queryId_ = value; } onChanged(); } else { queryIdBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /**
/** * <code>optional .exec.shared.QueryId query_id = 1;</code> */ public Builder mergeQueryId(com.dremio.exec.proto.UserBitShared.QueryId value) { if (queryIdBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && queryId_ != com.dremio.exec.proto.UserBitShared.QueryId.getDefaultInstance()) { queryId_ = com.dremio.exec.proto.UserBitShared.QueryId.newBuilder(queryId_).mergeFrom(value).buildPartial(); } else { queryId_ = value; } onChanged(); } else { queryIdBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional .exec.shared.QueryId query_id = 1;</code> */ public Builder mergeQueryId(com.dremio.exec.proto.UserBitShared.QueryId value) { if (queryIdBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && queryId_ != com.dremio.exec.proto.UserBitShared.QueryId.getDefaultInstance()) { queryId_ = com.dremio.exec.proto.UserBitShared.QueryId.newBuilder(queryId_).mergeFrom(value).buildPartial(); } else { queryId_ = value; } onChanged(); } else { queryIdBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /**
public Builder clone() { return create().mergeFrom(buildPartial()); }
public static Builder newBuilder(com.dremio.exec.proto.UserBitShared.QueryId prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }