DeleteMountPointEntry.newBuilder().setAlluxioPath(path).build()); return true;
subBuilder.mergeFrom(deleteMountPoint_); deleteMountPoint_ = subBuilder.buildPartial();
/** * <code>optional string alluxio_path = 1;</code> */ public Builder setAlluxioPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; alluxioPath_ = value; onChanged(); return this; } /**
subBuilder.mergeFrom(deleteMountPoint_); deleteMountPoint_ = subBuilder.buildPartial();
DeleteMountPointEntry.newBuilder().setAlluxioPath(inodePath.getUri().toString()).build(); rpcContext.journal(JournalEntry.newBuilder().setDeleteMountPoint(deleteMountPoint).build());
/** * <code>optional .alluxio.proto.journal.DeleteMountPointEntry delete_mount_point = 8;</code> */ public Builder mergeDeleteMountPoint(alluxio.proto.journal.File.DeleteMountPointEntry value) { if (deleteMountPointBuilder_ == null) { if (((bitField0_ & 0x00001000) == 0x00001000) && deleteMountPoint_ != alluxio.proto.journal.File.DeleteMountPointEntry.getDefaultInstance()) { deleteMountPoint_ = alluxio.proto.journal.File.DeleteMountPointEntry.newBuilder(deleteMountPoint_).mergeFrom(value).buildPartial(); } else { deleteMountPoint_ = value; } onChanged(); } else { deleteMountPointBuilder_.mergeFrom(value); } bitField0_ |= 0x00001000; return this; } /**
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { alluxio.proto.journal.File.DeleteMountPointEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (alluxio.proto.journal.File.DeleteMountPointEntry) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
/** * <code>optional .alluxio.proto.journal.DeleteMountPointEntry delete_mount_point = 8;</code> */ public Builder setDeleteMountPoint( alluxio.proto.journal.File.DeleteMountPointEntry.Builder builderForValue) { if (deleteMountPointBuilder_ == null) { deleteMountPoint_ = builderForValue.build(); onChanged(); } else { deleteMountPointBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00001000; return this; } /**
private static Builder create() { return new Builder(); }
/** * <code>optional string alluxio_path = 1;</code> */ public Builder setAlluxioPath( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; alluxioPath_ = value; onChanged(); return this; } /**
public Builder clone() { return create().mergeFrom(buildPartial()); }
/** * <code>optional string alluxio_path = 1;</code> */ public Builder setAlluxioPathBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; alluxioPath_ = value; onChanged(); return this; }
public static Builder newBuilder(alluxio.proto.journal.File.DeleteMountPointEntry prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /**
public alluxio.proto.journal.File.DeleteMountPointEntry buildPartial() { alluxio.proto.journal.File.DeleteMountPointEntry result = new alluxio.proto.journal.File.DeleteMountPointEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.alluxioPath_ = alluxioPath_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
private Builder() { maybeForceBuilderInitialization(); }
public alluxio.proto.journal.File.DeleteMountPointEntry build() { alluxio.proto.journal.File.DeleteMountPointEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
/** * <code>optional string alluxio_path = 1;</code> */ public Builder clearAlluxioPath() { bitField0_ = (bitField0_ & ~0x00000001); alluxioPath_ = getDefaultInstance().getAlluxioPath(); onChanged(); return this; } /**
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof alluxio.proto.journal.File.DeleteMountPointEntry) { return mergeFrom((alluxio.proto.journal.File.DeleteMountPointEntry)other); } else { super.mergeFrom(other); return this; } }
private Builder( com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() {