/** * * * <pre> * The list of fields that make up this struct. Order is * significant, because values of this struct type are represented as * lists, where the order of field values matches the order of * fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields * matches the order of columns in a read request, or the order of * fields in the `SELECT` clause of a query. * </pre> * * <code>repeated .google.spanner.v1.StructType.Field fields = 1;</code> */ public Builder addFields(com.google.spanner.v1.StructType.Field.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(builderForValue.build()); onChanged(); } else { fieldsBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * * * <pre> * The list of fields that make up this struct. Order is * significant, because values of this struct type are represented as * lists, where the order of field values matches the order of * fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields * matches the order of columns in a read request, or the order of * fields in the `SELECT` clause of a query. * </pre> * * <code>repeated .google.spanner.v1.StructType.Field fields = 1;</code> */ public Builder addFields( int index, com.google.spanner.v1.StructType.Field.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.add(index, builderForValue.build()); onChanged(); } else { fieldsBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * * * <pre> * The list of fields that make up this struct. Order is * significant, because values of this struct type are represented as * lists, where the order of field values matches the order of * fields in the [StructType][google.spanner.v1.StructType]. In turn, the order of fields * matches the order of columns in a read request, or the order of * fields in the `SELECT` clause of a query. * </pre> * * <code>repeated .google.spanner.v1.StructType.Field fields = 1;</code> */ public Builder setFields( int index, com.google.spanner.v1.StructType.Field.Builder builderForValue) { if (fieldsBuilder_ == null) { ensureFieldsIsMutable(); fields_.set(index, builderForValue.build()); onChanged(); } else { fieldsBuilder_.setMessage(index, builderForValue.build()); } return this; } /**