@@ -1941,53 +1941,53 @@ optional_ref<const BytesValue> Value::AsBytes() const& {
19411941 alternative != nullptr ) {
19421942 return *alternative;
19431943 }
1944- return absl ::nullopt ;
1944+ return std ::nullopt ;
19451945}
19461946
19471947absl::optional<BytesValue> Value::AsBytes () && {
19481948 if (auto * alternative = variant_.As <BytesValue>(); alternative != nullptr ) {
19491949 return std::move (*alternative);
19501950 }
1951- return absl ::nullopt ;
1951+ return std ::nullopt ;
19521952}
19531953
19541954absl::optional<DoubleValue> Value::AsDouble () const {
19551955 if (const auto * alternative = variant_.As <DoubleValue>();
19561956 alternative != nullptr ) {
19571957 return *alternative;
19581958 }
1959- return absl ::nullopt ;
1959+ return std ::nullopt ;
19601960}
19611961
19621962absl::optional<DurationValue> Value::AsDuration () const {
19631963 if (const auto * alternative = variant_.As <DurationValue>();
19641964 alternative != nullptr ) {
19651965 return *alternative;
19661966 }
1967- return absl ::nullopt ;
1967+ return std ::nullopt ;
19681968}
19691969
19701970optional_ref<const ErrorValue> Value::AsError () const & {
19711971 if (const auto * alternative = variant_.As <ErrorValue>();
19721972 alternative != nullptr ) {
19731973 return *alternative;
19741974 }
1975- return absl ::nullopt ;
1975+ return std ::nullopt ;
19761976}
19771977
19781978absl::optional<ErrorValue> Value::AsError () && {
19791979 if (auto * alternative = variant_.As <ErrorValue>(); alternative != nullptr ) {
19801980 return std::move (*alternative);
19811981 }
1982- return absl ::nullopt ;
1982+ return std ::nullopt ;
19831983}
19841984
19851985absl::optional<IntValue> Value::AsInt () const {
19861986 if (const auto * alternative = variant_.As <IntValue>();
19871987 alternative != nullptr ) {
19881988 return *alternative;
19891989 }
1990- return absl ::nullopt ;
1990+ return std ::nullopt ;
19911991}
19921992
19931993absl::optional<ListValue> Value::AsList () const & {
@@ -2007,7 +2007,7 @@ absl::optional<ListValue> Value::AsList() const& {
20072007 alternative != nullptr ) {
20082008 return *alternative;
20092009 }
2010- return absl ::nullopt ;
2010+ return std ::nullopt ;
20112011}
20122012
20132013absl::optional<ListValue> Value::AsList () && {
@@ -2027,7 +2027,7 @@ absl::optional<ListValue> Value::AsList() && {
20272027 alternative != nullptr ) {
20282028 return std::move (*alternative);
20292029 }
2030- return absl ::nullopt ;
2030+ return std ::nullopt ;
20312031}
20322032
20332033absl::optional<MapValue> Value::AsMap () const & {
@@ -2047,7 +2047,7 @@ absl::optional<MapValue> Value::AsMap() const& {
20472047 alternative != nullptr ) {
20482048 return *alternative;
20492049 }
2050- return absl ::nullopt ;
2050+ return std ::nullopt ;
20512051}
20522052
20532053absl::optional<MapValue> Value::AsMap () && {
@@ -2067,158 +2067,158 @@ absl::optional<MapValue> Value::AsMap() && {
20672067 alternative != nullptr ) {
20682068 return std::move (*alternative);
20692069 }
2070- return absl ::nullopt ;
2070+ return std ::nullopt ;
20712071}
20722072
20732073absl::optional<MessageValue> Value::AsMessage () const & {
20742074 if (const auto * alternative = variant_.As <ParsedMessageValue>();
20752075 alternative != nullptr ) {
20762076 return *alternative;
20772077 }
2078- return absl ::nullopt ;
2078+ return std ::nullopt ;
20792079}
20802080
20812081absl::optional<MessageValue> Value::AsMessage () && {
20822082 if (auto * alternative = variant_.As <ParsedMessageValue>();
20832083 alternative != nullptr ) {
20842084 return std::move (*alternative);
20852085 }
2086- return absl ::nullopt ;
2086+ return std ::nullopt ;
20872087}
20882088
20892089absl::optional<NullValue> Value::AsNull () const {
20902090 if (const auto * alternative = variant_.As <NullValue>();
20912091 alternative != nullptr ) {
20922092 return *alternative;
20932093 }
2094- return absl ::nullopt ;
2094+ return std ::nullopt ;
20952095}
20962096
20972097optional_ref<const OpaqueValue> Value::AsOpaque () const & {
20982098 if (const auto * alternative = variant_.As <OpaqueValue>();
20992099 alternative != nullptr ) {
21002100 return *alternative;
21012101 }
2102- return absl ::nullopt ;
2102+ return std ::nullopt ;
21032103}
21042104
21052105absl::optional<OpaqueValue> Value::AsOpaque () && {
21062106 if (auto * alternative = variant_.As <OpaqueValue>(); alternative != nullptr ) {
21072107 return std::move (*alternative);
21082108 }
2109- return absl ::nullopt ;
2109+ return std ::nullopt ;
21102110}
21112111
21122112optional_ref<const OptionalValue> Value::AsOptional () const & {
21132113 if (const auto * alternative = variant_.As <OpaqueValue>();
21142114 alternative != nullptr && alternative->IsOptional ()) {
21152115 return static_cast <const OptionalValue&>(*alternative);
21162116 }
2117- return absl ::nullopt ;
2117+ return std ::nullopt ;
21182118}
21192119
21202120absl::optional<OptionalValue> Value::AsOptional () && {
21212121 if (auto * alternative = variant_.As <OpaqueValue>();
21222122 alternative != nullptr && alternative->IsOptional ()) {
21232123 return static_cast <OptionalValue&&>(*alternative);
21242124 }
2125- return absl ::nullopt ;
2125+ return std ::nullopt ;
21262126}
21272127
21282128optional_ref<const ParsedJsonListValue> Value::AsParsedJsonList () const & {
21292129 if (const auto * alternative = variant_.As <ParsedJsonListValue>();
21302130 alternative != nullptr ) {
21312131 return *alternative;
21322132 }
2133- return absl ::nullopt ;
2133+ return std ::nullopt ;
21342134}
21352135
21362136absl::optional<ParsedJsonListValue> Value::AsParsedJsonList () && {
21372137 if (auto * alternative = variant_.As <ParsedJsonListValue>();
21382138 alternative != nullptr ) {
21392139 return std::move (*alternative);
21402140 }
2141- return absl ::nullopt ;
2141+ return std ::nullopt ;
21422142}
21432143
21442144optional_ref<const ParsedJsonMapValue> Value::AsParsedJsonMap () const & {
21452145 if (const auto * alternative = variant_.As <ParsedJsonMapValue>();
21462146 alternative != nullptr ) {
21472147 return *alternative;
21482148 }
2149- return absl ::nullopt ;
2149+ return std ::nullopt ;
21502150}
21512151
21522152absl::optional<ParsedJsonMapValue> Value::AsParsedJsonMap () && {
21532153 if (auto * alternative = variant_.As <ParsedJsonMapValue>();
21542154 alternative != nullptr ) {
21552155 return std::move (*alternative);
21562156 }
2157- return absl ::nullopt ;
2157+ return std ::nullopt ;
21582158}
21592159
21602160optional_ref<const CustomListValue> Value::AsCustomList () const & {
21612161 if (const auto * alternative = variant_.As <CustomListValue>();
21622162 alternative != nullptr ) {
21632163 return *alternative;
21642164 }
2165- return absl ::nullopt ;
2165+ return std ::nullopt ;
21662166}
21672167
21682168absl::optional<CustomListValue> Value::AsCustomList () && {
21692169 if (auto * alternative = variant_.As <CustomListValue>();
21702170 alternative != nullptr ) {
21712171 return std::move (*alternative);
21722172 }
2173- return absl ::nullopt ;
2173+ return std ::nullopt ;
21742174}
21752175
21762176optional_ref<const CustomMapValue> Value::AsCustomMap () const & {
21772177 if (const auto * alternative = variant_.As <CustomMapValue>();
21782178 alternative != nullptr ) {
21792179 return *alternative;
21802180 }
2181- return absl ::nullopt ;
2181+ return std ::nullopt ;
21822182}
21832183
21842184absl::optional<CustomMapValue> Value::AsCustomMap () && {
21852185 if (auto * alternative = variant_.As <CustomMapValue>();
21862186 alternative != nullptr ) {
21872187 return std::move (*alternative);
21882188 }
2189- return absl ::nullopt ;
2189+ return std ::nullopt ;
21902190}
21912191
21922192optional_ref<const ParsedMapFieldValue> Value::AsParsedMapField () const & {
21932193 if (const auto * alternative = variant_.As <ParsedMapFieldValue>();
21942194 alternative != nullptr ) {
21952195 return *alternative;
21962196 }
2197- return absl ::nullopt ;
2197+ return std ::nullopt ;
21982198}
21992199
22002200absl::optional<ParsedMapFieldValue> Value::AsParsedMapField () && {
22012201 if (auto * alternative = variant_.As <ParsedMapFieldValue>();
22022202 alternative != nullptr ) {
22032203 return std::move (*alternative);
22042204 }
2205- return absl ::nullopt ;
2205+ return std ::nullopt ;
22062206}
22072207
22082208optional_ref<const ParsedMessageValue> Value::AsParsedMessage () const & {
22092209 if (const auto * alternative = variant_.As <ParsedMessageValue>();
22102210 alternative != nullptr ) {
22112211 return *alternative;
22122212 }
2213- return absl ::nullopt ;
2213+ return std ::nullopt ;
22142214}
22152215
22162216absl::optional<ParsedMessageValue> Value::AsParsedMessage () && {
22172217 if (auto * alternative = variant_.As <ParsedMessageValue>();
22182218 alternative != nullptr ) {
22192219 return std::move (*alternative);
22202220 }
2221- return absl ::nullopt ;
2221+ return std ::nullopt ;
22222222}
22232223
22242224optional_ref<const ParsedRepeatedFieldValue> Value::AsParsedRepeatedField ()
@@ -2227,46 +2227,46 @@ optional_ref<const ParsedRepeatedFieldValue> Value::AsParsedRepeatedField()
22272227 alternative != nullptr ) {
22282228 return *alternative;
22292229 }
2230- return absl ::nullopt ;
2230+ return std ::nullopt ;
22312231}
22322232
22332233absl::optional<ParsedRepeatedFieldValue> Value::AsParsedRepeatedField () && {
22342234 if (auto * alternative = variant_.As <ParsedRepeatedFieldValue>();
22352235 alternative != nullptr ) {
22362236 return std::move (*alternative);
22372237 }
2238- return absl ::nullopt ;
2238+ return std ::nullopt ;
22392239}
22402240
22412241optional_ref<const CustomStructValue> Value::AsCustomStruct () const & {
22422242 if (const auto * alternative = variant_.As <CustomStructValue>();
22432243 alternative != nullptr ) {
22442244 return *alternative;
22452245 }
2246- return absl ::nullopt ;
2246+ return std ::nullopt ;
22472247}
22482248
22492249absl::optional<CustomStructValue> Value::AsCustomStruct () && {
22502250 if (auto * alternative = variant_.As <CustomStructValue>();
22512251 alternative != nullptr ) {
22522252 return std::move (*alternative);
22532253 }
2254- return absl ::nullopt ;
2254+ return std ::nullopt ;
22552255}
22562256
22572257optional_ref<const StringValue> Value::AsString () const & {
22582258 if (const auto * alternative = variant_.As <StringValue>();
22592259 alternative != nullptr ) {
22602260 return *alternative;
22612261 }
2262- return absl ::nullopt ;
2262+ return std ::nullopt ;
22632263}
22642264
22652265absl::optional<StringValue> Value::AsString () && {
22662266 if (auto * alternative = variant_.As <StringValue>(); alternative != nullptr ) {
22672267 return std::move (*alternative);
22682268 }
2269- return absl ::nullopt ;
2269+ return std ::nullopt ;
22702270}
22712271
22722272absl::optional<StructValue> Value::AsStruct () const & {
@@ -2283,7 +2283,7 @@ absl::optional<StructValue> Value::AsStruct() const& {
22832283 alternative != nullptr ) {
22842284 return *alternative;
22852285 }
2286- return absl ::nullopt ;
2286+ return std ::nullopt ;
22872287}
22882288
22892289absl::optional<StructValue> Value::AsStruct () && {
@@ -2299,53 +2299,53 @@ absl::optional<StructValue> Value::AsStruct() && {
22992299 alternative != nullptr ) {
23002300 return std::move (*alternative);
23012301 }
2302- return absl ::nullopt ;
2302+ return std ::nullopt ;
23032303}
23042304
23052305absl::optional<TimestampValue> Value::AsTimestamp () const {
23062306 if (const auto * alternative = variant_.As <TimestampValue>();
23072307 alternative != nullptr ) {
23082308 return *alternative;
23092309 }
2310- return absl ::nullopt ;
2310+ return std ::nullopt ;
23112311}
23122312
23132313optional_ref<const TypeValue> Value::AsType () const & {
23142314 if (const auto * alternative = variant_.As <TypeValue>();
23152315 alternative != nullptr ) {
23162316 return *alternative;
23172317 }
2318- return absl ::nullopt ;
2318+ return std ::nullopt ;
23192319}
23202320
23212321absl::optional<TypeValue> Value::AsType () && {
23222322 if (auto * alternative = variant_.As <TypeValue>(); alternative != nullptr ) {
23232323 return std::move (*alternative);
23242324 }
2325- return absl ::nullopt ;
2325+ return std ::nullopt ;
23262326}
23272327
23282328absl::optional<UintValue> Value::AsUint () const {
23292329 if (const auto * alternative = variant_.As <UintValue>();
23302330 alternative != nullptr ) {
23312331 return *alternative;
23322332 }
2333- return absl ::nullopt ;
2333+ return std ::nullopt ;
23342334}
23352335
23362336optional_ref<const UnknownValue> Value::AsUnknown () const & {
23372337 if (const auto * alternative = variant_.As <UnknownValue>();
23382338 alternative != nullptr ) {
23392339 return *alternative;
23402340 }
2341- return absl ::nullopt ;
2341+ return std ::nullopt ;
23422342}
23432343
23442344absl::optional<UnknownValue> Value::AsUnknown () && {
23452345 if (auto * alternative = variant_.As <UnknownValue>(); alternative != nullptr ) {
23462346 return std::move (*alternative);
23472347 }
2348- return absl ::nullopt ;
2348+ return std ::nullopt ;
23492349}
23502350
23512351const BytesValue& Value::GetBytes () const & {
0 commit comments