Home

# Class proto2.TestAllTypes

Message TestAllTypes.

extends goog.proto2.Message

Instance Method Summary
| `addRepeatedBool(boolean value)` Adds a value to the repeated_bool field.
| `addRepeatedBytes(string value)` Adds a value to the repeated_bytes field.
| `addRepeatedDouble(number value)` Adds a value to the repeated_double field.
| `addRepeatedFixed32(number value)` Adds a value to the repeated_fixed32 field.
| `addRepeatedFixed64(string value)` Adds a value to the repeated_fixed64 field.
| `addRepeatedFloat(number value)` Adds a value to the repeated_float field.
| `addRepeatedInt32(number value)` Adds a value to the repeated_int32 field.
| `addRepeatedInt64(string value)` Adds a value to the repeated_int64 field.
| `addRepeatedInt64Number(number value)` Adds a value to the repeated_int64_number field.
| `addRepeatedInt64String(string value)` Adds a value to the repeated_int64_string field.
| `addRepeatedNestedEnum(?proto2.TestAllTypes.NestedEnum value)` Adds a value to the repeated_nested_enum field.
| `addRepeatedNestedMessage(!proto2.TestAllTypes.NestedMessage value)` Adds a value to the repeated_nested_message field.
| `addRepeatedSfixed32(number value)` Adds a value to the repeated_sfixed32 field.
| `addRepeatedSfixed64(string value)` Adds a value to the repeated_sfixed64 field.
| `addRepeatedSint32(number value)` Adds a value to the repeated_sint32 field.
| `addRepeatedSint64(string value)` Adds a value to the repeated_sint64 field.
| `addRepeatedString(string value)` Adds a value to the repeated_string field.
| `addRepeatedUint32(number value)` Adds a value to the repeated_uint32 field.
| `addRepeatedUint64(string value)` Adds a value to the repeated_uint64 field.
| `addRepeatedgroup(!proto2.TestAllTypes.RepeatedGroup value)` Adds a value to the repeatedgroup field.
| `clearOptionalBool()` Clears the values in the optional_bool field.
| `clearOptionalBytes()` Clears the values in the optional_bytes field.
| `clearOptionalDouble()` Clears the values in the optional_double field.
| `clearOptionalFixed32()` Clears the values in the optional_fixed32 field.
| `clearOptionalFixed64()` Clears the values in the optional_fixed64 field.
| `clearOptionalFloat()` Clears the values in the optional_float field.
| `clearOptionalInt32()` Clears the values in the optional_int32 field.
| `clearOptionalInt64()` Clears the values in the optional_int64 field.
| `clearOptionalInt64Number()` Clears the values in the optional_int64_number field.
| `clearOptionalInt64String()` Clears the values in the optional_int64_string field.
| `clearOptionalNestedEnum()` Clears the values in the optional_nested_enum field.
| `clearOptionalNestedMessage()` Clears the values in the optional_nested_message field.
| `clearOptionalSfixed32()` Clears the values in the optional_sfixed32 field.
| `clearOptionalSfixed64()` Clears the values in the optional_sfixed64 field.
| `clearOptionalSint32()` Clears the values in the optional_sint32 field.
| `clearOptionalSint64()` Clears the values in the optional_sint64 field.
| `clearOptionalString()` Clears the values in the optional_string field.
| `clearOptionalUint32()` Clears the values in the optional_uint32 field.
| `clearOptionalUint64()` Clears the values in the optional_uint64 field.
| `clearOptionalgroup()` Clears the values in the optionalgroup field.
| `clearRepeatedBool()` Clears the values in the repeated_bool field.
| `clearRepeatedBytes()` Clears the values in the repeated_bytes field.
| `clearRepeatedDouble()` Clears the values in the repeated_double field.
| `clearRepeatedFixed32()` Clears the values in the repeated_fixed32 field.
| `clearRepeatedFixed64()` Clears the values in the repeated_fixed64 field.
| `clearRepeatedFloat()` Clears the values in the repeated_float field.
| `clearRepeatedInt32()` Clears the values in the repeated_int32 field.
| `clearRepeatedInt64()` Clears the values in the repeated_int64 field.
| `clearRepeatedInt64Number()` Clears the values in the repeated_int64_number field.
| `clearRepeatedInt64String()` Clears the values in the repeated_int64_string field.
| `clearRepeatedNestedEnum()` Clears the values in the repeated_nested_enum field.
| `clearRepeatedNestedMessage()` Clears the values in the repeated_nested_message field.
| `clearRepeatedSfixed32()` Clears the values in the repeated_sfixed32 field.
| `clearRepeatedSfixed64()` Clears the values in the repeated_sfixed64 field.
| `clearRepeatedSint32()` Clears the values in the repeated_sint32 field.
| `clearRepeatedSint64()` Clears the values in the repeated_sint64 field.
| `clearRepeatedString()` Clears the values in the repeated_string field.
| `clearRepeatedUint32()` Clears the values in the repeated_uint32 field.
| `clearRepeatedUint64()` Clears the values in the repeated_uint64 field.
| `clearRepeatedgroup()` Clears the values in the repeatedgroup field.
| `getOptionalBool() ⇒ ?boolean` Gets the value of the optional_bool field.
| `getOptionalBoolOrDefault() ⇒ boolean` Gets the value of the optional_bool field or the default value if not set.
| `getOptionalBytes() ⇒ ?string` Gets the value of the optional_bytes field.
| `getOptionalBytesOrDefault() ⇒ string` Gets the value of the optional_bytes field or the default value if not set.
| `getOptionalDouble() ⇒ ?number` Gets the value of the optional_double field.
| `getOptionalDoubleOrDefault() ⇒ number` Gets the value of the optional_double field or the default value if not set.
| `getOptionalFixed32() ⇒ ?number` Gets the value of the optional_fixed32 field.
| `getOptionalFixed32OrDefault() ⇒ number` Gets the value of the optional_fixed32 field or the default value if not set.
| `getOptionalFixed64() ⇒ ?string` Gets the value of the optional_fixed64 field.
| `getOptionalFixed64OrDefault() ⇒ string` Gets the value of the optional_fixed64 field or the default value if not set.
| `getOptionalFloat() ⇒ ?number` Gets the value of the optional_float field.
| `getOptionalFloatOrDefault() ⇒ number` Gets the value of the optional_float field or the default value if not set.
| `getOptionalInt32() ⇒ ?number` Gets the value of the optional_int32 field.
| `getOptionalInt32OrDefault() ⇒ number` Gets the value of the optional_int32 field or the default value if not set.
| `getOptionalInt64() ⇒ ?string` Gets the value of the optional_int64 field.
| `getOptionalInt64Number() ⇒ ?number` Gets the value of the optional_int64_number field.
| `getOptionalInt64NumberOrDefault() ⇒ number` Gets the value of the optional_int64_number field or the default value if not set.
| `getOptionalInt64OrDefault() ⇒ string` Gets the value of the optional_int64 field or the default value if not set.
| `getOptionalInt64String() ⇒ ?string` Gets the value of the optional_int64_string field.
| `getOptionalInt64StringOrDefault() ⇒ string` Gets the value of the optional_int64_string field or the default value if not set.
| `getOptionalNestedEnum() ⇒ ?proto2.TestAllTypes.NestedEnum` Gets the value of the optional_nested_enum field.
| `getOptionalNestedEnumOrDefault() ⇒ ?proto2.TestAllTypes.NestedEnum` Gets the value of the optional_nested_enum field or the default value if not set.
| `getOptionalNestedMessage() ⇒ ?proto2.TestAllTypes.NestedMessage` Gets the value of the optional_nested_message field.
| `getOptionalNestedMessageOrDefault() ⇒ !proto2.TestAllTypes.NestedMessage` Gets the value of the optional_nested_message field or the default value if not set.
| `getOptionalSfixed32() ⇒ ?number` Gets the value of the optional_sfixed32 field.
| `getOptionalSfixed32OrDefault() ⇒ number` Gets the value of the optional_sfixed32 field or the default value if not set.
| `getOptionalSfixed64() ⇒ ?string` Gets the value of the optional_sfixed64 field.
| `getOptionalSfixed64OrDefault() ⇒ string` Gets the value of the optional_sfixed64 field or the default value if not set.
| `getOptionalSint32() ⇒ ?number` Gets the value of the optional_sint32 field.
| `getOptionalSint32OrDefault() ⇒ number` Gets the value of the optional_sint32 field or the default value if not set.
| `getOptionalSint64() ⇒ ?string` Gets the value of the optional_sint64 field.
| `getOptionalSint64OrDefault() ⇒ string` Gets the value of the optional_sint64 field or the default value if not set.
| `getOptionalString() ⇒ ?string` Gets the value of the optional_string field.
| `getOptionalStringOrDefault() ⇒ string` Gets the value of the optional_string field or the default value if not set.
| `getOptionalUint32() ⇒ ?number` Gets the value of the optional_uint32 field.
| `getOptionalUint32OrDefault() ⇒ number` Gets the value of the optional_uint32 field or the default value if not set.
| `getOptionalUint64() ⇒ ?string` Gets the value of the optional_uint64 field.
| `getOptionalUint64OrDefault() ⇒ string` Gets the value of the optional_uint64 field or the default value if not set.
| `getOptionalgroup() ⇒ ?proto2.TestAllTypes.OptionalGroup` Gets the value of the optionalgroup field.
| `getOptionalgroupOrDefault() ⇒ !proto2.TestAllTypes.OptionalGroup` Gets the value of the optionalgroup field or the default value if not set.
| `getRepeatedBool(number index) ⇒ ?boolean` Gets the value of the repeated_bool field at the index given.
| `getRepeatedBoolOrDefault(number index) ⇒ boolean` Gets the value of the repeated_bool field at the index given or the default value if not set.
| `getRepeatedBytes(number index) ⇒ ?string` Gets the value of the repeated_bytes field at the index given.
| `getRepeatedBytesOrDefault(number index) ⇒ string` Gets the value of the repeated_bytes field at the index given or the default value if not set.
| `getRepeatedDouble(number index) ⇒ ?number` Gets the value of the repeated_double field at the index given.
| `getRepeatedDoubleOrDefault(number index) ⇒ number` Gets the value of the repeated_double field at the index given or the default value if not set.
| `getRepeatedFixed32(number index) ⇒ ?number` Gets the value of the repeated_fixed32 field at the index given.
| `getRepeatedFixed32OrDefault(number index) ⇒ number` Gets the value of the repeated_fixed32 field at the index given or the default value if not set.
| `getRepeatedFixed64(number index) ⇒ ?string` Gets the value of the repeated_fixed64 field at the index given.
| `getRepeatedFixed64OrDefault(number index) ⇒ string` Gets the value of the repeated_fixed64 field at the index given or the default value if not set.
| `getRepeatedFloat(number index) ⇒ ?number` Gets the value of the repeated_float field at the index given.
| `getRepeatedFloatOrDefault(number index) ⇒ number` Gets the value of the repeated_float field at the index given or the default value if not set.
| `getRepeatedInt32(number index) ⇒ ?number` Gets the value of the repeated_int32 field at the index given.
| `getRepeatedInt32OrDefault(number index) ⇒ number` Gets the value of the repeated_int32 field at the index given or the default value if not set.
| `getRepeatedInt64(number index) ⇒ ?string` Gets the value of the repeated_int64 field at the index given.
| `getRepeatedInt64Number(number index) ⇒ ?number` Gets the value of the repeated_int64_number field at the index given.
| `getRepeatedInt64NumberOrDefault(number index) ⇒ number` Gets the value of the repeated_int64_number field at the index given or the default value if not set.
| `getRepeatedInt64OrDefault(number index) ⇒ string` Gets the value of the repeated_int64 field at the index given or the default value if not set.
| `getRepeatedInt64String(number index) ⇒ ?string` Gets the value of the repeated_int64_string field at the index given.
| `getRepeatedInt64StringOrDefault(number index) ⇒ string` Gets the value of the repeated_int64_string field at the index given or the default value if not set.
| `getRepeatedNestedEnum(number index) ⇒ ?proto2.TestAllTypes.NestedEnum` Gets the value of the repeated_nested_enum field at the index given.
| `getRepeatedNestedEnumOrDefault(number index) ⇒ ?proto2.TestAllTypes.NestedEnum` Gets the value of the repeated_nested_enum field at the index given or the default value if not set.
| `getRepeatedNestedMessage(number index) ⇒ ?proto2.TestAllTypes.NestedMessage` Gets the value of the repeated_nested_message field at the index given.
| `getRepeatedNestedMessageOrDefault(number index) ⇒ !proto2.TestAllTypes.NestedMessage` Gets the value of the repeated_nested_message field at the index given or the default value if not set.
| `getRepeatedSfixed32(number index) ⇒ ?number` Gets the value of the repeated_sfixed32 field at the index given.
| `getRepeatedSfixed32OrDefault(number index) ⇒ number` Gets the value of the repeated_sfixed32 field at the index given or the default value if not set.
| `getRepeatedSfixed64(number index) ⇒ ?string` Gets the value of the repeated_sfixed64 field at the index given.
| `getRepeatedSfixed64OrDefault(number index) ⇒ string` Gets the value of the repeated_sfixed64 field at the index given or the default value if not set.
| `getRepeatedSint32(number index) ⇒ ?number` Gets the value of the repeated_sint32 field at the index given.
| `getRepeatedSint32OrDefault(number index) ⇒ number` Gets the value of the repeated_sint32 field at the index given or the default value if not set.
| `getRepeatedSint64(number index) ⇒ ?string` Gets the value of the repeated_sint64 field at the index given.
| `getRepeatedSint64OrDefault(number index) ⇒ string` Gets the value of the repeated_sint64 field at the index given or the default value if not set.
| `getRepeatedString(number index) ⇒ ?string` Gets the value of the repeated_string field at the index given.
| `getRepeatedStringOrDefault(number index) ⇒ string` Gets the value of the repeated_string field at the index given or the default value if not set.
| `getRepeatedUint32(number index) ⇒ ?number` Gets the value of the repeated_uint32 field at the index given.
| `getRepeatedUint32OrDefault(number index) ⇒ number` Gets the value of the repeated_uint32 field at the index given or the default value if not set.
| `getRepeatedUint64(number index) ⇒ ?string` Gets the value of the repeated_uint64 field at the index given.
| `getRepeatedUint64OrDefault(number index) ⇒ string` Gets the value of the repeated_uint64 field at the index given or the default value if not set.
| `getRepeatedgroup(number index) ⇒ ?proto2.TestAllTypes.RepeatedGroup` Gets the value of the repeatedgroup field at the index given.
| `getRepeatedgroupOrDefault(number index) ⇒ !proto2.TestAllTypes.RepeatedGroup` Gets the value of the repeatedgroup field at the index given or the default value if not set.
| `hasOptionalBool() ⇒ boolean`
| `hasOptionalBytes() ⇒ boolean`
| `hasOptionalDouble() ⇒ boolean`
| `hasOptionalFixed32() ⇒ boolean`
| `hasOptionalFixed64() ⇒ boolean`
| `hasOptionalFloat() ⇒ boolean`
| `hasOptionalInt32() ⇒ boolean`
| `hasOptionalInt64() ⇒ boolean`
| `hasOptionalInt64Number() ⇒ boolean`
| `hasOptionalInt64String() ⇒ boolean`
| `hasOptionalNestedEnum() ⇒ boolean`
| `hasOptionalNestedMessage() ⇒ boolean`
| `hasOptionalSfixed32() ⇒ boolean`
| `hasOptionalSfixed64() ⇒ boolean`
| `hasOptionalSint32() ⇒ boolean`
| `hasOptionalSint64() ⇒ boolean`
| `hasOptionalString() ⇒ boolean`
| `hasOptionalUint32() ⇒ boolean`
| `hasOptionalUint64() ⇒ boolean`
| `hasOptionalgroup() ⇒ boolean`
| `hasRepeatedBool() ⇒ boolean`
| `hasRepeatedBytes() ⇒ boolean`
| `hasRepeatedDouble() ⇒ boolean`
| `hasRepeatedFixed32() ⇒ boolean`
| `hasRepeatedFixed64() ⇒ boolean`
| `hasRepeatedFloat() ⇒ boolean`
| `hasRepeatedInt32() ⇒ boolean`
| `hasRepeatedInt64() ⇒ boolean`
| `hasRepeatedInt64Number() ⇒ boolean`
| `hasRepeatedInt64String() ⇒ boolean`
| `hasRepeatedNestedEnum() ⇒ boolean`
| `hasRepeatedNestedMessage() ⇒ boolean`
| `hasRepeatedSfixed32() ⇒ boolean`
| `hasRepeatedSfixed64() ⇒ boolean`
| `hasRepeatedSint32() ⇒ boolean`
| `hasRepeatedSint64() ⇒ boolean`
| `hasRepeatedString() ⇒ boolean`
| `hasRepeatedUint32() ⇒ boolean`
| `hasRepeatedUint64() ⇒ boolean`
| `hasRepeatedgroup() ⇒ boolean`
| `optionalBoolCount() ⇒ number`
| `optionalBytesCount() ⇒ number`
| `optionalDoubleCount() ⇒ number`
| `optionalFixed32Count() ⇒ number`
| `optionalFixed64Count() ⇒ number`
| `optionalFloatCount() ⇒ number`
| `optionalInt32Count() ⇒ number`
| `optionalInt64Count() ⇒ number`
| `optionalInt64NumberCount() ⇒ number`
| `optionalInt64StringCount() ⇒ number`
| `optionalNestedEnumCount() ⇒ number`
| `optionalNestedMessageCount() ⇒ number`
| `optionalSfixed32Count() ⇒ number`
| `optionalSfixed64Count() ⇒ number`
| `optionalSint32Count() ⇒ number`
| `optionalSint64Count() ⇒ number`
| `optionalStringCount() ⇒ number`
| `optionalUint32Count() ⇒ number`
| `optionalUint64Count() ⇒ number`
| `optionalgroupCount() ⇒ number`
| `repeatedBoolArray() ⇒ !Array` Returns the array of values in the repeated_bool field.
| `repeatedBoolCount() ⇒ number`
| `repeatedBytesArray() ⇒ !Array` Returns the array of values in the repeated_bytes field.
| `repeatedBytesCount() ⇒ number`
| `repeatedDoubleArray() ⇒ !Array` Returns the array of values in the repeated_double field.
| `repeatedDoubleCount() ⇒ number`
| `repeatedFixed32Array() ⇒ !Array` Returns the array of values in the repeated_fixed32 field.
| `repeatedFixed32Count() ⇒ number`
| `repeatedFixed64Array() ⇒ !Array` Returns the array of values in the repeated_fixed64 field.
| `repeatedFixed64Count() ⇒ number`
| `repeatedFloatArray() ⇒ !Array` Returns the array of values in the repeated_float field.
| `repeatedFloatCount() ⇒ number`
| `repeatedInt32Array() ⇒ !Array` Returns the array of values in the repeated_int32 field.
| `repeatedInt32Count() ⇒ number`
| `repeatedInt64Array() ⇒ !Array` Returns the array of values in the repeated_int64 field.
| `repeatedInt64Count() ⇒ number`
| `repeatedInt64NumberArray() ⇒ !Array` Returns the array of values in the repeated_int64_number field.
| `repeatedInt64NumberCount() ⇒ number`
| `repeatedInt64StringArray() ⇒ !Array` Returns the array of values in the repeated_int64_string field.
| `repeatedInt64StringCount() ⇒ number`
| `repeatedNestedEnumArray() ⇒ !Array` Returns the array of values in the repeated_nested_enum field.
| `repeatedNestedEnumCount() ⇒ number`
| `repeatedNestedMessageArray() ⇒ !Array` Returns the array of values in the repeated_nested_message field.
| `repeatedNestedMessageCount() ⇒ number`
| `repeatedSfixed32Array() ⇒ !Array` Returns the array of values in the repeated_sfixed32 field.
| `repeatedSfixed32Count() ⇒ number`
| `repeatedSfixed64Array() ⇒ !Array` Returns the array of values in the repeated_sfixed64 field.
| `repeatedSfixed64Count() ⇒ number`
| `repeatedSint32Array() ⇒ !Array` Returns the array of values in the repeated_sint32 field.
| `repeatedSint32Count() ⇒ number`
| `repeatedSint64Array() ⇒ !Array` Returns the array of values in the repeated_sint64 field.
| `repeatedSint64Count() ⇒ number`
| `repeatedStringArray() ⇒ !Array` Returns the array of values in the repeated_string field.
| `repeatedStringCount() ⇒ number`
| `repeatedUint32Array() ⇒ !Array` Returns the array of values in the repeated_uint32 field.
| `repeatedUint32Count() ⇒ number`
| `repeatedUint64Array() ⇒ !Array` Returns the array of values in the repeated_uint64 field.
| `repeatedUint64Count() ⇒ number`
| `repeatedgroupArray() ⇒ !Array` Returns the array of values in the repeatedgroup field.
| `repeatedgroupCount() ⇒ number`
| `setOptionalBool(boolean value)` Sets the value of the optional_bool field.
| `setOptionalBytes(string value)` Sets the value of the optional_bytes field.
| `setOptionalDouble(number value)` Sets the value of the optional_double field.
| `setOptionalFixed32(number value)` Sets the value of the optional_fixed32 field.
| `setOptionalFixed64(string value)` Sets the value of the optional_fixed64 field.
| `setOptionalFloat(number value)` Sets the value of the optional_float field.
| `setOptionalInt32(number value)` Sets the value of the optional_int32 field.
| `setOptionalInt64(string value)` Sets the value of the optional_int64 field.
| `setOptionalInt64Number(number value)` Sets the value of the optional_int64_number field.
| `setOptionalInt64String(string value)` Sets the value of the optional_int64_string field.
| `setOptionalNestedEnum(?proto2.TestAllTypes.NestedEnum value)` Sets the value of the optional_nested_enum field.
| `setOptionalNestedMessage(!proto2.TestAllTypes.NestedMessage value)` Sets the value of the optional_nested_message field.
| `setOptionalSfixed32(number value)` Sets the value of the optional_sfixed32 field.
| `setOptionalSfixed64(string value)` Sets the value of the optional_sfixed64 field.
| `setOptionalSint32(number value)` Sets the value of the optional_sint32 field.
| `setOptionalSint64(string value)` Sets the value of the optional_sint64 field.
| `setOptionalString(string value)` Sets the value of the optional_string field.
| `setOptionalUint32(number value)` Sets the value of the optional_uint32 field.
| `setOptionalUint64(string value)` Sets the value of the optional_uint64 field.
| `setOptionalgroup(!proto2.TestAllTypes.OptionalGroup value)` Sets the value of the optionalgroup field.