/** * <code>optional .alluxio.grpc.block.WriteRequestCommand command = 1;</code> */ public alluxio.grpc.WriteRequestCommandOrBuilder getCommandOrBuilder() { if (valueCase_ == 1) { return (alluxio.grpc.WriteRequestCommand) value_; } return alluxio.grpc.WriteRequestCommand.getDefaultInstance(); }
/** * <code>optional .alluxio.grpc.block.WriteRequestCommand command = 1;</code> */ public alluxio.grpc.WriteRequestCommand getCommand() { if (valueCase_ == 1) { return (alluxio.grpc.WriteRequestCommand) value_; } return alluxio.grpc.WriteRequestCommand.getDefaultInstance(); } /**
public alluxio.grpc.WriteRequestCommand getDefaultInstanceForType() { return alluxio.grpc.WriteRequestCommand.getDefaultInstance(); }
/** * <code>optional .alluxio.grpc.block.WriteRequestCommand command = 1;</code> */ public alluxio.grpc.WriteRequestCommand getCommand() { if (commandBuilder_ == null) { if (valueCase_ == 1) { return (alluxio.grpc.WriteRequestCommand) value_; } return alluxio.grpc.WriteRequestCommand.getDefaultInstance(); } else { if (valueCase_ == 1) { return commandBuilder_.getMessage(); } return alluxio.grpc.WriteRequestCommand.getDefaultInstance(); } } /**
/** * <code>optional .alluxio.grpc.block.WriteRequestCommand command = 1;</code> */ public alluxio.grpc.WriteRequestCommandOrBuilder getCommandOrBuilder() { if ((valueCase_ == 1) && (commandBuilder_ != null)) { return commandBuilder_.getMessageOrBuilder(); } else { if (valueCase_ == 1) { return (alluxio.grpc.WriteRequestCommand) value_; } return alluxio.grpc.WriteRequestCommand.getDefaultInstance(); } } /**
/** * <code>optional .alluxio.grpc.block.WriteRequestCommand command = 1;</code> */ private com.google.protobuf.SingleFieldBuilderV3< alluxio.grpc.WriteRequestCommand, alluxio.grpc.WriteRequestCommand.Builder, alluxio.grpc.WriteRequestCommandOrBuilder> getCommandFieldBuilder() { if (commandBuilder_ == null) { if (!(valueCase_ == 1)) { value_ = alluxio.grpc.WriteRequestCommand.getDefaultInstance(); } commandBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< alluxio.grpc.WriteRequestCommand, alluxio.grpc.WriteRequestCommand.Builder, alluxio.grpc.WriteRequestCommandOrBuilder>( (alluxio.grpc.WriteRequestCommand) value_, getParentForChildren(), isClean()); value_ = null; } valueCase_ = 1; onChanged();; return commandBuilder_; }
/** * <code>optional .alluxio.grpc.block.WriteRequestCommand command = 1;</code> */ public Builder mergeCommand(alluxio.grpc.WriteRequestCommand value) { if (commandBuilder_ == null) { if (valueCase_ == 1 && value_ != alluxio.grpc.WriteRequestCommand.getDefaultInstance()) { value_ = alluxio.grpc.WriteRequestCommand.newBuilder((alluxio.grpc.WriteRequestCommand) value_) .mergeFrom(value).buildPartial(); } else { value_ = value; } onChanged(); } else { if (valueCase_ == 1) { commandBuilder_.mergeFrom(value); } commandBuilder_.setMessage(value); } valueCase_ = 1; return this; } /**
public Builder mergeFrom(alluxio.grpc.WriteRequestCommand other) { if (other == alluxio.grpc.WriteRequestCommand.getDefaultInstance()) return this; if (other.hasType()) { setType(other.getType()); } if (other.hasId()) { setId(other.getId()); } if (other.hasOffset()) { setOffset(other.getOffset()); } if (other.hasTier()) { setTier(other.getTier()); } if (other.hasFlush()) { setFlush(other.getFlush()); } if (other.hasCreateUfsFileOptions()) { mergeCreateUfsFileOptions(other.getCreateUfsFileOptions()); } if (other.hasCreateUfsBlockOptions()) { mergeCreateUfsBlockOptions(other.getCreateUfsBlockOptions()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }