ctype property

  1. @TagNumber.new(1)
FieldOptions_CType get ctype

NOTE: ctype is deprecated. Use features.(pb.cpp).string_type instead. The ctype option instructs the C++ code generator to use a different representation of the field than it normally would. See the specific options below. This option is only implemented to support use of ctype=CORD and ctype=STRING (the default) on non-repeated fields of type "bytes" in the open source release. TODO: make ctype actually deprecated.

Implementation

@$pb.TagNumber(1)
FieldOptions_CType get ctype => $_getN(0);
  1. @TagNumber.new(1)
set ctype (FieldOptions_CType value)

Implementation

@$pb.TagNumber(1)
set ctype(FieldOptions_CType value) => $_setField(1, value);