int function ( ) { if ( delayedBytes != null ) { return delayedBytes . size ( ) ; } else if ( memoizedBytes != null ) { return memoizedBytes . size ( ) ; } else if ( value != null ) { return value . getSerializedSize ( ) ; } else { return 0 ; } }
due to the optional field can be duplicated at the end of serialized bytes , which will make the serialized size changed after lazyfield parsed . be careful when using this method . concode_field_sep ByteString delayedBytes concode_elem_sep ExtensionRegistryLite extensionRegistry concode_elem_sep ExtensionRegistryLite EMPTY_REGISTRY concode_elem_sep ByteString memoizedBytes concode_elem_sep MessageLite value concode_field_sep LazyFieldLite fromValue concode_elem_sep void ensureInitialized concode_elem_sep MessageLite getValue concode_elem_sep void set concode_elem_sep boolean containsDefaultInstance concode_elem_sep MessageLite mergeValueAndBytes concode_elem_sep MessageLite setValue concode_elem_sep void merge concode_elem_sep void clear concode_elem_sep void setByteString concode_elem_sep void checkArguments concode_elem_sep ByteString toByteString