getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public opi_api.storage.v1.FabricsPath getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/FabricsPathOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/FabricsPathOrBuilder.java
new file mode 100644
index 00000000..82bb2987
--- /dev/null
+++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/FabricsPathOrBuilder.java
@@ -0,0 +1,100 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: backend_nvme_tcp.proto
+
+package opi_api.storage.v1;
+
+public interface FabricsPathOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.FabricsPath)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ * Destination service id (e.g. Port)
+ *
+ *
+ * int64 trsvcid = 1 [(.google.api.field_behavior) = REQUIRED];
+ * @return The trsvcid.
+ */
+ long getTrsvcid();
+
+ /**
+ *
+ * Subsystem NQN
+ *
+ *
+ * string subnqn = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return The subnqn.
+ */
+ java.lang.String getSubnqn();
+ /**
+ *
+ * Subsystem NQN
+ *
+ *
+ * string subnqn = 2 [(.google.api.field_behavior) = REQUIRED];
+ * @return The bytes for subnqn.
+ */
+ com.google.protobuf.ByteString
+ getSubnqnBytes();
+
+ /**
+ * .opi_api.storage.v1.NvmeAddressFamily adrfam = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @return The enum numeric value on the wire for adrfam.
+ */
+ int getAdrfamValue();
+ /**
+ * .opi_api.storage.v1.NvmeAddressFamily adrfam = 3 [(.google.api.field_behavior) = REQUIRED];
+ * @return The adrfam.
+ */
+ opi_api.storage.v1.NvmeAddressFamily getAdrfam();
+
+ /**
+ *
+ * Source address (e.g. IP of local NIC)
+ *
+ *
+ * string source_traddr = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The sourceTraddr.
+ */
+ java.lang.String getSourceTraddr();
+ /**
+ *
+ * Source address (e.g. IP of local NIC)
+ *
+ *
+ * string source_traddr = 4 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The bytes for sourceTraddr.
+ */
+ com.google.protobuf.ByteString
+ getSourceTraddrBytes();
+
+ /**
+ *
+ * Source port (e.g. Port of local NIC)
+ *
+ *
+ * int64 source_trsvcid = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The sourceTrsvcid.
+ */
+ long getSourceTrsvcid();
+
+ /**
+ *
+ * Host NQN
+ *
+ *
+ * string hostnqn = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The hostnqn.
+ */
+ java.lang.String getHostnqn();
+ /**
+ *
+ * Host NQN
+ *
+ *
+ * string hostnqn = 6 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The bytes for hostnqn.
+ */
+ com.google.protobuf.ByteString
+ getHostnqnBytes();
+}
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePath.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePath.java
index 666faa77..d4541db0 100644
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePath.java
+++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePath.java
@@ -19,11 +19,7 @@ private NvmePath() {
name_ = "";
controllerNameRef_ = "";
trtype_ = 0;
- adrfam_ = 0;
traddr_ = "";
- subnqn_ = "";
- sourceTraddr_ = "";
- hostnqn_ = "";
}
@java.lang.Override
@@ -74,44 +70,23 @@ private NvmePath(
trtype_ = rawValue;
break;
}
- case 32: {
- int rawValue = input.readEnum();
-
- adrfam_ = rawValue;
- break;
- }
- case 42: {
+ case 34: {
java.lang.String s = input.readStringRequireUtf8();
traddr_ = s;
break;
}
- case 48: {
-
- trsvcid_ = input.readInt64();
- break;
- }
- case 58: {
- java.lang.String s = input.readStringRequireUtf8();
-
- subnqn_ = s;
- break;
- }
- case 66: {
- java.lang.String s = input.readStringRequireUtf8();
-
- sourceTraddr_ = s;
- break;
- }
- case 72: {
-
- sourceTrsvcid_ = input.readInt64();
- break;
- }
- case 82: {
- java.lang.String s = input.readStringRequireUtf8();
+ case 42: {
+ opi_api.storage.v1.FabricsPath.Builder subBuilder = null;
+ if (fabrics_ != null) {
+ subBuilder = fabrics_.toBuilder();
+ }
+ fabrics_ = input.readMessage(opi_api.storage.v1.FabricsPath.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(fabrics_);
+ fabrics_ = subBuilder.buildPartial();
+ }
- hostnqn_ = s;
break;
}
default: {
@@ -255,33 +230,14 @@ public java.lang.String getControllerNameRef() {
return result == null ? opi_api.storage.v1.NvmeTransportType.UNRECOGNIZED : result;
}
- public static final int ADRFAM_FIELD_NUMBER = 4;
- private int adrfam_;
- /**
- * .opi_api.storage.v1.NvmeAddressFamily adrfam = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return The enum numeric value on the wire for adrfam.
- */
- @java.lang.Override public int getAdrfamValue() {
- return adrfam_;
- }
- /**
- * .opi_api.storage.v1.NvmeAddressFamily adrfam = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return The adrfam.
- */
- @java.lang.Override public opi_api.storage.v1.NvmeAddressFamily getAdrfam() {
- @SuppressWarnings("deprecation")
- opi_api.storage.v1.NvmeAddressFamily result = opi_api.storage.v1.NvmeAddressFamily.valueOf(adrfam_);
- return result == null ? opi_api.storage.v1.NvmeAddressFamily.UNRECOGNIZED : result;
- }
-
- public static final int TRADDR_FIELD_NUMBER = 5;
+ public static final int TRADDR_FIELD_NUMBER = 4;
private volatile java.lang.Object traddr_;
/**
*
* Destination address (e.g. IP address, BDF for local PCIe)
*
*
- * string traddr = 5 [(.google.api.field_behavior) = REQUIRED];
+ * string traddr = 4 [(.google.api.field_behavior) = REQUIRED];
* @return The traddr.
*/
@java.lang.Override
@@ -302,7 +258,7 @@ public java.lang.String getTraddr() {
* Destination address (e.g. IP address, BDF for local PCIe)
*
*
- * string traddr = 5 [(.google.api.field_behavior) = REQUIRED];
+ * string traddr = 4 [(.google.api.field_behavior) = REQUIRED];
* @return The bytes for traddr.
*/
@java.lang.Override
@@ -320,172 +276,42 @@ public java.lang.String getTraddr() {
}
}
- public static final int TRSVCID_FIELD_NUMBER = 6;
- private long trsvcid_;
- /**
- *
- * Destination service id (e.g. Port)
- *
- *
- * int64 trsvcid = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @return The trsvcid.
- */
- @java.lang.Override
- public long getTrsvcid() {
- return trsvcid_;
- }
-
- public static final int SUBNQN_FIELD_NUMBER = 7;
- private volatile java.lang.Object subnqn_;
- /**
- *
- * Subsystem NQN
- *
- *
- * string subnqn = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @return The subnqn.
- */
- @java.lang.Override
- public java.lang.String getSubnqn() {
- java.lang.Object ref = subnqn_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- subnqn_ = s;
- return s;
- }
- }
- /**
- *
- * Subsystem NQN
- *
- *
- * string subnqn = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @return The bytes for subnqn.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getSubnqnBytes() {
- java.lang.Object ref = subnqn_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- subnqn_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int SOURCE_TRADDR_FIELD_NUMBER = 8;
- private volatile java.lang.Object sourceTraddr_;
+ public static final int FABRICS_FIELD_NUMBER = 5;
+ private opi_api.storage.v1.FabricsPath fabrics_;
/**
*
- * Source address (e.g. IP of local NIC)
+ * Not applicable for local PCIe. Required for Nvme over fabrics transport types
*
*
- * string source_traddr = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @return The sourceTraddr.
+ * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return Whether the fabrics field is set.
*/
@java.lang.Override
- public java.lang.String getSourceTraddr() {
- java.lang.Object ref = sourceTraddr_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- sourceTraddr_ = s;
- return s;
- }
+ public boolean hasFabrics() {
+ return fabrics_ != null;
}
/**
*
- * Source address (e.g. IP of local NIC)
+ * Not applicable for local PCIe. Required for Nvme over fabrics transport types
*
*
- * string source_traddr = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @return The bytes for sourceTraddr.
+ * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The fabrics.
*/
@java.lang.Override
- public com.google.protobuf.ByteString
- getSourceTraddrBytes() {
- java.lang.Object ref = sourceTraddr_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- sourceTraddr_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
+ public opi_api.storage.v1.FabricsPath getFabrics() {
+ return fabrics_ == null ? opi_api.storage.v1.FabricsPath.getDefaultInstance() : fabrics_;
}
-
- public static final int SOURCE_TRSVCID_FIELD_NUMBER = 9;
- private long sourceTrsvcid_;
/**
*
- * Source port (e.g. Port of local NIC)
+ * Not applicable for local PCIe. Required for Nvme over fabrics transport types
*
*
- * int64 source_trsvcid = 9 [(.google.api.field_behavior) = OPTIONAL];
- * @return The sourceTrsvcid.
+ * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
@java.lang.Override
- public long getSourceTrsvcid() {
- return sourceTrsvcid_;
- }
-
- public static final int HOSTNQN_FIELD_NUMBER = 10;
- private volatile java.lang.Object hostnqn_;
- /**
- *
- * Host NQN
- *
- *
- * string hostnqn = 10 [(.google.api.field_behavior) = OPTIONAL];
- * @return The hostnqn.
- */
- @java.lang.Override
- public java.lang.String getHostnqn() {
- java.lang.Object ref = hostnqn_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- hostnqn_ = s;
- return s;
- }
- }
- /**
- *
- * Host NQN
- *
- *
- * string hostnqn = 10 [(.google.api.field_behavior) = OPTIONAL];
- * @return The bytes for hostnqn.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getHostnqnBytes() {
- java.lang.Object ref = hostnqn_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- hostnqn_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
+ public opi_api.storage.v1.FabricsPathOrBuilder getFabricsOrBuilder() {
+ return getFabrics();
}
private byte memoizedIsInitialized = -1;
@@ -511,26 +337,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (trtype_ != opi_api.storage.v1.NvmeTransportType.NVME_TRANSPORT_TYPE_UNSPECIFIED.getNumber()) {
output.writeEnum(3, trtype_);
}
- if (adrfam_ != opi_api.storage.v1.NvmeAddressFamily.NVME_ADDRESS_FAMILY_UNSPECIFIED.getNumber()) {
- output.writeEnum(4, adrfam_);
- }
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(traddr_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 5, traddr_);
- }
- if (trsvcid_ != 0L) {
- output.writeInt64(6, trsvcid_);
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, traddr_);
}
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnqn_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 7, subnqn_);
- }
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceTraddr_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 8, sourceTraddr_);
- }
- if (sourceTrsvcid_ != 0L) {
- output.writeInt64(9, sourceTrsvcid_);
- }
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostnqn_)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 10, hostnqn_);
+ if (fabrics_ != null) {
+ output.writeMessage(5, getFabrics());
}
unknownFields.writeTo(output);
}
@@ -551,29 +362,12 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, trtype_);
}
- if (adrfam_ != opi_api.storage.v1.NvmeAddressFamily.NVME_ADDRESS_FAMILY_UNSPECIFIED.getNumber()) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(4, adrfam_);
- }
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(traddr_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, traddr_);
- }
- if (trsvcid_ != 0L) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(6, trsvcid_);
- }
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(subnqn_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, subnqn_);
- }
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourceTraddr_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, sourceTraddr_);
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, traddr_);
}
- if (sourceTrsvcid_ != 0L) {
+ if (fabrics_ != null) {
size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(9, sourceTrsvcid_);
- }
- if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(hostnqn_)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, hostnqn_);
+ .computeMessageSize(5, getFabrics());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -595,19 +389,13 @@ public boolean equals(final java.lang.Object obj) {
if (!getControllerNameRef()
.equals(other.getControllerNameRef())) return false;
if (trtype_ != other.trtype_) return false;
- if (adrfam_ != other.adrfam_) return false;
if (!getTraddr()
.equals(other.getTraddr())) return false;
- if (getTrsvcid()
- != other.getTrsvcid()) return false;
- if (!getSubnqn()
- .equals(other.getSubnqn())) return false;
- if (!getSourceTraddr()
- .equals(other.getSourceTraddr())) return false;
- if (getSourceTrsvcid()
- != other.getSourceTrsvcid()) return false;
- if (!getHostnqn()
- .equals(other.getHostnqn())) return false;
+ if (hasFabrics() != other.hasFabrics()) return false;
+ if (hasFabrics()) {
+ if (!getFabrics()
+ .equals(other.getFabrics())) return false;
+ }
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -625,22 +413,12 @@ public int hashCode() {
hash = (53 * hash) + getControllerNameRef().hashCode();
hash = (37 * hash) + TRTYPE_FIELD_NUMBER;
hash = (53 * hash) + trtype_;
- hash = (37 * hash) + ADRFAM_FIELD_NUMBER;
- hash = (53 * hash) + adrfam_;
hash = (37 * hash) + TRADDR_FIELD_NUMBER;
hash = (53 * hash) + getTraddr().hashCode();
- hash = (37 * hash) + TRSVCID_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getTrsvcid());
- hash = (37 * hash) + SUBNQN_FIELD_NUMBER;
- hash = (53 * hash) + getSubnqn().hashCode();
- hash = (37 * hash) + SOURCE_TRADDR_FIELD_NUMBER;
- hash = (53 * hash) + getSourceTraddr().hashCode();
- hash = (37 * hash) + SOURCE_TRSVCID_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getSourceTrsvcid());
- hash = (37 * hash) + HOSTNQN_FIELD_NUMBER;
- hash = (53 * hash) + getHostnqn().hashCode();
+ if (hasFabrics()) {
+ hash = (37 * hash) + FABRICS_FIELD_NUMBER;
+ hash = (53 * hash) + getFabrics().hashCode();
+ }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -780,20 +558,14 @@ public Builder clear() {
trtype_ = 0;
- adrfam_ = 0;
-
traddr_ = "";
- trsvcid_ = 0L;
-
- subnqn_ = "";
-
- sourceTraddr_ = "";
-
- sourceTrsvcid_ = 0L;
-
- hostnqn_ = "";
-
+ if (fabricsBuilder_ == null) {
+ fabrics_ = null;
+ } else {
+ fabrics_ = null;
+ fabricsBuilder_ = null;
+ }
return this;
}
@@ -823,13 +595,12 @@ public opi_api.storage.v1.NvmePath buildPartial() {
result.name_ = name_;
result.controllerNameRef_ = controllerNameRef_;
result.trtype_ = trtype_;
- result.adrfam_ = adrfam_;
result.traddr_ = traddr_;
- result.trsvcid_ = trsvcid_;
- result.subnqn_ = subnqn_;
- result.sourceTraddr_ = sourceTraddr_;
- result.sourceTrsvcid_ = sourceTrsvcid_;
- result.hostnqn_ = hostnqn_;
+ if (fabricsBuilder_ == null) {
+ result.fabrics_ = fabrics_;
+ } else {
+ result.fabrics_ = fabricsBuilder_.build();
+ }
onBuilt();
return result;
}
@@ -889,30 +660,12 @@ public Builder mergeFrom(opi_api.storage.v1.NvmePath other) {
if (other.trtype_ != 0) {
setTrtypeValue(other.getTrtypeValue());
}
- if (other.adrfam_ != 0) {
- setAdrfamValue(other.getAdrfamValue());
- }
if (!other.getTraddr().isEmpty()) {
traddr_ = other.traddr_;
onChanged();
}
- if (other.getTrsvcid() != 0L) {
- setTrsvcid(other.getTrsvcid());
- }
- if (!other.getSubnqn().isEmpty()) {
- subnqn_ = other.subnqn_;
- onChanged();
- }
- if (!other.getSourceTraddr().isEmpty()) {
- sourceTraddr_ = other.sourceTraddr_;
- onChanged();
- }
- if (other.getSourceTrsvcid() != 0L) {
- setSourceTrsvcid(other.getSourceTrsvcid());
- }
- if (!other.getHostnqn().isEmpty()) {
- hostnqn_ = other.hostnqn_;
- onChanged();
+ if (other.hasFabrics()) {
+ mergeFabrics(other.getFabrics());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
@@ -1179,67 +932,13 @@ public Builder clearTrtype() {
return this;
}
- private int adrfam_ = 0;
- /**
- * .opi_api.storage.v1.NvmeAddressFamily adrfam = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return The enum numeric value on the wire for adrfam.
- */
- @java.lang.Override public int getAdrfamValue() {
- return adrfam_;
- }
- /**
- * .opi_api.storage.v1.NvmeAddressFamily adrfam = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @param value The enum numeric value on the wire for adrfam to set.
- * @return This builder for chaining.
- */
- public Builder setAdrfamValue(int value) {
-
- adrfam_ = value;
- onChanged();
- return this;
- }
- /**
- * .opi_api.storage.v1.NvmeAddressFamily adrfam = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return The adrfam.
- */
- @java.lang.Override
- public opi_api.storage.v1.NvmeAddressFamily getAdrfam() {
- @SuppressWarnings("deprecation")
- opi_api.storage.v1.NvmeAddressFamily result = opi_api.storage.v1.NvmeAddressFamily.valueOf(adrfam_);
- return result == null ? opi_api.storage.v1.NvmeAddressFamily.UNRECOGNIZED : result;
- }
- /**
- * .opi_api.storage.v1.NvmeAddressFamily adrfam = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @param value The adrfam to set.
- * @return This builder for chaining.
- */
- public Builder setAdrfam(opi_api.storage.v1.NvmeAddressFamily value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- adrfam_ = value.getNumber();
- onChanged();
- return this;
- }
- /**
- * .opi_api.storage.v1.NvmeAddressFamily adrfam = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return This builder for chaining.
- */
- public Builder clearAdrfam() {
-
- adrfam_ = 0;
- onChanged();
- return this;
- }
-
private java.lang.Object traddr_ = "";
/**
*
* Destination address (e.g. IP address, BDF for local PCIe)
*
*
- * string traddr = 5 [(.google.api.field_behavior) = REQUIRED];
+ * string traddr = 4 [(.google.api.field_behavior) = REQUIRED];
* @return The traddr.
*/
public java.lang.String getTraddr() {
@@ -1259,7 +958,7 @@ public java.lang.String getTraddr() {
* Destination address (e.g. IP address, BDF for local PCIe)
*
*
- * string traddr = 5 [(.google.api.field_behavior) = REQUIRED];
+ * string traddr = 4 [(.google.api.field_behavior) = REQUIRED];
* @return The bytes for traddr.
*/
public com.google.protobuf.ByteString
@@ -1280,7 +979,7 @@ public java.lang.String getTraddr() {
* Destination address (e.g. IP address, BDF for local PCIe)
*
*
- * string traddr = 5 [(.google.api.field_behavior) = REQUIRED];
+ * string traddr = 4 [(.google.api.field_behavior) = REQUIRED];
* @param value The traddr to set.
* @return This builder for chaining.
*/
@@ -1299,7 +998,7 @@ public Builder setTraddr(
* Destination address (e.g. IP address, BDF for local PCIe)
*
*
- * string traddr = 5 [(.google.api.field_behavior) = REQUIRED];
+ * string traddr = 4 [(.google.api.field_behavior) = REQUIRED];
* @return This builder for chaining.
*/
public Builder clearTraddr() {
@@ -1313,7 +1012,7 @@ public Builder clearTraddr() {
* Destination address (e.g. IP address, BDF for local PCIe)
*
*
- * string traddr = 5 [(.google.api.field_behavior) = REQUIRED];
+ * string traddr = 4 [(.google.api.field_behavior) = REQUIRED];
* @param value The bytes for traddr to set.
* @return This builder for chaining.
*/
@@ -1329,378 +1028,159 @@ public Builder setTraddrBytes(
return this;
}
- private long trsvcid_ ;
+ private opi_api.storage.v1.FabricsPath fabrics_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ opi_api.storage.v1.FabricsPath, opi_api.storage.v1.FabricsPath.Builder, opi_api.storage.v1.FabricsPathOrBuilder> fabricsBuilder_;
/**
*
- * Destination service id (e.g. Port)
+ * Not applicable for local PCIe. Required for Nvme over fabrics transport types
*
*
- * int64 trsvcid = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @return The trsvcid.
+ * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return Whether the fabrics field is set.
*/
- @java.lang.Override
- public long getTrsvcid() {
- return trsvcid_;
+ public boolean hasFabrics() {
+ return fabricsBuilder_ != null || fabrics_ != null;
}
/**
*
- * Destination service id (e.g. Port)
+ * Not applicable for local PCIe. Required for Nvme over fabrics transport types
*
*
- * int64 trsvcid = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @param value The trsvcid to set.
- * @return This builder for chaining.
+ * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The fabrics.
*/
- public Builder setTrsvcid(long value) {
-
- trsvcid_ = value;
- onChanged();
- return this;
- }
- /**
- *
- * Destination service id (e.g. Port)
- *
- *
- * int64 trsvcid = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @return This builder for chaining.
- */
- public Builder clearTrsvcid() {
-
- trsvcid_ = 0L;
- onChanged();
- return this;
- }
-
- private java.lang.Object subnqn_ = "";
- /**
- *
- * Subsystem NQN
- *
- *
- * string subnqn = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @return The subnqn.
- */
- public java.lang.String getSubnqn() {
- java.lang.Object ref = subnqn_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- subnqn_ = s;
- return s;
+ public opi_api.storage.v1.FabricsPath getFabrics() {
+ if (fabricsBuilder_ == null) {
+ return fabrics_ == null ? opi_api.storage.v1.FabricsPath.getDefaultInstance() : fabrics_;
} else {
- return (java.lang.String) ref;
+ return fabricsBuilder_.getMessage();
}
}
/**
*
- * Subsystem NQN
+ * Not applicable for local PCIe. Required for Nvme over fabrics transport types
*
*
- * string subnqn = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @return The bytes for subnqn.
+ * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
- public com.google.protobuf.ByteString
- getSubnqnBytes() {
- java.lang.Object ref = subnqn_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- subnqn_ = b;
- return b;
+ public Builder setFabrics(opi_api.storage.v1.FabricsPath value) {
+ if (fabricsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ fabrics_ = value;
+ onChanged();
} else {
- return (com.google.protobuf.ByteString) ref;
+ fabricsBuilder_.setMessage(value);
}
- }
- /**
- *
- * Subsystem NQN
- *
- *
- * string subnqn = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @param value The subnqn to set.
- * @return This builder for chaining.
- */
- public Builder setSubnqn(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- subnqn_ = value;
- onChanged();
- return this;
- }
- /**
- *
- * Subsystem NQN
- *
- *
- * string subnqn = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @return This builder for chaining.
- */
- public Builder clearSubnqn() {
-
- subnqn_ = getDefaultInstance().getSubnqn();
- onChanged();
- return this;
- }
- /**
- *
- * Subsystem NQN
- *
- *
- * string subnqn = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @param value The bytes for subnqn to set.
- * @return This builder for chaining.
- */
- public Builder setSubnqnBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- subnqn_ = value;
- onChanged();
+
return this;
}
-
- private java.lang.Object sourceTraddr_ = "";
/**
*
- * Source address (e.g. IP of local NIC)
+ * Not applicable for local PCIe. Required for Nvme over fabrics transport types
*
*
- * string source_traddr = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @return The sourceTraddr.
+ * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
- public java.lang.String getSourceTraddr() {
- java.lang.Object ref = sourceTraddr_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- sourceTraddr_ = s;
- return s;
+ public Builder setFabrics(
+ opi_api.storage.v1.FabricsPath.Builder builderForValue) {
+ if (fabricsBuilder_ == null) {
+ fabrics_ = builderForValue.build();
+ onChanged();
} else {
- return (java.lang.String) ref;
+ fabricsBuilder_.setMessage(builderForValue.build());
}
+
+ return this;
}
/**
*
- * Source address (e.g. IP of local NIC)
+ * Not applicable for local PCIe. Required for Nvme over fabrics transport types
*
*
- * string source_traddr = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @return The bytes for sourceTraddr.
+ * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
- public com.google.protobuf.ByteString
- getSourceTraddrBytes() {
- java.lang.Object ref = sourceTraddr_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- sourceTraddr_ = b;
- return b;
+ public Builder mergeFabrics(opi_api.storage.v1.FabricsPath value) {
+ if (fabricsBuilder_ == null) {
+ if (fabrics_ != null) {
+ fabrics_ =
+ opi_api.storage.v1.FabricsPath.newBuilder(fabrics_).mergeFrom(value).buildPartial();
+ } else {
+ fabrics_ = value;
+ }
+ onChanged();
} else {
- return (com.google.protobuf.ByteString) ref;
+ fabricsBuilder_.mergeFrom(value);
}
- }
- /**
- *
- * Source address (e.g. IP of local NIC)
- *
- *
- * string source_traddr = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @param value The sourceTraddr to set.
- * @return This builder for chaining.
- */
- public Builder setSourceTraddr(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- sourceTraddr_ = value;
- onChanged();
+
return this;
}
/**
*
- * Source address (e.g. IP of local NIC)
+ * Not applicable for local PCIe. Required for Nvme over fabrics transport types
*
*
- * string source_traddr = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @return This builder for chaining.
+ * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
- public Builder clearSourceTraddr() {
-
- sourceTraddr_ = getDefaultInstance().getSourceTraddr();
- onChanged();
- return this;
- }
- /**
- *
- * Source address (e.g. IP of local NIC)
- *
- *
- * string source_traddr = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @param value The bytes for sourceTraddr to set.
- * @return This builder for chaining.
- */
- public Builder setSourceTraddrBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- sourceTraddr_ = value;
- onChanged();
- return this;
- }
+ public Builder clearFabrics() {
+ if (fabricsBuilder_ == null) {
+ fabrics_ = null;
+ onChanged();
+ } else {
+ fabrics_ = null;
+ fabricsBuilder_ = null;
+ }
- private long sourceTrsvcid_ ;
- /**
- *
- * Source port (e.g. Port of local NIC)
- *
- *
- * int64 source_trsvcid = 9 [(.google.api.field_behavior) = OPTIONAL];
- * @return The sourceTrsvcid.
- */
- @java.lang.Override
- public long getSourceTrsvcid() {
- return sourceTrsvcid_;
- }
- /**
- *
- * Source port (e.g. Port of local NIC)
- *
- *
- * int64 source_trsvcid = 9 [(.google.api.field_behavior) = OPTIONAL];
- * @param value The sourceTrsvcid to set.
- * @return This builder for chaining.
- */
- public Builder setSourceTrsvcid(long value) {
-
- sourceTrsvcid_ = value;
- onChanged();
return this;
}
/**
*
- * Source port (e.g. Port of local NIC)
+ * Not applicable for local PCIe. Required for Nvme over fabrics transport types
*
*
- * int64 source_trsvcid = 9 [(.google.api.field_behavior) = OPTIONAL];
- * @return This builder for chaining.
+ * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
- public Builder clearSourceTrsvcid() {
+ public opi_api.storage.v1.FabricsPath.Builder getFabricsBuilder() {
- sourceTrsvcid_ = 0L;
onChanged();
- return this;
+ return getFabricsFieldBuilder().getBuilder();
}
-
- private java.lang.Object hostnqn_ = "";
/**
*
- * Host NQN
+ * Not applicable for local PCIe. Required for Nvme over fabrics transport types
*
*
- * string hostnqn = 10 [(.google.api.field_behavior) = OPTIONAL];
- * @return The hostnqn.
+ * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
- public java.lang.String getHostnqn() {
- java.lang.Object ref = hostnqn_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- hostnqn_ = s;
- return s;
+ public opi_api.storage.v1.FabricsPathOrBuilder getFabricsOrBuilder() {
+ if (fabricsBuilder_ != null) {
+ return fabricsBuilder_.getMessageOrBuilder();
} else {
- return (java.lang.String) ref;
+ return fabrics_ == null ?
+ opi_api.storage.v1.FabricsPath.getDefaultInstance() : fabrics_;
}
}
/**
*
- * Host NQN
+ * Not applicable for local PCIe. Required for Nvme over fabrics transport types
*
*
- * string hostnqn = 10 [(.google.api.field_behavior) = OPTIONAL];
- * @return The bytes for hostnqn.
+ * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
- public com.google.protobuf.ByteString
- getHostnqnBytes() {
- java.lang.Object ref = hostnqn_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- hostnqn_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ opi_api.storage.v1.FabricsPath, opi_api.storage.v1.FabricsPath.Builder, opi_api.storage.v1.FabricsPathOrBuilder>
+ getFabricsFieldBuilder() {
+ if (fabricsBuilder_ == null) {
+ fabricsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ opi_api.storage.v1.FabricsPath, opi_api.storage.v1.FabricsPath.Builder, opi_api.storage.v1.FabricsPathOrBuilder>(
+ getFabrics(),
+ getParentForChildren(),
+ isClean());
+ fabrics_ = null;
}
- }
- /**
- *
- * Host NQN
- *
- *
- * string hostnqn = 10 [(.google.api.field_behavior) = OPTIONAL];
- * @param value The hostnqn to set.
- * @return This builder for chaining.
- */
- public Builder setHostnqn(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- hostnqn_ = value;
- onChanged();
- return this;
- }
- /**
- *
- * Host NQN
- *
- *
- * string hostnqn = 10 [(.google.api.field_behavior) = OPTIONAL];
- * @return This builder for chaining.
- */
- public Builder clearHostnqn() {
-
- hostnqn_ = getDefaultInstance().getHostnqn();
- onChanged();
- return this;
- }
- /**
- *
- * Host NQN
- *
- *
- * string hostnqn = 10 [(.google.api.field_behavior) = OPTIONAL];
- * @param value The bytes for hostnqn to set.
- * @return This builder for chaining.
- */
- public Builder setHostnqnBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- checkByteStringIsUtf8(value);
-
- hostnqn_ = value;
- onChanged();
- return this;
+ return fabricsBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathOrBuilder.java
index 47b3e11a..bf6ce84f 100644
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathOrBuilder.java
+++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmePathOrBuilder.java
@@ -54,23 +54,12 @@ public interface NvmePathOrBuilder extends
*/
opi_api.storage.v1.NvmeTransportType getTrtype();
- /**
- * .opi_api.storage.v1.NvmeAddressFamily adrfam = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return The enum numeric value on the wire for adrfam.
- */
- int getAdrfamValue();
- /**
- * .opi_api.storage.v1.NvmeAddressFamily adrfam = 4 [(.google.api.field_behavior) = OPTIONAL];
- * @return The adrfam.
- */
- opi_api.storage.v1.NvmeAddressFamily getAdrfam();
-
/**
*
* Destination address (e.g. IP address, BDF for local PCIe)
*
*
- * string traddr = 5 [(.google.api.field_behavior) = REQUIRED];
+ * string traddr = 4 [(.google.api.field_behavior) = REQUIRED];
* @return The traddr.
*/
java.lang.String getTraddr();
@@ -79,7 +68,7 @@ public interface NvmePathOrBuilder extends
* Destination address (e.g. IP address, BDF for local PCIe)
*
*
- * string traddr = 5 [(.google.api.field_behavior) = REQUIRED];
+ * string traddr = 4 [(.google.api.field_behavior) = REQUIRED];
* @return The bytes for traddr.
*/
com.google.protobuf.ByteString
@@ -87,81 +76,28 @@ public interface NvmePathOrBuilder extends
/**
*
- * Destination service id (e.g. Port)
+ * Not applicable for local PCIe. Required for Nvme over fabrics transport types
*
*
- * int64 trsvcid = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @return The trsvcid.
+ * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return Whether the fabrics field is set.
*/
- long getTrsvcid();
-
+ boolean hasFabrics();
/**
*
- * Subsystem NQN
+ * Not applicable for local PCIe. Required for Nvme over fabrics transport types
*
*
- * string subnqn = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @return The subnqn.
+ * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The fabrics.
*/
- java.lang.String getSubnqn();
+ opi_api.storage.v1.FabricsPath getFabrics();
/**
*
- * Subsystem NQN
+ * Not applicable for local PCIe. Required for Nvme over fabrics transport types
*
*
- * string subnqn = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @return The bytes for subnqn.
+ * .opi_api.storage.v1.FabricsPath fabrics = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
- com.google.protobuf.ByteString
- getSubnqnBytes();
-
- /**
- *
- * Source address (e.g. IP of local NIC)
- *
- *
- * string source_traddr = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @return The sourceTraddr.
- */
- java.lang.String getSourceTraddr();
- /**
- *
- * Source address (e.g. IP of local NIC)
- *
- *
- * string source_traddr = 8 [(.google.api.field_behavior) = OPTIONAL];
- * @return The bytes for sourceTraddr.
- */
- com.google.protobuf.ByteString
- getSourceTraddrBytes();
-
- /**
- *
- * Source port (e.g. Port of local NIC)
- *
- *
- * int64 source_trsvcid = 9 [(.google.api.field_behavior) = OPTIONAL];
- * @return The sourceTrsvcid.
- */
- long getSourceTrsvcid();
-
- /**
- *
- * Host NQN
- *
- *
- * string hostnqn = 10 [(.google.api.field_behavior) = OPTIONAL];
- * @return The hostnqn.
- */
- java.lang.String getHostnqn();
- /**
- *
- * Host NQN
- *
- *
- * string hostnqn = 10 [(.google.api.field_behavior) = OPTIONAL];
- * @return The bytes for hostnqn.
- */
- com.google.protobuf.ByteString
- getHostnqnBytes();
+ opi_api.storage.v1.FabricsPathOrBuilder getFabricsOrBuilder();
}
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteController.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteController.java
index 3fca9034..5965f3f2 100644
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteController.java
+++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteController.java
@@ -18,7 +18,6 @@ private NvmeRemoteController(com.google.protobuf.GeneratedMessageV3.Builder> b
private NvmeRemoteController() {
name_ = "";
multipath_ = 0;
- psk_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@@ -73,19 +72,17 @@ private NvmeRemoteController(
queueSize_ = input.readInt64();
break;
}
- case 40: {
-
- hdgst_ = input.readBool();
- break;
- }
- case 48: {
-
- ddgst_ = input.readBool();
- break;
- }
- case 58: {
+ case 42: {
+ opi_api.storage.v1.TcpController.Builder subBuilder = null;
+ if (tcp_ != null) {
+ subBuilder = tcp_.toBuilder();
+ }
+ tcp_ = input.readMessage(opi_api.storage.v1.TcpController.parser(), extensionRegistry);
+ if (subBuilder != null) {
+ subBuilder.mergeFrom(tcp_);
+ tcp_ = subBuilder.buildPartial();
+ }
- psk_ = input.readBytes();
break;
}
default: {
@@ -213,49 +210,42 @@ public long getQueueSize() {
return queueSize_;
}
- public static final int HDGST_FIELD_NUMBER = 5;
- private boolean hdgst_;
+ public static final int TCP_FIELD_NUMBER = 5;
+ private opi_api.storage.v1.TcpController tcp_;
/**
- * bool hdgst = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @return The hdgst.
+ *
+ * Nvme over TCP specific fields
+ *
+ *
+ * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return Whether the tcp field is set.
*/
@java.lang.Override
- public boolean getHdgst() {
- return hdgst_;
+ public boolean hasTcp() {
+ return tcp_ != null;
}
-
- public static final int DDGST_FIELD_NUMBER = 6;
- private boolean ddgst_;
/**
- * bool ddgst = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @return The ddgst.
+ *
+ * Nvme over TCP specific fields
+ *
+ *
+ * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The tcp.
*/
@java.lang.Override
- public boolean getDdgst() {
- return ddgst_;
+ public opi_api.storage.v1.TcpController getTcp() {
+ return tcp_ == null ? opi_api.storage.v1.TcpController.getDefaultInstance() : tcp_;
}
-
- public static final int PSK_FIELD_NUMBER = 7;
- private com.google.protobuf.ByteString psk_;
/**
*
- * Nvme/TCP published secure channel specification (TP 8011) based on TLS 1.3 and PSK.
- * Use PSK interchange format with base64 encoding as input.
- * Also use information about hash function in interchange
- * format for retained PSK generation. If no hash is selected,
- * use configured PSK as retained PSK.
- * Check the size of interchange PSK to determine cipher suite.
- * Calculate CRC-32 bytes to ensure validity of PSK.
- * Example: "NVMeTLSkey-1:01:VRLbtnN9AQb2WXW3c9+wEf/DRLz0QuLdbYvEhwtdWwNf9LrZ:"
- * if PSK field is empty, then unsecure connection Nvme/TCP without TLS will be made
+ * Nvme over TCP specific fields
*
*
- * bytes psk = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @return The psk.
+ * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
@java.lang.Override
- public com.google.protobuf.ByteString getPsk() {
- return psk_;
+ public opi_api.storage.v1.TcpControllerOrBuilder getTcpOrBuilder() {
+ return getTcp();
}
private byte memoizedIsInitialized = -1;
@@ -284,14 +274,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (queueSize_ != 0L) {
output.writeInt64(4, queueSize_);
}
- if (hdgst_ != false) {
- output.writeBool(5, hdgst_);
- }
- if (ddgst_ != false) {
- output.writeBool(6, ddgst_);
- }
- if (!psk_.isEmpty()) {
- output.writeBytes(7, psk_);
+ if (tcp_ != null) {
+ output.writeMessage(5, getTcp());
}
unknownFields.writeTo(output);
}
@@ -317,17 +301,9 @@ public int getSerializedSize() {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, queueSize_);
}
- if (hdgst_ != false) {
+ if (tcp_ != null) {
size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(5, hdgst_);
- }
- if (ddgst_ != false) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(6, ddgst_);
- }
- if (!psk_.isEmpty()) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(7, psk_);
+ .computeMessageSize(5, getTcp());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -351,12 +327,11 @@ public boolean equals(final java.lang.Object obj) {
!= other.getIoQueuesCount()) return false;
if (getQueueSize()
!= other.getQueueSize()) return false;
- if (getHdgst()
- != other.getHdgst()) return false;
- if (getDdgst()
- != other.getDdgst()) return false;
- if (!getPsk()
- .equals(other.getPsk())) return false;
+ if (hasTcp() != other.hasTcp()) return false;
+ if (hasTcp()) {
+ if (!getTcp()
+ .equals(other.getTcp())) return false;
+ }
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@@ -378,14 +353,10 @@ public int hashCode() {
hash = (37 * hash) + QUEUE_SIZE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getQueueSize());
- hash = (37 * hash) + HDGST_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
- getHdgst());
- hash = (37 * hash) + DDGST_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
- getDdgst());
- hash = (37 * hash) + PSK_FIELD_NUMBER;
- hash = (53 * hash) + getPsk().hashCode();
+ if (hasTcp()) {
+ hash = (37 * hash) + TCP_FIELD_NUMBER;
+ hash = (53 * hash) + getTcp().hashCode();
+ }
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
@@ -527,12 +498,12 @@ public Builder clear() {
queueSize_ = 0L;
- hdgst_ = false;
-
- ddgst_ = false;
-
- psk_ = com.google.protobuf.ByteString.EMPTY;
-
+ if (tcpBuilder_ == null) {
+ tcp_ = null;
+ } else {
+ tcp_ = null;
+ tcpBuilder_ = null;
+ }
return this;
}
@@ -563,9 +534,11 @@ public opi_api.storage.v1.NvmeRemoteController buildPartial() {
result.multipath_ = multipath_;
result.ioQueuesCount_ = ioQueuesCount_;
result.queueSize_ = queueSize_;
- result.hdgst_ = hdgst_;
- result.ddgst_ = ddgst_;
- result.psk_ = psk_;
+ if (tcpBuilder_ == null) {
+ result.tcp_ = tcp_;
+ } else {
+ result.tcp_ = tcpBuilder_.build();
+ }
onBuilt();
return result;
}
@@ -627,14 +600,8 @@ public Builder mergeFrom(opi_api.storage.v1.NvmeRemoteController other) {
if (other.getQueueSize() != 0L) {
setQueueSize(other.getQueueSize());
}
- if (other.getHdgst() != false) {
- setHdgst(other.getHdgst());
- }
- if (other.getDdgst() != false) {
- setDdgst(other.getDdgst());
- }
- if (other.getPsk() != com.google.protobuf.ByteString.EMPTY) {
- setPsk(other.getPsk());
+ if (other.hasTcp()) {
+ mergeTcp(other.getTcp());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
@@ -887,136 +854,159 @@ public Builder clearQueueSize() {
return this;
}
- private boolean hdgst_ ;
+ private opi_api.storage.v1.TcpController tcp_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ opi_api.storage.v1.TcpController, opi_api.storage.v1.TcpController.Builder, opi_api.storage.v1.TcpControllerOrBuilder> tcpBuilder_;
/**
- * bool hdgst = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @return The hdgst.
+ *
+ * Nvme over TCP specific fields
+ *
+ *
+ * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return Whether the tcp field is set.
*/
- @java.lang.Override
- public boolean getHdgst() {
- return hdgst_;
+ public boolean hasTcp() {
+ return tcpBuilder_ != null || tcp_ != null;
}
/**
- * bool hdgst = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @param value The hdgst to set.
- * @return This builder for chaining.
+ *
+ * Nvme over TCP specific fields
+ *
+ *
+ * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The tcp.
*/
- public Builder setHdgst(boolean value) {
-
- hdgst_ = value;
- onChanged();
- return this;
+ public opi_api.storage.v1.TcpController getTcp() {
+ if (tcpBuilder_ == null) {
+ return tcp_ == null ? opi_api.storage.v1.TcpController.getDefaultInstance() : tcp_;
+ } else {
+ return tcpBuilder_.getMessage();
+ }
}
/**
- * bool hdgst = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @return This builder for chaining.
+ *
+ * Nvme over TCP specific fields
+ *
+ *
+ * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
- public Builder clearHdgst() {
-
- hdgst_ = false;
- onChanged();
+ public Builder setTcp(opi_api.storage.v1.TcpController value) {
+ if (tcpBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ tcp_ = value;
+ onChanged();
+ } else {
+ tcpBuilder_.setMessage(value);
+ }
+
return this;
}
-
- private boolean ddgst_ ;
/**
- * bool ddgst = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @return The ddgst.
+ *
+ * Nvme over TCP specific fields
+ *
+ *
+ * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
- @java.lang.Override
- public boolean getDdgst() {
- return ddgst_;
+ public Builder setTcp(
+ opi_api.storage.v1.TcpController.Builder builderForValue) {
+ if (tcpBuilder_ == null) {
+ tcp_ = builderForValue.build();
+ onChanged();
+ } else {
+ tcpBuilder_.setMessage(builderForValue.build());
+ }
+
+ return this;
}
/**
- * bool ddgst = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @param value The ddgst to set.
- * @return This builder for chaining.
+ *
+ * Nvme over TCP specific fields
+ *
+ *
+ * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
- public Builder setDdgst(boolean value) {
-
- ddgst_ = value;
- onChanged();
+ public Builder mergeTcp(opi_api.storage.v1.TcpController value) {
+ if (tcpBuilder_ == null) {
+ if (tcp_ != null) {
+ tcp_ =
+ opi_api.storage.v1.TcpController.newBuilder(tcp_).mergeFrom(value).buildPartial();
+ } else {
+ tcp_ = value;
+ }
+ onChanged();
+ } else {
+ tcpBuilder_.mergeFrom(value);
+ }
+
return this;
}
/**
- * bool ddgst = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @return This builder for chaining.
+ *
+ * Nvme over TCP specific fields
+ *
+ *
+ * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
- public Builder clearDdgst() {
-
- ddgst_ = false;
- onChanged();
+ public Builder clearTcp() {
+ if (tcpBuilder_ == null) {
+ tcp_ = null;
+ onChanged();
+ } else {
+ tcp_ = null;
+ tcpBuilder_ = null;
+ }
+
return this;
}
-
- private com.google.protobuf.ByteString psk_ = com.google.protobuf.ByteString.EMPTY;
/**
*
- * Nvme/TCP published secure channel specification (TP 8011) based on TLS 1.3 and PSK.
- * Use PSK interchange format with base64 encoding as input.
- * Also use information about hash function in interchange
- * format for retained PSK generation. If no hash is selected,
- * use configured PSK as retained PSK.
- * Check the size of interchange PSK to determine cipher suite.
- * Calculate CRC-32 bytes to ensure validity of PSK.
- * Example: "NVMeTLSkey-1:01:VRLbtnN9AQb2WXW3c9+wEf/DRLz0QuLdbYvEhwtdWwNf9LrZ:"
- * if PSK field is empty, then unsecure connection Nvme/TCP without TLS will be made
+ * Nvme over TCP specific fields
*
*
- * bytes psk = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @return The psk.
+ * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
- @java.lang.Override
- public com.google.protobuf.ByteString getPsk() {
- return psk_;
+ public opi_api.storage.v1.TcpController.Builder getTcpBuilder() {
+
+ onChanged();
+ return getTcpFieldBuilder().getBuilder();
}
/**
*
- * Nvme/TCP published secure channel specification (TP 8011) based on TLS 1.3 and PSK.
- * Use PSK interchange format with base64 encoding as input.
- * Also use information about hash function in interchange
- * format for retained PSK generation. If no hash is selected,
- * use configured PSK as retained PSK.
- * Check the size of interchange PSK to determine cipher suite.
- * Calculate CRC-32 bytes to ensure validity of PSK.
- * Example: "NVMeTLSkey-1:01:VRLbtnN9AQb2WXW3c9+wEf/DRLz0QuLdbYvEhwtdWwNf9LrZ:"
- * if PSK field is empty, then unsecure connection Nvme/TCP without TLS will be made
+ * Nvme over TCP specific fields
*
*
- * bytes psk = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @param value The psk to set.
- * @return This builder for chaining.
+ * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
- public Builder setPsk(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- psk_ = value;
- onChanged();
- return this;
+ public opi_api.storage.v1.TcpControllerOrBuilder getTcpOrBuilder() {
+ if (tcpBuilder_ != null) {
+ return tcpBuilder_.getMessageOrBuilder();
+ } else {
+ return tcp_ == null ?
+ opi_api.storage.v1.TcpController.getDefaultInstance() : tcp_;
+ }
}
/**
*
- * Nvme/TCP published secure channel specification (TP 8011) based on TLS 1.3 and PSK.
- * Use PSK interchange format with base64 encoding as input.
- * Also use information about hash function in interchange
- * format for retained PSK generation. If no hash is selected,
- * use configured PSK as retained PSK.
- * Check the size of interchange PSK to determine cipher suite.
- * Calculate CRC-32 bytes to ensure validity of PSK.
- * Example: "NVMeTLSkey-1:01:VRLbtnN9AQb2WXW3c9+wEf/DRLz0QuLdbYvEhwtdWwNf9LrZ:"
- * if PSK field is empty, then unsecure connection Nvme/TCP without TLS will be made
+ * Nvme over TCP specific fields
*
*
- * bytes psk = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @return This builder for chaining.
+ * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
- public Builder clearPsk() {
-
- psk_ = getDefaultInstance().getPsk();
- onChanged();
- return this;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ opi_api.storage.v1.TcpController, opi_api.storage.v1.TcpController.Builder, opi_api.storage.v1.TcpControllerOrBuilder>
+ getTcpFieldBuilder() {
+ if (tcpBuilder_ == null) {
+ tcpBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+ opi_api.storage.v1.TcpController, opi_api.storage.v1.TcpController.Builder, opi_api.storage.v1.TcpControllerOrBuilder>(
+ getTcp(),
+ getParentForChildren(),
+ isClean());
+ tcp_ = null;
+ }
+ return tcpBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerOrBuilder.java
index 387fffc3..087e8e04 100644
--- a/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerOrBuilder.java
+++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/NvmeRemoteControllerOrBuilder.java
@@ -55,32 +55,29 @@ public interface NvmeRemoteControllerOrBuilder extends
long getQueueSize();
/**
- * bool hdgst = 5 [(.google.api.field_behavior) = OPTIONAL];
- * @return The hdgst.
+ *
+ * Nvme over TCP specific fields
+ *
+ *
+ * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return Whether the tcp field is set.
*/
- boolean getHdgst();
-
+ boolean hasTcp();
/**
- * bool ddgst = 6 [(.google.api.field_behavior) = OPTIONAL];
- * @return The ddgst.
+ *
+ * Nvme over TCP specific fields
+ *
+ *
+ * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The tcp.
*/
- boolean getDdgst();
-
+ opi_api.storage.v1.TcpController getTcp();
/**
*
- * Nvme/TCP published secure channel specification (TP 8011) based on TLS 1.3 and PSK.
- * Use PSK interchange format with base64 encoding as input.
- * Also use information about hash function in interchange
- * format for retained PSK generation. If no hash is selected,
- * use configured PSK as retained PSK.
- * Check the size of interchange PSK to determine cipher suite.
- * Calculate CRC-32 bytes to ensure validity of PSK.
- * Example: "NVMeTLSkey-1:01:VRLbtnN9AQb2WXW3c9+wEf/DRLz0QuLdbYvEhwtdWwNf9LrZ:"
- * if PSK field is empty, then unsecure connection Nvme/TCP without TLS will be made
+ * Nvme over TCP specific fields
*
*
- * bytes psk = 7 [(.google.api.field_behavior) = OPTIONAL];
- * @return The psk.
+ * .opi_api.storage.v1.TcpController tcp = 5 [(.google.api.field_behavior) = OPTIONAL];
*/
- com.google.protobuf.ByteString getPsk();
+ opi_api.storage.v1.TcpControllerOrBuilder getTcpOrBuilder();
}
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/TcpController.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/TcpController.java
new file mode 100644
index 00000000..016c0933
--- /dev/null
+++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/TcpController.java
@@ -0,0 +1,667 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: backend_nvme_tcp.proto
+
+package opi_api.storage.v1;
+
+/**
+ * Protobuf type {@code opi_api.storage.v1.TcpController}
+ */
+public final class TcpController extends
+ com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:opi_api.storage.v1.TcpController)
+ TcpControllerOrBuilder {
+private static final long serialVersionUID = 0L;
+ // Use TcpController.newBuilder() to construct.
+ private TcpController(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+ private TcpController() {
+ psk_ = com.google.protobuf.ByteString.EMPTY;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(
+ UnusedPrivateParameter unused) {
+ return new TcpController();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet
+ getUnknownFields() {
+ return this.unknownFields;
+ }
+ private TcpController(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ this();
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+ com.google.protobuf.UnknownFieldSet.newBuilder();
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8: {
+
+ hdgst_ = input.readBool();
+ break;
+ }
+ case 16: {
+
+ ddgst_ = input.readBool();
+ break;
+ }
+ case 26: {
+
+ psk_ = input.readBytes();
+ break;
+ }
+ default: {
+ if (!parseUnknownField(
+ input, unknownFields, extensionRegistry, tag)) {
+ done = true;
+ }
+ break;
+ }
+ }
+ }
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(this);
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(
+ e).setUnfinishedMessage(this);
+ } finally {
+ this.unknownFields = unknownFields.build();
+ makeExtensionsImmutable();
+ }
+ }
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_TcpController_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_TcpController_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ opi_api.storage.v1.TcpController.class, opi_api.storage.v1.TcpController.Builder.class);
+ }
+
+ public static final int HDGST_FIELD_NUMBER = 1;
+ private boolean hdgst_;
+ /**
+ * bool hdgst = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The hdgst.
+ */
+ @java.lang.Override
+ public boolean getHdgst() {
+ return hdgst_;
+ }
+
+ public static final int DDGST_FIELD_NUMBER = 2;
+ private boolean ddgst_;
+ /**
+ * bool ddgst = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The ddgst.
+ */
+ @java.lang.Override
+ public boolean getDdgst() {
+ return ddgst_;
+ }
+
+ public static final int PSK_FIELD_NUMBER = 3;
+ private com.google.protobuf.ByteString psk_;
+ /**
+ *
+ * Nvme/TCP published secure channel specification (TP 8011) based on TLS 1.3 and PSK.
+ * Use PSK interchange format with base64 encoding as input.
+ * Also use information about hash function in interchange
+ * format for retained PSK generation. If no hash is selected,
+ * use configured PSK as retained PSK.
+ * Check the size of interchange PSK to determine cipher suite.
+ * Calculate CRC-32 bytes to ensure validity of PSK.
+ * Example: "NVMeTLSkey-1:01:VRLbtnN9AQb2WXW3c9+wEf/DRLz0QuLdbYvEhwtdWwNf9LrZ:"
+ * if PSK field is empty, then unsecure connection Nvme/TCP without TLS will be made
+ *
+ *
+ * bytes psk = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The psk.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getPsk() {
+ return psk_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output)
+ throws java.io.IOException {
+ if (hdgst_ != false) {
+ output.writeBool(1, hdgst_);
+ }
+ if (ddgst_ != false) {
+ output.writeBool(2, ddgst_);
+ }
+ if (!psk_.isEmpty()) {
+ output.writeBytes(3, psk_);
+ }
+ unknownFields.writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (hdgst_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(1, hdgst_);
+ }
+ if (ddgst_ != false) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBoolSize(2, ddgst_);
+ }
+ if (!psk_.isEmpty()) {
+ size += com.google.protobuf.CodedOutputStream
+ .computeBytesSize(3, psk_);
+ }
+ size += unknownFields.getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof opi_api.storage.v1.TcpController)) {
+ return super.equals(obj);
+ }
+ opi_api.storage.v1.TcpController other = (opi_api.storage.v1.TcpController) obj;
+
+ if (getHdgst()
+ != other.getHdgst()) return false;
+ if (getDdgst()
+ != other.getDdgst()) return false;
+ if (!getPsk()
+ .equals(other.getPsk())) return false;
+ if (!unknownFields.equals(other.unknownFields)) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + HDGST_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getHdgst());
+ hash = (37 * hash) + DDGST_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+ getDdgst());
+ hash = (37 * hash) + PSK_FIELD_NUMBER;
+ hash = (53 * hash) + getPsk().hashCode();
+ hash = (29 * hash) + unknownFields.hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static opi_api.storage.v1.TcpController parseFrom(
+ java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static opi_api.storage.v1.TcpController parseFrom(
+ java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static opi_api.storage.v1.TcpController parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static opi_api.storage.v1.TcpController parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static opi_api.storage.v1.TcpController parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+ public static opi_api.storage.v1.TcpController parseFrom(
+ byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+ public static opi_api.storage.v1.TcpController parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static opi_api.storage.v1.TcpController parseFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static opi_api.storage.v1.TcpController parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input);
+ }
+ public static opi_api.storage.v1.TcpController parseDelimitedFrom(
+ java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+ public static opi_api.storage.v1.TcpController parseFrom(
+ com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input);
+ }
+ public static opi_api.storage.v1.TcpController parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3
+ .parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() { return newBuilder(); }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+ public static Builder newBuilder(opi_api.storage.v1.TcpController prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE
+ ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ * Protobuf type {@code opi_api.storage.v1.TcpController}
+ */
+ public static final class Builder extends
+ com.google.protobuf.GeneratedMessageV3.Builder implements
+ // @@protoc_insertion_point(builder_implements:opi_api.storage.v1.TcpController)
+ opi_api.storage.v1.TcpControllerOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor
+ getDescriptor() {
+ return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_TcpController_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_TcpController_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ opi_api.storage.v1.TcpController.class, opi_api.storage.v1.TcpController.Builder.class);
+ }
+
+ // Construct using opi_api.storage.v1.TcpController.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(
+ com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessageV3
+ .alwaysUseFieldBuilders) {
+ }
+ }
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ hdgst_ = false;
+
+ ddgst_ = false;
+
+ psk_ = com.google.protobuf.ByteString.EMPTY;
+
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor
+ getDescriptorForType() {
+ return opi_api.storage.v1.BackendNvmeTcpProto.internal_static_opi_api_storage_v1_TcpController_descriptor;
+ }
+
+ @java.lang.Override
+ public opi_api.storage.v1.TcpController getDefaultInstanceForType() {
+ return opi_api.storage.v1.TcpController.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public opi_api.storage.v1.TcpController build() {
+ opi_api.storage.v1.TcpController result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public opi_api.storage.v1.TcpController buildPartial() {
+ opi_api.storage.v1.TcpController result = new opi_api.storage.v1.TcpController(this);
+ result.hdgst_ = hdgst_;
+ result.ddgst_ = ddgst_;
+ result.psk_ = psk_;
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.setField(field, value);
+ }
+ @java.lang.Override
+ public Builder clearField(
+ com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+ @java.lang.Override
+ public Builder clearOneof(
+ com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field,
+ java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof opi_api.storage.v1.TcpController) {
+ return mergeFrom((opi_api.storage.v1.TcpController)other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(opi_api.storage.v1.TcpController other) {
+ if (other == opi_api.storage.v1.TcpController.getDefaultInstance()) return this;
+ if (other.getHdgst() != false) {
+ setHdgst(other.getHdgst());
+ }
+ if (other.getDdgst() != false) {
+ setDdgst(other.getDdgst());
+ }
+ if (other.getPsk() != com.google.protobuf.ByteString.EMPTY) {
+ setPsk(other.getPsk());
+ }
+ this.mergeUnknownFields(other.unknownFields);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ opi_api.storage.v1.TcpController parsedMessage = null;
+ try {
+ parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ parsedMessage = (opi_api.storage.v1.TcpController) e.getUnfinishedMessage();
+ throw e.unwrapIOException();
+ } finally {
+ if (parsedMessage != null) {
+ mergeFrom(parsedMessage);
+ }
+ }
+ return this;
+ }
+
+ private boolean hdgst_ ;
+ /**
+ * bool hdgst = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The hdgst.
+ */
+ @java.lang.Override
+ public boolean getHdgst() {
+ return hdgst_;
+ }
+ /**
+ * bool hdgst = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @param value The hdgst to set.
+ * @return This builder for chaining.
+ */
+ public Builder setHdgst(boolean value) {
+
+ hdgst_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * bool hdgst = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return This builder for chaining.
+ */
+ public Builder clearHdgst() {
+
+ hdgst_ = false;
+ onChanged();
+ return this;
+ }
+
+ private boolean ddgst_ ;
+ /**
+ * bool ddgst = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The ddgst.
+ */
+ @java.lang.Override
+ public boolean getDdgst() {
+ return ddgst_;
+ }
+ /**
+ * bool ddgst = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @param value The ddgst to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDdgst(boolean value) {
+
+ ddgst_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ * bool ddgst = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return This builder for chaining.
+ */
+ public Builder clearDdgst() {
+
+ ddgst_ = false;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.ByteString psk_ = com.google.protobuf.ByteString.EMPTY;
+ /**
+ *
+ * Nvme/TCP published secure channel specification (TP 8011) based on TLS 1.3 and PSK.
+ * Use PSK interchange format with base64 encoding as input.
+ * Also use information about hash function in interchange
+ * format for retained PSK generation. If no hash is selected,
+ * use configured PSK as retained PSK.
+ * Check the size of interchange PSK to determine cipher suite.
+ * Calculate CRC-32 bytes to ensure validity of PSK.
+ * Example: "NVMeTLSkey-1:01:VRLbtnN9AQb2WXW3c9+wEf/DRLz0QuLdbYvEhwtdWwNf9LrZ:"
+ * if PSK field is empty, then unsecure connection Nvme/TCP without TLS will be made
+ *
+ *
+ * bytes psk = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The psk.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getPsk() {
+ return psk_;
+ }
+ /**
+ *
+ * Nvme/TCP published secure channel specification (TP 8011) based on TLS 1.3 and PSK.
+ * Use PSK interchange format with base64 encoding as input.
+ * Also use information about hash function in interchange
+ * format for retained PSK generation. If no hash is selected,
+ * use configured PSK as retained PSK.
+ * Check the size of interchange PSK to determine cipher suite.
+ * Calculate CRC-32 bytes to ensure validity of PSK.
+ * Example: "NVMeTLSkey-1:01:VRLbtnN9AQb2WXW3c9+wEf/DRLz0QuLdbYvEhwtdWwNf9LrZ:"
+ * if PSK field is empty, then unsecure connection Nvme/TCP without TLS will be made
+ *
+ *
+ * bytes psk = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @param value The psk to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPsk(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+
+ psk_ = value;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ * Nvme/TCP published secure channel specification (TP 8011) based on TLS 1.3 and PSK.
+ * Use PSK interchange format with base64 encoding as input.
+ * Also use information about hash function in interchange
+ * format for retained PSK generation. If no hash is selected,
+ * use configured PSK as retained PSK.
+ * Check the size of interchange PSK to determine cipher suite.
+ * Calculate CRC-32 bytes to ensure validity of PSK.
+ * Example: "NVMeTLSkey-1:01:VRLbtnN9AQb2WXW3c9+wEf/DRLz0QuLdbYvEhwtdWwNf9LrZ:"
+ * if PSK field is empty, then unsecure connection Nvme/TCP without TLS will be made
+ *
+ *
+ * bytes psk = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return This builder for chaining.
+ */
+ public Builder clearPsk() {
+
+ psk_ = getDefaultInstance().getPsk();
+ onChanged();
+ return this;
+ }
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+
+ // @@protoc_insertion_point(builder_scope:opi_api.storage.v1.TcpController)
+ }
+
+ // @@protoc_insertion_point(class_scope:opi_api.storage.v1.TcpController)
+ private static final opi_api.storage.v1.TcpController DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new opi_api.storage.v1.TcpController();
+ }
+
+ public static opi_api.storage.v1.TcpController getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ PARSER = new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public TcpController parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return new TcpController(input, extensionRegistry);
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public opi_api.storage.v1.TcpController getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+
+}
+
diff --git a/storage/v1alpha1/gen/java/opi_api/storage/v1/TcpControllerOrBuilder.java b/storage/v1alpha1/gen/java/opi_api/storage/v1/TcpControllerOrBuilder.java
new file mode 100644
index 00000000..9b991500
--- /dev/null
+++ b/storage/v1alpha1/gen/java/opi_api/storage/v1/TcpControllerOrBuilder.java
@@ -0,0 +1,39 @@
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: backend_nvme_tcp.proto
+
+package opi_api.storage.v1;
+
+public interface TcpControllerOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:opi_api.storage.v1.TcpController)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ * bool hdgst = 1 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The hdgst.
+ */
+ boolean getHdgst();
+
+ /**
+ * bool ddgst = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The ddgst.
+ */
+ boolean getDdgst();
+
+ /**
+ *
+ * Nvme/TCP published secure channel specification (TP 8011) based on TLS 1.3 and PSK.
+ * Use PSK interchange format with base64 encoding as input.
+ * Also use information about hash function in interchange
+ * format for retained PSK generation. If no hash is selected,
+ * use configured PSK as retained PSK.
+ * Check the size of interchange PSK to determine cipher suite.
+ * Calculate CRC-32 bytes to ensure validity of PSK.
+ * Example: "NVMeTLSkey-1:01:VRLbtnN9AQb2WXW3c9+wEf/DRLz0QuLdbYvEhwtdWwNf9LrZ:"
+ * if PSK field is empty, then unsecure connection Nvme/TCP without TLS will be made
+ *
+ *
+ * bytes psk = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * @return The psk.
+ */
+ com.google.protobuf.ByteString getPsk();
+}
diff --git a/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2.py b/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2.py
index 8ee92053..26b5fc22 100644
--- a/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2.py
+++ b/storage/v1alpha1/gen/python/backend_nvme_tcp_pb2.py
@@ -21,7 +21,7 @@
import uuid_pb2 as uuid__pb2
-DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x62\x61\x63kend_nvme_tcp.proto\x12\x12opi_api.storage.v1\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\x1a\x0fopicommon.proto\x1a\nuuid.proto\"\xf5\x02\n\x14NvmeRemoteController\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x03\xe0\x41\x05\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12\x39\n\tmultipath\x18\x02 \x01(\x0e\x32!.opi_api.storage.v1.NvmeMultipathB\x03\xe0\x41\x02\x12\x1c\n\x0fio_queues_count\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01\x12\x17\n\nqueue_size\x18\x04 \x01(\x03\x42\x03\xe0\x41\x01\x12\x12\n\x05hdgst\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x12\x12\n\x05\x64\x64gst\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12\x10\n\x03psk\x18\x07 \x01(\x0c\x42\x03\xe0\x41\x01:o\xea\x41l\n+storage.opiproject.org/NvmeRemoteController\x12\x10volumes/{volume}*\x15nvmeRemoteControllers2\x14nvmeRemoteController\"\xe2\x03\n\x08NvmePath\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x03\xe0\x41\x05\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\x12L\n\x13\x63ontroller_name_ref\x18\x02 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12:\n\x06trtype\x18\x03 \x01(\x0e\x32%.opi_api.storage.v1.NvmeTransportTypeB\x03\xe0\x41\x02\x12:\n\x06\x61\x64rfam\x18\x04 \x01(\x0e\x32%.opi_api.storage.v1.NvmeAddressFamilyB\x03\xe0\x41\x01\x12\x13\n\x06traddr\x18\x05 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07trsvcid\x18\x06 \x01(\x03\x42\x03\xe0\x41\x01\x12\x13\n\x06subnqn\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rsource_traddr\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0esource_trsvcid\x18\t \x01(\x03\x42\x03\xe0\x41\x01\x12\x14\n\x07hostnqn\x18\n \x01(\tB\x03\xe0\x41\x01:K\xea\x41H\n\x1fstorage.opiproject.org/NvmePath\x12\x10volumes/{volume}*\tnvmePaths2\x08nvmePath\"\xf9\x02\n\x13NvmeRemoteNamespace\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x03\xe0\x41\x05\xfa\x41(\n&opi_api.storage.v1/NvmeRemoteNamespace\x12L\n\x13\x63ontroller_name_ref\x18\x02 \x01(\tB/\xe0\x41\x03\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12\x11\n\x04nsid\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x12\n\x05nguid\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05\x65ui64\x18\x05 \x01(\x03\x42\x03\xe0\x41\x03\x12*\n\x04uuid\x18\x06 \x01(\x0b\x32\x17.opi_api.common.v1.UuidB\x03\xe0\x41\x03:l\xea\x41i\n*storage.opiproject.org/NvmeRemoteNamespace\x12\x10volumes/{volume}*\x14nvmeRemoteNamespaces2\x13nvmeRemoteNamespace\"\x9a\x01\n!CreateNvmeRemoteControllerRequest\x12M\n\x16nvme_remote_controller\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.NvmeRemoteControllerB\x03\xe0\x41\x02\x12&\n\x19nvme_remote_controller_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"~\n!DeleteNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12\x1a\n\rallow_missing\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xc4\x01\n!UpdateNvmeRemoteControllerRequest\x12M\n\x16nvme_remote_controller\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.NvmeRemoteControllerB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x94\x01\n ListNvmeRemoteControllersRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x87\x01\n!ListNvmeRemoteControllersResponse\x12I\n\x17nvme_remote_controllers\x18\x01 \x03(\x0b\x32(.opi_api.storage.v1.NvmeRemoteController\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x1eGetNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\"a\n ResetNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\"a\n StatsNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\"S\n!StatsNvmeRemoteControllerResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats\"\x92\x01\n\x1fListNvmeRemoteNamespacesRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&opi_api.storage.v1/NvmeRemoteNamespace\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x84\x01\n ListNvmeRemoteNamespacesResponse\x12G\n\x16nvme_remote_namespaces\x18\x01 \x03(\x0b\x32\'.opi_api.storage.v1.NvmeRemoteNamespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"]\n\x1dGetNvmeRemoteNamespaceRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&opi_api.storage.v1/NvmeRemoteNamespace\"h\n\x15\x43reateNvmePathRequest\x12\x34\n\tnvme_path\x18\x01 \x01(\x0b\x32\x1c.opi_api.storage.v1.NvmePathB\x03\xe0\x41\x02\x12\x19\n\x0cnvme_path_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"f\n\x15\x44\x65leteNvmePathRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\x12\x1a\n\rallow_missing\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\x9f\x01\n\x15UpdateNvmePathRequest\x12\x34\n\tnvme_path\x18\x01 \x01(\x0b\x32\x1c.opi_api.storage.v1.NvmePathB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"|\n\x14ListNvmePathsRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"b\n\x15ListNvmePathsResponse\x12\x30\n\nnvme_paths\x18\x01 \x03(\x0b\x32\x1c.opi_api.storage.v1.NvmePath\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"G\n\x12GetNvmePathRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\"I\n\x14StatsNvmePathRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\"G\n\x15StatsNvmePathResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats*\xb4\x01\n\x11NvmeTransportType\x12#\n\x1fNVME_TRANSPORT_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11NVME_TRANSPORT_FC\x10\x01\x12\x17\n\x13NVME_TRANSPORT_PCIE\x10\x02\x12\x17\n\x13NVME_TRANSPORT_RDMA\x10\x03\x12\x16\n\x12NVME_TRANSPORT_TCP\x10\x04\x12\x19\n\x15NVME_TRANSPORT_CUSTOM\x10\x05*\xa8\x01\n\x11NvmeAddressFamily\x12#\n\x1fNVME_ADDRESS_FAMILY_UNSPECIFIED\x10\x00\x12\x14\n\x10NVME_ADRFAM_IPV4\x10\x01\x12\x14\n\x10NVME_ADRFAM_IPV6\x10\x02\x12\x12\n\x0eNVME_ADRFAM_IB\x10\x03\x12\x12\n\x0eNVME_ADRFAM_FC\x10\x04\x12\x1a\n\x16NVME_ADRFAM_INTRA_HOST\x10\x05*\x86\x01\n\rNvmeMultipath\x12\x1e\n\x1aNVME_MULTIPATH_UNSPECIFIED\x10\x00\x12\x1a\n\x16NVME_MULTIPATH_DISABLE\x10\x01\x12\x1b\n\x17NVME_MULTIPATH_FAILOVER\x10\x02\x12\x1c\n\x18NVME_MULTIPATH_MULTIPATH\x10\x03\x32\x94\x14\n\x1bNvmeRemoteControllerService\x12\xdd\x01\n\x1a\x43reateNvmeRemoteController\x12\x35.opi_api.storage.v1.CreateNvmeRemoteControllerRequest\x1a(.opi_api.storage.v1.NvmeRemoteController\"^\x82\xd3\xe4\x93\x02%\"\x0b/v1/volumes:\x16nvme_remote_controller\xda\x41\x30nvme_remote_controller,nvme_remote_controller_id\x12\x9e\x01\n\x1a\x44\x65leteNvmeRemoteController\x12\x35.opi_api.storage.v1.DeleteNvmeRemoteControllerRequest\x1a\x16.google.protobuf.Empty\"1\x82\xd3\xe4\x93\x02$*\"/v1/{name=NvmeRemoteControllers/*}\xda\x41\x04name\x12\xf0\x01\n\x1aUpdateNvmeRemoteController\x12\x35.opi_api.storage.v1.UpdateNvmeRemoteControllerRequest\x1a(.opi_api.storage.v1.NvmeRemoteController\"q\x82\xd3\xe4\x93\x02\x46\x32,/v1/{nvme_remote_controller.name=subsystems}:\x16nvme_remote_controller\xda\x41\"nvme_remote_controller,update_mask\x12\xb2\x01\n\x19ListNvmeRemoteControllers\x12\x34.opi_api.storage.v1.ListNvmeRemoteControllersRequest\x1a\x35.opi_api.storage.v1.ListNvmeRemoteControllersResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\xaa\x01\n\x17GetNvmeRemoteController\x12\x32.opi_api.storage.v1.GetNvmeRemoteControllerRequest\x1a(.opi_api.storage.v1.NvmeRemoteController\"1\x82\xd3\xe4\x93\x02$\x12\"/v1/{name=NvmeRemoteControllers/*}\xda\x41\x04name\x12\xa5\x01\n\x19ResetNvmeRemoteController\x12\x34.opi_api.storage.v1.ResetNvmeRemoteControllerRequest\x1a\x16.google.protobuf.Empty\":\x82\xd3\xe4\x93\x02-\"(/v1/{name=NvmeRemoteControllers/*}:reset:\x01*\xda\x41\x04name\x12\xc1\x01\n\x19StatsNvmeRemoteController\x12\x34.opi_api.storage.v1.StatsNvmeRemoteControllerRequest\x1a\x35.opi_api.storage.v1.StatsNvmeRemoteControllerResponse\"7\x82\xd3\xe4\x93\x02*\x12(/v1/{name=NvmeRemoteControllers/*}:stats\xda\x41\x04name\x12\xaf\x01\n\x18ListNvmeRemoteNamespaces\x12\x33.opi_api.storage.v1.ListNvmeRemoteNamespacesRequest\x1a\x34.opi_api.storage.v1.ListNvmeRemoteNamespacesResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\xa6\x01\n\x16GetNvmeRemoteNamespace\x12\x31.opi_api.storage.v1.GetNvmeRemoteNamespaceRequest\x1a\'.opi_api.storage.v1.NvmeRemoteNamespace\"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=NvmeRemoteNamespaces/*}\xda\x41\x04name\x12\x92\x01\n\x0e\x43reateNvmePath\x12).opi_api.storage.v1.CreateNvmePathRequest\x1a\x1c.opi_api.storage.v1.NvmePath\"7\x82\xd3\xe4\x93\x02\x18\"\x0b/v1/volumes:\tnvme_path\xda\x41\x16nvme_path,nvme_path_id\x12z\n\x0e\x44\x65leteNvmePath\x12).opi_api.storage.v1.DeleteNvmePathRequest\x1a\x16.google.protobuf.Empty\"%\x82\xd3\xe4\x93\x02\x18*\x16/v1/{name=NvmePaths/*}\xda\x41\x04name\x12\xa5\x01\n\x0eUpdateNvmePath\x12).opi_api.storage.v1.UpdateNvmePathRequest\x1a\x1c.opi_api.storage.v1.NvmePath\"J\x82\xd3\xe4\x93\x02,2\x1f/v1/{nvme_path.name=subsystems}:\tnvme_path\xda\x41\x15nvme_path,update_mask\x12\x8e\x01\n\rListNvmePaths\x12(.opi_api.storage.v1.ListNvmePathsRequest\x1a).opi_api.storage.v1.ListNvmePathsResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12z\n\x0bGetNvmePath\x12&.opi_api.storage.v1.GetNvmePathRequest\x1a\x1c.opi_api.storage.v1.NvmePath\"%\x82\xd3\xe4\x93\x02\x18\x12\x16/v1/{name=NvmePaths/*}\xda\x41\x04name\x12\x91\x01\n\rStatsNvmePath\x12(.opi_api.storage.v1.StatsNvmePathRequest\x1a).opi_api.storage.v1.StatsNvmePathResponse\"+\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1/{name=NvmePaths/*}:stats\xda\x41\x04nameBb\n\x12opi_api.storage.v1B\x13\x42\x61\x63kendNvmeTcpProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3')
+DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x62\x61\x63kend_nvme_tcp.proto\x12\x12opi_api.storage.v1\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a google/protobuf/field_mask.proto\x1a\x0fopicommon.proto\x1a\nuuid.proto\"\xf0\x02\n\x14NvmeRemoteController\x12@\n\x04name\x18\x01 \x01(\tB2\xe0\x41\x03\xe0\x41\x05\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12\x39\n\tmultipath\x18\x02 \x01(\x0e\x32!.opi_api.storage.v1.NvmeMultipathB\x03\xe0\x41\x02\x12\x1c\n\x0fio_queues_count\x18\x03 \x01(\x03\x42\x03\xe0\x41\x01\x12\x17\n\nqueue_size\x18\x04 \x01(\x03\x42\x03\xe0\x41\x01\x12\x33\n\x03tcp\x18\x05 \x01(\x0b\x32!.opi_api.storage.v1.TcpControllerB\x03\xe0\x41\x01:o\xea\x41l\n+storage.opiproject.org/NvmeRemoteController\x12\x10volumes/{volume}*\x15nvmeRemoteControllers2\x14nvmeRemoteController\"I\n\rTcpController\x12\x12\n\x05hdgst\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x12\n\x05\x64\x64gst\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\x12\x10\n\x03psk\x18\x03 \x01(\x0c\x42\x03\xe0\x41\x01\"\xe3\x02\n\x08NvmePath\x12\x34\n\x04name\x18\x01 \x01(\tB&\xe0\x41\x03\xe0\x41\x05\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\x12L\n\x13\x63ontroller_name_ref\x18\x02 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12:\n\x06trtype\x18\x03 \x01(\x0e\x32%.opi_api.storage.v1.NvmeTransportTypeB\x03\xe0\x41\x02\x12\x13\n\x06traddr\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x35\n\x07\x66\x61\x62rics\x18\x05 \x01(\x0b\x32\x1f.opi_api.storage.v1.FabricsPathB\x03\xe0\x41\x01:K\xea\x41H\n\x1fstorage.opiproject.org/NvmePath\x12\x10volumes/{volume}*\tnvmePaths2\x08nvmePath\"\xc3\x01\n\x0b\x46\x61\x62ricsPath\x12\x14\n\x07trsvcid\x18\x01 \x01(\x03\x42\x03\xe0\x41\x02\x12\x13\n\x06subnqn\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12:\n\x06\x61\x64rfam\x18\x03 \x01(\x0e\x32%.opi_api.storage.v1.NvmeAddressFamilyB\x03\xe0\x41\x02\x12\x1a\n\rsource_traddr\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x1b\n\x0esource_trsvcid\x18\x05 \x01(\x03\x42\x03\xe0\x41\x01\x12\x14\n\x07hostnqn\x18\x06 \x01(\tB\x03\xe0\x41\x01\"\xf9\x02\n\x13NvmeRemoteNamespace\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x03\xe0\x41\x05\xfa\x41(\n&opi_api.storage.v1/NvmeRemoteNamespace\x12L\n\x13\x63ontroller_name_ref\x18\x02 \x01(\tB/\xe0\x41\x03\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12\x11\n\x04nsid\x18\x03 \x01(\x05\x42\x03\xe0\x41\x03\x12\x12\n\x05nguid\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x12\n\x05\x65ui64\x18\x05 \x01(\x03\x42\x03\xe0\x41\x03\x12*\n\x04uuid\x18\x06 \x01(\x0b\x32\x17.opi_api.common.v1.UuidB\x03\xe0\x41\x03:l\xea\x41i\n*storage.opiproject.org/NvmeRemoteNamespace\x12\x10volumes/{volume}*\x14nvmeRemoteNamespaces2\x13nvmeRemoteNamespace\"\x9a\x01\n!CreateNvmeRemoteControllerRequest\x12M\n\x16nvme_remote_controller\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.NvmeRemoteControllerB\x03\xe0\x41\x02\x12&\n\x19nvme_remote_controller_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"~\n!DeleteNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12\x1a\n\rallow_missing\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\xc4\x01\n!UpdateNvmeRemoteControllerRequest\x12M\n\x16nvme_remote_controller\x18\x01 \x01(\x0b\x32(.opi_api.storage.v1.NvmeRemoteControllerB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"\x94\x01\n ListNvmeRemoteControllersRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x87\x01\n!ListNvmeRemoteControllersResponse\x12I\n\x17nvme_remote_controllers\x18\x01 \x03(\x0b\x32(.opi_api.storage.v1.NvmeRemoteController\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"_\n\x1eGetNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\"a\n ResetNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\"a\n StatsNvmeRemoteControllerRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'opi_api.storage.v1/NvmeRemoteController\"S\n!StatsNvmeRemoteControllerResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats\"\x92\x01\n\x1fListNvmeRemoteNamespacesRequest\x12>\n\x06parent\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&opi_api.storage.v1/NvmeRemoteNamespace\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"\x84\x01\n ListNvmeRemoteNamespacesResponse\x12G\n\x16nvme_remote_namespaces\x18\x01 \x03(\x0b\x32\'.opi_api.storage.v1.NvmeRemoteNamespace\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"]\n\x1dGetNvmeRemoteNamespaceRequest\x12<\n\x04name\x18\x01 \x01(\tB.\xe0\x41\x02\xfa\x41(\n&opi_api.storage.v1/NvmeRemoteNamespace\"h\n\x15\x43reateNvmePathRequest\x12\x34\n\tnvme_path\x18\x01 \x01(\x0b\x32\x1c.opi_api.storage.v1.NvmePathB\x03\xe0\x41\x02\x12\x19\n\x0cnvme_path_id\x18\x02 \x01(\tB\x03\xe0\x41\x01\"f\n\x15\x44\x65leteNvmePathRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\x12\x1a\n\rallow_missing\x18\x02 \x01(\x08\x42\x03\xe0\x41\x01\"\x9f\x01\n\x15UpdateNvmePathRequest\x12\x34\n\tnvme_path\x18\x01 \x01(\x0b\x32\x1c.opi_api.storage.v1.NvmePathB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x1a\n\rallow_missing\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"|\n\x14ListNvmePathsRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"b\n\x15ListNvmePathsResponse\x12\x30\n\nnvme_paths\x18\x01 \x03(\x0b\x32\x1c.opi_api.storage.v1.NvmePath\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"G\n\x12GetNvmePathRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\"I\n\x14StatsNvmePathRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bopi_api.storage.v1/NvmePath\"G\n\x15StatsNvmePathResponse\x12.\n\x05stats\x18\x01 \x01(\x0b\x32\x1f.opi_api.storage.v1.VolumeStats*\xb4\x01\n\x11NvmeTransportType\x12#\n\x1fNVME_TRANSPORT_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11NVME_TRANSPORT_FC\x10\x01\x12\x17\n\x13NVME_TRANSPORT_PCIE\x10\x02\x12\x17\n\x13NVME_TRANSPORT_RDMA\x10\x03\x12\x16\n\x12NVME_TRANSPORT_TCP\x10\x04\x12\x19\n\x15NVME_TRANSPORT_CUSTOM\x10\x05*\xa8\x01\n\x11NvmeAddressFamily\x12#\n\x1fNVME_ADDRESS_FAMILY_UNSPECIFIED\x10\x00\x12\x14\n\x10NVME_ADRFAM_IPV4\x10\x01\x12\x14\n\x10NVME_ADRFAM_IPV6\x10\x02\x12\x12\n\x0eNVME_ADRFAM_IB\x10\x03\x12\x12\n\x0eNVME_ADRFAM_FC\x10\x04\x12\x1a\n\x16NVME_ADRFAM_INTRA_HOST\x10\x05*\x86\x01\n\rNvmeMultipath\x12\x1e\n\x1aNVME_MULTIPATH_UNSPECIFIED\x10\x00\x12\x1a\n\x16NVME_MULTIPATH_DISABLE\x10\x01\x12\x1b\n\x17NVME_MULTIPATH_FAILOVER\x10\x02\x12\x1c\n\x18NVME_MULTIPATH_MULTIPATH\x10\x03\x32\x94\x14\n\x1bNvmeRemoteControllerService\x12\xdd\x01\n\x1a\x43reateNvmeRemoteController\x12\x35.opi_api.storage.v1.CreateNvmeRemoteControllerRequest\x1a(.opi_api.storage.v1.NvmeRemoteController\"^\x82\xd3\xe4\x93\x02%\"\x0b/v1/volumes:\x16nvme_remote_controller\xda\x41\x30nvme_remote_controller,nvme_remote_controller_id\x12\x9e\x01\n\x1a\x44\x65leteNvmeRemoteController\x12\x35.opi_api.storage.v1.DeleteNvmeRemoteControllerRequest\x1a\x16.google.protobuf.Empty\"1\x82\xd3\xe4\x93\x02$*\"/v1/{name=NvmeRemoteControllers/*}\xda\x41\x04name\x12\xf0\x01\n\x1aUpdateNvmeRemoteController\x12\x35.opi_api.storage.v1.UpdateNvmeRemoteControllerRequest\x1a(.opi_api.storage.v1.NvmeRemoteController\"q\x82\xd3\xe4\x93\x02\x46\x32,/v1/{nvme_remote_controller.name=subsystems}:\x16nvme_remote_controller\xda\x41\"nvme_remote_controller,update_mask\x12\xb2\x01\n\x19ListNvmeRemoteControllers\x12\x34.opi_api.storage.v1.ListNvmeRemoteControllersRequest\x1a\x35.opi_api.storage.v1.ListNvmeRemoteControllersResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\xaa\x01\n\x17GetNvmeRemoteController\x12\x32.opi_api.storage.v1.GetNvmeRemoteControllerRequest\x1a(.opi_api.storage.v1.NvmeRemoteController\"1\x82\xd3\xe4\x93\x02$\x12\"/v1/{name=NvmeRemoteControllers/*}\xda\x41\x04name\x12\xa5\x01\n\x19ResetNvmeRemoteController\x12\x34.opi_api.storage.v1.ResetNvmeRemoteControllerRequest\x1a\x16.google.protobuf.Empty\":\x82\xd3\xe4\x93\x02-\"(/v1/{name=NvmeRemoteControllers/*}:reset:\x01*\xda\x41\x04name\x12\xc1\x01\n\x19StatsNvmeRemoteController\x12\x34.opi_api.storage.v1.StatsNvmeRemoteControllerRequest\x1a\x35.opi_api.storage.v1.StatsNvmeRemoteControllerResponse\"7\x82\xd3\xe4\x93\x02*\x12(/v1/{name=NvmeRemoteControllers/*}:stats\xda\x41\x04name\x12\xaf\x01\n\x18ListNvmeRemoteNamespaces\x12\x33.opi_api.storage.v1.ListNvmeRemoteNamespacesRequest\x1a\x34.opi_api.storage.v1.ListNvmeRemoteNamespacesResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12\xa6\x01\n\x16GetNvmeRemoteNamespace\x12\x31.opi_api.storage.v1.GetNvmeRemoteNamespaceRequest\x1a\'.opi_api.storage.v1.NvmeRemoteNamespace\"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=NvmeRemoteNamespaces/*}\xda\x41\x04name\x12\x92\x01\n\x0e\x43reateNvmePath\x12).opi_api.storage.v1.CreateNvmePathRequest\x1a\x1c.opi_api.storage.v1.NvmePath\"7\x82\xd3\xe4\x93\x02\x18\"\x0b/v1/volumes:\tnvme_path\xda\x41\x16nvme_path,nvme_path_id\x12z\n\x0e\x44\x65leteNvmePath\x12).opi_api.storage.v1.DeleteNvmePathRequest\x1a\x16.google.protobuf.Empty\"%\x82\xd3\xe4\x93\x02\x18*\x16/v1/{name=NvmePaths/*}\xda\x41\x04name\x12\xa5\x01\n\x0eUpdateNvmePath\x12).opi_api.storage.v1.UpdateNvmePathRequest\x1a\x1c.opi_api.storage.v1.NvmePath\"J\x82\xd3\xe4\x93\x02,2\x1f/v1/{nvme_path.name=subsystems}:\tnvme_path\xda\x41\x15nvme_path,update_mask\x12\x8e\x01\n\rListNvmePaths\x12(.opi_api.storage.v1.ListNvmePathsRequest\x1a).opi_api.storage.v1.ListNvmePathsResponse\"(\x82\xd3\xe4\x93\x02\x19\x12\x17/v1/{parent=subsystems}\xda\x41\x06parent\x12z\n\x0bGetNvmePath\x12&.opi_api.storage.v1.GetNvmePathRequest\x1a\x1c.opi_api.storage.v1.NvmePath\"%\x82\xd3\xe4\x93\x02\x18\x12\x16/v1/{name=NvmePaths/*}\xda\x41\x04name\x12\x91\x01\n\rStatsNvmePath\x12(.opi_api.storage.v1.StatsNvmePathRequest\x1a).opi_api.storage.v1.StatsNvmePathResponse\"+\x82\xd3\xe4\x93\x02\x1e\x12\x1c/v1/{name=NvmePaths/*}:stats\xda\x41\x04nameBb\n\x12opi_api.storage.v1B\x13\x42\x61\x63kendNvmeTcpProtoP\x01Z5github.com/opiproject/opi-api/storage/v1alpha1/gen/gob\x06proto3')
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'backend_nvme_tcp_pb2', globals())
@@ -37,36 +37,40 @@
_NVMEREMOTECONTROLLER.fields_by_name['io_queues_count']._serialized_options = b'\340A\001'
_NVMEREMOTECONTROLLER.fields_by_name['queue_size']._options = None
_NVMEREMOTECONTROLLER.fields_by_name['queue_size']._serialized_options = b'\340A\001'
- _NVMEREMOTECONTROLLER.fields_by_name['hdgst']._options = None
- _NVMEREMOTECONTROLLER.fields_by_name['hdgst']._serialized_options = b'\340A\001'
- _NVMEREMOTECONTROLLER.fields_by_name['ddgst']._options = None
- _NVMEREMOTECONTROLLER.fields_by_name['ddgst']._serialized_options = b'\340A\001'
- _NVMEREMOTECONTROLLER.fields_by_name['psk']._options = None
- _NVMEREMOTECONTROLLER.fields_by_name['psk']._serialized_options = b'\340A\001'
+ _NVMEREMOTECONTROLLER.fields_by_name['tcp']._options = None
+ _NVMEREMOTECONTROLLER.fields_by_name['tcp']._serialized_options = b'\340A\001'
_NVMEREMOTECONTROLLER._options = None
_NVMEREMOTECONTROLLER._serialized_options = b'\352Al\n+storage.opiproject.org/NvmeRemoteController\022\020volumes/{volume}*\025nvmeRemoteControllers2\024nvmeRemoteController'
+ _TCPCONTROLLER.fields_by_name['hdgst']._options = None
+ _TCPCONTROLLER.fields_by_name['hdgst']._serialized_options = b'\340A\001'
+ _TCPCONTROLLER.fields_by_name['ddgst']._options = None
+ _TCPCONTROLLER.fields_by_name['ddgst']._serialized_options = b'\340A\001'
+ _TCPCONTROLLER.fields_by_name['psk']._options = None
+ _TCPCONTROLLER.fields_by_name['psk']._serialized_options = b'\340A\001'
_NVMEPATH.fields_by_name['name']._options = None
_NVMEPATH.fields_by_name['name']._serialized_options = b'\340A\003\340A\005\372A\035\n\033opi_api.storage.v1/NvmePath'
_NVMEPATH.fields_by_name['controller_name_ref']._options = None
_NVMEPATH.fields_by_name['controller_name_ref']._serialized_options = b'\340A\002\372A)\n\'opi_api.storage.v1/NvmeRemoteController'
_NVMEPATH.fields_by_name['trtype']._options = None
_NVMEPATH.fields_by_name['trtype']._serialized_options = b'\340A\002'
- _NVMEPATH.fields_by_name['adrfam']._options = None
- _NVMEPATH.fields_by_name['adrfam']._serialized_options = b'\340A\001'
_NVMEPATH.fields_by_name['traddr']._options = None
_NVMEPATH.fields_by_name['traddr']._serialized_options = b'\340A\002'
- _NVMEPATH.fields_by_name['trsvcid']._options = None
- _NVMEPATH.fields_by_name['trsvcid']._serialized_options = b'\340A\001'
- _NVMEPATH.fields_by_name['subnqn']._options = None
- _NVMEPATH.fields_by_name['subnqn']._serialized_options = b'\340A\001'
- _NVMEPATH.fields_by_name['source_traddr']._options = None
- _NVMEPATH.fields_by_name['source_traddr']._serialized_options = b'\340A\001'
- _NVMEPATH.fields_by_name['source_trsvcid']._options = None
- _NVMEPATH.fields_by_name['source_trsvcid']._serialized_options = b'\340A\001'
- _NVMEPATH.fields_by_name['hostnqn']._options = None
- _NVMEPATH.fields_by_name['hostnqn']._serialized_options = b'\340A\001'
+ _NVMEPATH.fields_by_name['fabrics']._options = None
+ _NVMEPATH.fields_by_name['fabrics']._serialized_options = b'\340A\001'
_NVMEPATH._options = None
_NVMEPATH._serialized_options = b'\352AH\n\037storage.opiproject.org/NvmePath\022\020volumes/{volume}*\tnvmePaths2\010nvmePath'
+ _FABRICSPATH.fields_by_name['trsvcid']._options = None
+ _FABRICSPATH.fields_by_name['trsvcid']._serialized_options = b'\340A\002'
+ _FABRICSPATH.fields_by_name['subnqn']._options = None
+ _FABRICSPATH.fields_by_name['subnqn']._serialized_options = b'\340A\002'
+ _FABRICSPATH.fields_by_name['adrfam']._options = None
+ _FABRICSPATH.fields_by_name['adrfam']._serialized_options = b'\340A\002'
+ _FABRICSPATH.fields_by_name['source_traddr']._options = None
+ _FABRICSPATH.fields_by_name['source_traddr']._serialized_options = b'\340A\001'
+ _FABRICSPATH.fields_by_name['source_trsvcid']._options = None
+ _FABRICSPATH.fields_by_name['source_trsvcid']._serialized_options = b'\340A\001'
+ _FABRICSPATH.fields_by_name['hostnqn']._options = None
+ _FABRICSPATH.fields_by_name['hostnqn']._serialized_options = b'\340A\001'
_NVMEREMOTENAMESPACE.fields_by_name['name']._options = None
_NVMEREMOTENAMESPACE.fields_by_name['name']._serialized_options = b'\340A\003\340A\005\372A(\n&opi_api.storage.v1/NvmeRemoteNamespace'
_NVMEREMOTENAMESPACE.fields_by_name['controller_name_ref']._options = None
@@ -169,58 +173,62 @@
_NVMEREMOTECONTROLLERSERVICE.methods_by_name['GetNvmePath']._serialized_options = b'\202\323\344\223\002\030\022\026/v1/{name=NvmePaths/*}\332A\004name'
_NVMEREMOTECONTROLLERSERVICE.methods_by_name['StatsNvmePath']._options = None
_NVMEREMOTECONTROLLERSERVICE.methods_by_name['StatsNvmePath']._serialized_options = b'\202\323\344\223\002\036\022\034/v1/{name=NvmePaths/*}:stats\332A\004name'
- _NVMETRANSPORTTYPE._serialized_start=3846
- _NVMETRANSPORTTYPE._serialized_end=4026
- _NVMEADDRESSFAMILY._serialized_start=4029
- _NVMEADDRESSFAMILY._serialized_end=4197
- _NVMEMULTIPATH._serialized_start=4200
- _NVMEMULTIPATH._serialized_end=4334
+ _NVMETRANSPORTTYPE._serialized_start=3987
+ _NVMETRANSPORTTYPE._serialized_end=4167
+ _NVMEADDRESSFAMILY._serialized_start=4170
+ _NVMEADDRESSFAMILY._serialized_end=4338
+ _NVMEMULTIPATH._serialized_start=4341
+ _NVMEMULTIPATH._serialized_end=4475
_NVMEREMOTECONTROLLER._serialized_start=254
- _NVMEREMOTECONTROLLER._serialized_end=627
- _NVMEPATH._serialized_start=630
- _NVMEPATH._serialized_end=1112
- _NVMEREMOTENAMESPACE._serialized_start=1115
- _NVMEREMOTENAMESPACE._serialized_end=1492
- _CREATENVMEREMOTECONTROLLERREQUEST._serialized_start=1495
- _CREATENVMEREMOTECONTROLLERREQUEST._serialized_end=1649
- _DELETENVMEREMOTECONTROLLERREQUEST._serialized_start=1651
- _DELETENVMEREMOTECONTROLLERREQUEST._serialized_end=1777
- _UPDATENVMEREMOTECONTROLLERREQUEST._serialized_start=1780
- _UPDATENVMEREMOTECONTROLLERREQUEST._serialized_end=1976
- _LISTNVMEREMOTECONTROLLERSREQUEST._serialized_start=1979
- _LISTNVMEREMOTECONTROLLERSREQUEST._serialized_end=2127
- _LISTNVMEREMOTECONTROLLERSRESPONSE._serialized_start=2130
- _LISTNVMEREMOTECONTROLLERSRESPONSE._serialized_end=2265
- _GETNVMEREMOTECONTROLLERREQUEST._serialized_start=2267
- _GETNVMEREMOTECONTROLLERREQUEST._serialized_end=2362
- _RESETNVMEREMOTECONTROLLERREQUEST._serialized_start=2364
- _RESETNVMEREMOTECONTROLLERREQUEST._serialized_end=2461
- _STATSNVMEREMOTECONTROLLERREQUEST._serialized_start=2463
- _STATSNVMEREMOTECONTROLLERREQUEST._serialized_end=2560
- _STATSNVMEREMOTECONTROLLERRESPONSE._serialized_start=2562
- _STATSNVMEREMOTECONTROLLERRESPONSE._serialized_end=2645
- _LISTNVMEREMOTENAMESPACESREQUEST._serialized_start=2648
- _LISTNVMEREMOTENAMESPACESREQUEST._serialized_end=2794
- _LISTNVMEREMOTENAMESPACESRESPONSE._serialized_start=2797
- _LISTNVMEREMOTENAMESPACESRESPONSE._serialized_end=2929
- _GETNVMEREMOTENAMESPACEREQUEST._serialized_start=2931
- _GETNVMEREMOTENAMESPACEREQUEST._serialized_end=3024
- _CREATENVMEPATHREQUEST._serialized_start=3026
- _CREATENVMEPATHREQUEST._serialized_end=3130
- _DELETENVMEPATHREQUEST._serialized_start=3132
- _DELETENVMEPATHREQUEST._serialized_end=3234
- _UPDATENVMEPATHREQUEST._serialized_start=3237
- _UPDATENVMEPATHREQUEST._serialized_end=3396
- _LISTNVMEPATHSREQUEST._serialized_start=3398
- _LISTNVMEPATHSREQUEST._serialized_end=3522
- _LISTNVMEPATHSRESPONSE._serialized_start=3524
- _LISTNVMEPATHSRESPONSE._serialized_end=3622
- _GETNVMEPATHREQUEST._serialized_start=3624
- _GETNVMEPATHREQUEST._serialized_end=3695
- _STATSNVMEPATHREQUEST._serialized_start=3697
- _STATSNVMEPATHREQUEST._serialized_end=3770
- _STATSNVMEPATHRESPONSE._serialized_start=3772
- _STATSNVMEPATHRESPONSE._serialized_end=3843
- _NVMEREMOTECONTROLLERSERVICE._serialized_start=4337
- _NVMEREMOTECONTROLLERSERVICE._serialized_end=6917
+ _NVMEREMOTECONTROLLER._serialized_end=622
+ _TCPCONTROLLER._serialized_start=624
+ _TCPCONTROLLER._serialized_end=697
+ _NVMEPATH._serialized_start=700
+ _NVMEPATH._serialized_end=1055
+ _FABRICSPATH._serialized_start=1058
+ _FABRICSPATH._serialized_end=1253
+ _NVMEREMOTENAMESPACE._serialized_start=1256
+ _NVMEREMOTENAMESPACE._serialized_end=1633
+ _CREATENVMEREMOTECONTROLLERREQUEST._serialized_start=1636
+ _CREATENVMEREMOTECONTROLLERREQUEST._serialized_end=1790
+ _DELETENVMEREMOTECONTROLLERREQUEST._serialized_start=1792
+ _DELETENVMEREMOTECONTROLLERREQUEST._serialized_end=1918
+ _UPDATENVMEREMOTECONTROLLERREQUEST._serialized_start=1921
+ _UPDATENVMEREMOTECONTROLLERREQUEST._serialized_end=2117
+ _LISTNVMEREMOTECONTROLLERSREQUEST._serialized_start=2120
+ _LISTNVMEREMOTECONTROLLERSREQUEST._serialized_end=2268
+ _LISTNVMEREMOTECONTROLLERSRESPONSE._serialized_start=2271
+ _LISTNVMEREMOTECONTROLLERSRESPONSE._serialized_end=2406
+ _GETNVMEREMOTECONTROLLERREQUEST._serialized_start=2408
+ _GETNVMEREMOTECONTROLLERREQUEST._serialized_end=2503
+ _RESETNVMEREMOTECONTROLLERREQUEST._serialized_start=2505
+ _RESETNVMEREMOTECONTROLLERREQUEST._serialized_end=2602
+ _STATSNVMEREMOTECONTROLLERREQUEST._serialized_start=2604
+ _STATSNVMEREMOTECONTROLLERREQUEST._serialized_end=2701
+ _STATSNVMEREMOTECONTROLLERRESPONSE._serialized_start=2703
+ _STATSNVMEREMOTECONTROLLERRESPONSE._serialized_end=2786
+ _LISTNVMEREMOTENAMESPACESREQUEST._serialized_start=2789
+ _LISTNVMEREMOTENAMESPACESREQUEST._serialized_end=2935
+ _LISTNVMEREMOTENAMESPACESRESPONSE._serialized_start=2938
+ _LISTNVMEREMOTENAMESPACESRESPONSE._serialized_end=3070
+ _GETNVMEREMOTENAMESPACEREQUEST._serialized_start=3072
+ _GETNVMEREMOTENAMESPACEREQUEST._serialized_end=3165
+ _CREATENVMEPATHREQUEST._serialized_start=3167
+ _CREATENVMEPATHREQUEST._serialized_end=3271
+ _DELETENVMEPATHREQUEST._serialized_start=3273
+ _DELETENVMEPATHREQUEST._serialized_end=3375
+ _UPDATENVMEPATHREQUEST._serialized_start=3378
+ _UPDATENVMEPATHREQUEST._serialized_end=3537
+ _LISTNVMEPATHSREQUEST._serialized_start=3539
+ _LISTNVMEPATHSREQUEST._serialized_end=3663
+ _LISTNVMEPATHSRESPONSE._serialized_start=3665
+ _LISTNVMEPATHSRESPONSE._serialized_end=3763
+ _GETNVMEPATHREQUEST._serialized_start=3765
+ _GETNVMEPATHREQUEST._serialized_end=3836
+ _STATSNVMEPATHREQUEST._serialized_start=3838
+ _STATSNVMEPATHREQUEST._serialized_end=3911
+ _STATSNVMEPATHRESPONSE._serialized_start=3913
+ _STATSNVMEPATHRESPONSE._serialized_end=3984
+ _NVMEREMOTECONTROLLERSERVICE._serialized_start=4478
+ _NVMEREMOTECONTROLLERSERVICE._serialized_end=7058
# @@protoc_insertion_point(module_scope)