ccmBuilder.setTransformation(transformation); ccmBuilder.setInIv(getByteString(outIv)); ccmBuilder.setInKey(getByteString(outKey)); ccmBuilder.setOutIv(getByteString(inIv)); ccmBuilder.setOutKey(getByteString(inKey)); chrBuilder.setCryptoCipherMeta(ccmBuilder); useCryptoAesWrap = true;
subBuilder.mergeFrom(cryptoCipherMeta_); cryptoCipherMeta_ = subBuilder.buildPartial();
subBuilder.mergeFrom(cryptoCipherMeta_); cryptoCipherMeta_ = subBuilder.buildPartial();
/** * <pre> * To use Apache Commons Crypto, negotiate the metadata * </pre> * * <code>optional .hbase.pb.CryptoCipherMeta crypto_cipher_meta = 1;</code> */ public Builder mergeCryptoCipherMeta(org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta value) { if (cryptoCipherMetaBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && cryptoCipherMeta_ != null && cryptoCipherMeta_ != org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta.getDefaultInstance()) { cryptoCipherMeta_ = org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta.newBuilder(cryptoCipherMeta_).mergeFrom(value).buildPartial(); } else { cryptoCipherMeta_ = value; } onChanged(); } else { cryptoCipherMetaBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /**
public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta.getDefaultInstance()) return this; if (other.hasTransformation()) { bitField0_ |= 0x00000001; transformation_ = other.transformation_; onChanged(); } if (other.hasInKey()) { setInKey(other.getInKey()); } if (other.hasInIv()) { setInIv(other.getInIv()); } if (other.hasOutKey()) { setOutKey(other.getOutKey()); } if (other.hasOutIv()) { setOutIv(other.getOutIv()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <pre> * To use Apache Commons Crypto, negotiate the metadata * </pre> * * <code>optional .hbase.pb.CryptoCipherMeta crypto_cipher_meta = 1;</code> */ public Builder setCryptoCipherMeta( org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta.Builder builderForValue) { if (cryptoCipherMetaBuilder_ == null) { cryptoCipherMeta_ = builderForValue.build(); onChanged(); } else { cryptoCipherMetaBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /**
public Builder mergeFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
private Builder() { maybeForceBuilderInitialization(); }
public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
private Builder( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() {
public final boolean isInitialized() { if (!hasTransformation()) { return false; } return true; }
@java.lang.Override protected Builder newBuilderForType( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /**
public Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta) { return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta)other); } else { super.mergeFrom(other); return this; } }
public org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta build() { org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
/** * <pre> * To use Apache Commons Crypto, negotiate the metadata * </pre> * * <code>optional .hbase.pb.CryptoCipherMeta crypto_cipher_meta = 1;</code> */ public Builder mergeCryptoCipherMeta(org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta value) { if (cryptoCipherMetaBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && cryptoCipherMeta_ != null && cryptoCipherMeta_ != org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta.getDefaultInstance()) { cryptoCipherMeta_ = org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta.newBuilder(cryptoCipherMeta_).mergeFrom(value).buildPartial(); } else { cryptoCipherMeta_ = value; } onChanged(); } else { cryptoCipherMetaBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /**
public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta.getDefaultInstance()) return this; if (other.hasTransformation()) { bitField0_ |= 0x00000001; transformation_ = other.transformation_; onChanged(); } if (other.hasInKey()) { setInKey(other.getInKey()); } if (other.hasInIv()) { setInIv(other.getInIv()); } if (other.hasOutKey()) { setOutKey(other.getOutKey()); } if (other.hasOutIv()) { setOutIv(other.getOutIv()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <pre> * To use Apache Commons Crypto, negotiate the metadata * </pre> * * <code>optional .hbase.pb.CryptoCipherMeta crypto_cipher_meta = 1;</code> */ public Builder setCryptoCipherMeta( org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta.Builder builderForValue) { if (cryptoCipherMetaBuilder_ == null) { cryptoCipherMeta_ = builderForValue.build(); onChanged(); } else { cryptoCipherMetaBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /**
public Builder mergeFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.RPCProtos.CryptoCipherMeta) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
private Builder() { maybeForceBuilderInitialization(); }