/** * <code>optional .hadoop.yarn.URLProto destination_directory = 2;</code> */ public Builder mergeDestinationDirectory(org.apache.hadoop.yarn.proto.YarnProtos.URLProto value) { if (destinationDirectoryBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && destinationDirectory_ != org.apache.hadoop.yarn.proto.YarnProtos.URLProto.getDefaultInstance()) { destinationDirectory_ = org.apache.hadoop.yarn.proto.YarnProtos.URLProto.newBuilder(destinationDirectory_).mergeFrom(value).buildPartial(); } else { destinationDirectory_ = value; } onChanged(); } else { destinationDirectoryBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /**
/** * <code>optional .hadoop.yarn.URLProto resource = 1;</code> */ public Builder mergeResource(org.apache.hadoop.yarn.proto.YarnProtos.URLProto value) { if (resourceBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && resource_ != org.apache.hadoop.yarn.proto.YarnProtos.URLProto.getDefaultInstance()) { resource_ = org.apache.hadoop.yarn.proto.YarnProtos.URLProto.newBuilder(resource_).mergeFrom(value).buildPartial(); } else { resource_ = value; } onChanged(); } else { resourceBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /**
/** * <code>optional .hadoop.yarn.URLProto localPath = 3;</code> */ public Builder mergeLocalPath(org.apache.hadoop.yarn.proto.YarnProtos.URLProto value) { if (localPathBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && localPath_ != org.apache.hadoop.yarn.proto.YarnProtos.URLProto.getDefaultInstance()) { localPath_ = org.apache.hadoop.yarn.proto.YarnProtos.URLProto.newBuilder(localPath_).mergeFrom(value).buildPartial(); } else { localPath_ = value; } onChanged(); } else { localPathBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /**
/** * <code>optional .hadoop.yarn.URLProto localPath = 3;</code> */ public Builder mergeLocalPath(org.apache.hadoop.yarn.proto.YarnProtos.URLProto value) { if (localPathBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && localPath_ != org.apache.hadoop.yarn.proto.YarnProtos.URLProto.getDefaultInstance()) { localPath_ = org.apache.hadoop.yarn.proto.YarnProtos.URLProto.newBuilder(localPath_).mergeFrom(value).buildPartial(); } else { localPath_ = value; } onChanged(); } else { localPathBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /**
/** * <code>optional .hadoop.yarn.URLProto localPath = 3;</code> */ public Builder mergeLocalPath(org.apache.hadoop.yarn.proto.YarnProtos.URLProto value) { if (localPathBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && localPath_ != org.apache.hadoop.yarn.proto.YarnProtos.URLProto.getDefaultInstance()) { localPath_ = org.apache.hadoop.yarn.proto.YarnProtos.URLProto.newBuilder(localPath_).mergeFrom(value).buildPartial(); } else { localPath_ = value; } onChanged(); } else { localPathBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /**
/** * <code>optional .hadoop.yarn.URLProto destination_directory = 2;</code> */ public Builder mergeDestinationDirectory(org.apache.hadoop.yarn.proto.YarnProtos.URLProto value) { if (destinationDirectoryBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && destinationDirectory_ != org.apache.hadoop.yarn.proto.YarnProtos.URLProto.getDefaultInstance()) { destinationDirectory_ = org.apache.hadoop.yarn.proto.YarnProtos.URLProto.newBuilder(destinationDirectory_).mergeFrom(value).buildPartial(); } else { destinationDirectory_ = value; } onChanged(); } else { destinationDirectoryBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /**
/** * <code>optional .hadoop.yarn.URLProto localPath = 3;</code> */ public Builder mergeLocalPath(org.apache.hadoop.yarn.proto.YarnProtos.URLProto value) { if (localPathBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && localPath_ != org.apache.hadoop.yarn.proto.YarnProtos.URLProto.getDefaultInstance()) { localPath_ = org.apache.hadoop.yarn.proto.YarnProtos.URLProto.newBuilder(localPath_).mergeFrom(value).buildPartial(); } else { localPath_ = value; } onChanged(); } else { localPathBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /**
/** * <code>optional .hadoop.yarn.URLProto destination_directory = 2;</code> */ public Builder mergeDestinationDirectory(org.apache.hadoop.yarn.proto.YarnProtos.URLProto value) { if (destinationDirectoryBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && destinationDirectory_ != org.apache.hadoop.yarn.proto.YarnProtos.URLProto.getDefaultInstance()) { destinationDirectory_ = org.apache.hadoop.yarn.proto.YarnProtos.URLProto.newBuilder(destinationDirectory_).mergeFrom(value).buildPartial(); } else { destinationDirectory_ = value; } onChanged(); } else { destinationDirectoryBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /**
/** * <code>optional .hadoop.yarn.URLProto destination_directory = 2;</code> */ public Builder mergeDestinationDirectory(org.apache.hadoop.yarn.proto.YarnProtos.URLProto value) { if (destinationDirectoryBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && destinationDirectory_ != org.apache.hadoop.yarn.proto.YarnProtos.URLProto.getDefaultInstance()) { destinationDirectory_ = org.apache.hadoop.yarn.proto.YarnProtos.URLProto.newBuilder(destinationDirectory_).mergeFrom(value).buildPartial(); } else { destinationDirectory_ = value; } onChanged(); } else { destinationDirectoryBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /**
public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.hadoop.yarn.proto.YarnProtos.URLProto prototype) {
public Builder toBuilder() { return newBuilder(this); }
public URLPBImpl() { builder = URLProto.newBuilder(); }
public URLPBImpl() { builder = URLProto.newBuilder(); }
public URLPBImpl() { builder = URLProto.newBuilder(); }
private void maybeInitBuilder() { if (viaProto || builder == null) { builder = URLProto.newBuilder(proto); } viaProto = false; }
public static Builder newBuilder(org.apache.hadoop.yarn.proto.YarnProtos.URLProto prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }
private void maybeInitBuilder() { if (viaProto || builder == null) { builder = URLProto.newBuilder(proto); } viaProto = false; }
private void maybeInitBuilder() { if (viaProto || builder == null) { builder = URLProto.newBuilder(proto); } viaProto = false; }