Lines Matching full:field
55 /// @param unknownSet The unknown field set to generate from.
59 /// @return A @c NSString with the Text Format of the unknown field set.
63 /// Test if the given field is set on a message.
65 /// Test if the given field is set on a message.
66 BOOL GPBMessageHasFieldSet(GPBMessage *self, GPBFieldDescriptor *field);
68 /// Clear the given field of a message.
69 void GPBClearMessageField(GPBMessage *self, GPBFieldDescriptor *field);
76 // Get/Set the given field of a message.
81 /// Gets the value of a bytes field.
82 NSData *GPBGetMessageBytesField(GPBMessage *self, GPBFieldDescriptor *field);
83 /// Sets the value of a bytes field.
84 void GPBSetMessageBytesField(GPBMessage *self, GPBFieldDescriptor *field, NSData *value);
86 /// Gets the value of a string field.
87 NSString *GPBGetMessageStringField(GPBMessage *self, GPBFieldDescriptor *field);
88 /// Sets the value of a string field.
89 void GPBSetMessageStringField(GPBMessage *self, GPBFieldDescriptor *field, NSString *value);
91 /// Gets the value of a message field.
92 GPBMessage *GPBGetMessageMessageField(GPBMessage *self, GPBFieldDescriptor *field);
93 /// Sets the value of a message field.
94 void GPBSetMessageMessageField(GPBMessage *self, GPBFieldDescriptor *field, GPBMessage *value);
96 /// Gets the value of a group field.
97 GPBMessage *GPBGetMessageGroupField(GPBMessage *self, GPBFieldDescriptor *field);
98 /// Sets the value of a group field.
99 void GPBSetMessageGroupField(GPBMessage *self, GPBFieldDescriptor *field, GPBMessage *value);
101 /// Gets the value of a bool field.
102 BOOL GPBGetMessageBoolField(GPBMessage *self, GPBFieldDescriptor *field);
103 /// Sets the value of a bool field.
104 void GPBSetMessageBoolField(GPBMessage *self, GPBFieldDescriptor *field, BOOL value);
106 /// Gets the value of an int32 field.
107 int32_t GPBGetMessageInt32Field(GPBMessage *self, GPBFieldDescriptor *field);
108 /// Sets the value of an int32 field.
109 void GPBSetMessageInt32Field(GPBMessage *self, GPBFieldDescriptor *field, int32_t value);
111 /// Gets the value of an uint32 field.
112 uint32_t GPBGetMessageUInt32Field(GPBMessage *self, GPBFieldDescriptor *field);
113 /// Sets the value of an uint32 field.
114 void GPBSetMessageUInt32Field(GPBMessage *self, GPBFieldDescriptor *field, uint32_t value);
116 /// Gets the value of an int64 field.
117 int64_t GPBGetMessageInt64Field(GPBMessage *self, GPBFieldDescriptor *field);
118 /// Sets the value of an int64 field.
119 void GPBSetMessageInt64Field(GPBMessage *self, GPBFieldDescriptor *field, int64_t value);
121 /// Gets the value of an uint64 field.
122 uint64_t GPBGetMessageUInt64Field(GPBMessage *self, GPBFieldDescriptor *field);
123 /// Sets the value of an uint64 field.
124 void GPBSetMessageUInt64Field(GPBMessage *self, GPBFieldDescriptor *field, uint64_t value);
126 /// Gets the value of a float field.
127 float GPBGetMessageFloatField(GPBMessage *self, GPBFieldDescriptor *field);
128 /// Sets the value of a float field.
129 void GPBSetMessageFloatField(GPBMessage *self, GPBFieldDescriptor *field, float value);
131 /// Gets the value of a double field.
132 double GPBGetMessageDoubleField(GPBMessage *self, GPBFieldDescriptor *field);
133 /// Sets the value of a double field.
134 void GPBSetMessageDoubleField(GPBMessage *self, GPBFieldDescriptor *field, double value);
136 /// Get the given enum field of a message. For proto3, if the value isn't a
140 int32_t GPBGetMessageEnumField(GPBMessage *self, GPBFieldDescriptor *field);
141 /// Set the given enum field of a message. You can only set values that are
143 void GPBSetMessageEnumField(GPBMessage *self, GPBFieldDescriptor *field, int32_t value);
144 /// Get the given enum field of a message. No check is done to ensure the value
146 int32_t GPBGetMessageRawEnumField(GPBMessage *self, GPBFieldDescriptor *field);
147 /// Set the given enum field of a message. You can set the value to anything,
149 void GPBSetMessageRawEnumField(GPBMessage *self, GPBFieldDescriptor *field, int32_t value);
153 /// Gets the value of a repeated field.
156 /// field's type.
157 id GPBGetMessageRepeatedField(GPBMessage *self, GPBFieldDescriptor *field);
158 /// Sets the value of a repeated field.
161 /// field's type.
162 void GPBSetMessageRepeatedField(GPBMessage *self, GPBFieldDescriptor *field, id array);
166 /// Gets the value of a map<> field.
169 /// the field's type.
170 id GPBGetMessageMapField(GPBMessage *self, GPBFieldDescriptor *field);
171 /// Sets the value of a map<> field.
174 /// on the field's type.
175 void GPBSetMessageMapField(GPBMessage *self, GPBFieldDescriptor *field, id dictionary);
192 //%// Get/Set the given field of a message.
208 //%/// Get the given enum field of a message. For proto3, if the value isn't a
212 //%int32_t GPBGetMessageEnumField(GPBMessage *self, GPBFieldDescriptor *field);
213 //%/// Set the given enum field of a message. You can only set values that are
215 //%void GPBSetMessageEnumField(GPBMessage *self, GPBFieldDescriptor *field, int32_t value);
216 //%/// Get the given enum field of a message. No check is done to ensure the value
218 //%int32_t GPBGetMessageRawEnumField(GPBMessage *self, GPBFieldDescriptor *field);
219 //%/// Set the given enum field of a message. You can set the value to anything,
221 //%void GPBSetMessageRawEnumField(GPBMessage *self, GPBFieldDescriptor *field, int32_t value);
225 //%/// Gets the value of a repeated field.
228 //%/// field's type.
229 //%id GPBGetMessageRepeatedField(GPBMessage *self, GPBFieldDescriptor *field);
230 //%/// Sets the value of a repeated field.
233 //%/// field's type.
234 //%void GPBSetMessageRepeatedField(GPBMessage *self, GPBFieldDescriptor *field, id array);
238 //%/// Gets the value of a map<> field.
241 //%/// the field's type.
242 //%id GPBGetMessageMapField(GPBMessage *self, GPBFieldDescriptor *field);
243 //%/// Sets the value of a map<> field.
246 //%/// on the field's type.
247 //%void GPBSetMessageMapField(GPBMessage *self, GPBFieldDescriptor *field, id dictionary);
253 //%/// Gets the value of a##AN NAME$L field.
254 //%TYPE TisP##GPBGetMessage##NAME##Field(GPBMessage *self, GPBFieldDescriptor *field);
255 //%/// Sets the value of a##AN NAME$L field.
256 //%void GPBSetMessage##NAME##Field(GPBMessage *self, GPBFieldDescriptor *field, TYPE TisP##value);