* Convert struct to string * @this {!StructOptional} * @returns {!string} Struct value string
()
| 5912 | * @returns {!string} Struct value string |
| 5913 | */ |
| 5914 | toString () { |
| 5915 | let result = '' |
| 5916 | result += 'StructOptional(' |
| 5917 | result += super.toString() |
| 5918 | result += ',f100=' |
| 5919 | if (this.f100 != null) { |
| 5920 | result += this.f100 ? 'true' : 'false' |
| 5921 | } else { |
| 5922 | result += 'null' |
| 5923 | } |
| 5924 | result += ',f101=' |
| 5925 | if (this.f101 != null) { |
| 5926 | result += this.f101 ? 'true' : 'false' |
| 5927 | } else { |
| 5928 | result += 'null' |
| 5929 | } |
| 5930 | result += ',f102=' |
| 5931 | if (this.f102 != null) { |
| 5932 | result += this.f102 ? 'true' : 'false' |
| 5933 | } else { |
| 5934 | result += 'null' |
| 5935 | } |
| 5936 | result += ',f103=' |
| 5937 | if (this.f103 != null) { |
| 5938 | result += this.f103.toString() |
| 5939 | } else { |
| 5940 | result += 'null' |
| 5941 | } |
| 5942 | result += ',f104=' |
| 5943 | if (this.f104 != null) { |
| 5944 | result += this.f104.toString() |
| 5945 | } else { |
| 5946 | result += 'null' |
| 5947 | } |
| 5948 | result += ',f105=' |
| 5949 | if (this.f105 != null) { |
| 5950 | result += this.f105.toString() |
| 5951 | } else { |
| 5952 | result += 'null' |
| 5953 | } |
| 5954 | result += ',f106=' |
| 5955 | if (this.f106 != null) { |
| 5956 | result += "'" + this.f106.toString() + "'" |
| 5957 | } else { |
| 5958 | result += 'null' |
| 5959 | } |
| 5960 | result += ',f107=' |
| 5961 | if (this.f107 != null) { |
| 5962 | result += "'" + this.f107.toString() + "'" |
| 5963 | } else { |
| 5964 | result += 'null' |
| 5965 | } |
| 5966 | result += ',f108=' |
| 5967 | if (this.f108 != null) { |
| 5968 | result += "'" + this.f108.toString() + "'" |
| 5969 | } else { |
| 5970 | result += 'null' |
| 5971 | } |
no test coverage detected