@SuppressWarnings({"rawtypes"}) protected com.google.protobuf.MapField internalGetMutableMapField(int number) { switch (number) { case 2: return internalGetMutableSubqueries(); default: throw new RuntimeException("Invalid map field number: " + number); } }
/** * * * <pre> * A mapping of (subquery variable name) -> (subquery node id) for cases * where the `description` string of this node references a `SCALAR` * subquery contained in the expression subtree rooted at this node. The * referenced `SCALAR` subquery may not necessarily be a direct child of * this node. * </pre> * * <code>map<string, int32> subqueries = 2;</code> */ public Builder removeSubqueries(java.lang.String key) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableSubqueries().getMutableMap().remove(key); return this; } /** Use alternate mutation accessors instead. */
/** * * * <pre> * A mapping of (subquery variable name) -> (subquery node id) for cases * where the `description` string of this node references a `SCALAR` * subquery contained in the expression subtree rooted at this node. The * referenced `SCALAR` subquery may not necessarily be a direct child of * this node. * </pre> * * <code>map<string, int32> subqueries = 2;</code> */ public Builder putSubqueries(java.lang.String key, int value) { if (key == null) { throw new java.lang.NullPointerException(); } internalGetMutableSubqueries().getMutableMap().put(key, value); return this; } /**
/** * * * <pre> * A mapping of (subquery variable name) -> (subquery node id) for cases * where the `description` string of this node references a `SCALAR` * subquery contained in the expression subtree rooted at this node. The * referenced `SCALAR` subquery may not necessarily be a direct child of * this node. * </pre> * * <code>map<string, int32> subqueries = 2;</code> */ public Builder putAllSubqueries(java.util.Map<java.lang.String, java.lang.Integer> values) { internalGetMutableSubqueries().getMutableMap().putAll(values); return this; }
/** Use alternate mutation accessors instead. */ @java.lang.Deprecated public java.util.Map<java.lang.String, java.lang.Integer> getMutableSubqueries() { return internalGetMutableSubqueries().getMutableMap(); } /**
public Builder clearSubqueries() { internalGetMutableSubqueries().getMutableMap().clear(); return this; } /**
public Builder mergeFrom(com.google.spanner.v1.PlanNode.ShortRepresentation other) { if (other == com.google.spanner.v1.PlanNode.ShortRepresentation.getDefaultInstance()) return this; if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); } internalGetMutableSubqueries().mergeFrom(other.internalGetSubqueries()); this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
@java.lang.Override public Builder clear() { super.clear(); description_ = ""; internalGetMutableSubqueries().clear(); return this; }