| 3451 | } |
| 3452 | |
| 3453 | type SchemaUpdate struct { |
| 3454 | Predicate string `protobuf:"bytes,1,opt,name=predicate,proto3" json:"predicate,omitempty"` |
| 3455 | ValueType Posting_ValType `protobuf:"varint,2,opt,name=value_type,json=valueType,proto3,enum=pb.Posting_ValType" json:"value_type,omitempty"` |
| 3456 | Directive SchemaUpdate_Directive `protobuf:"varint,3,opt,name=directive,proto3,enum=pb.SchemaUpdate_Directive" json:"directive,omitempty"` |
| 3457 | Tokenizer []string `protobuf:"bytes,4,rep,name=tokenizer,proto3" json:"tokenizer,omitempty"` |
| 3458 | Count bool `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` |
| 3459 | List bool `protobuf:"varint,6,opt,name=list,proto3" json:"list,omitempty"` |
| 3460 | Upsert bool `protobuf:"varint,8,opt,name=upsert,proto3" json:"upsert,omitempty"` |
| 3461 | Lang bool `protobuf:"varint,9,opt,name=lang,proto3" json:"lang,omitempty"` |
| 3462 | // Fields required for type system. |
| 3463 | NonNullable bool `protobuf:"varint,10,opt,name=non_nullable,json=nonNullable,proto3" json:"non_nullable,omitempty"` |
| 3464 | NonNullableList bool `protobuf:"varint,11,opt,name=non_nullable_list,json=nonNullableList,proto3" json:"non_nullable_list,omitempty"` |
| 3465 | // If value_type is OBJECT, then this represents an object type with a |
| 3466 | // custom name. This field stores said name. |
| 3467 | ObjectTypeName string `protobuf:"bytes,12,opt,name=object_type_name,json=objectTypeName,proto3" json:"object_type_name,omitempty"` |
| 3468 | NoConflict bool `protobuf:"varint,13,opt,name=no_conflict,json=noConflict,proto3" json:"no_conflict,omitempty"` |
| 3469 | } |
| 3470 | |
| 3471 | func (m *SchemaUpdate) Reset() { *m = SchemaUpdate{} } |
| 3472 | func (m *SchemaUpdate) String() string { return proto.CompactTextString(m) } |
nothing calls this directly
no outgoing calls
no test coverage detected