Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. GPBUtil.php

40 calls to GPBUtil::checkBool()

AnyValue::setBoolValue in vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Common/V1/AnyValue.php
Generated from protobuf field <code>bool bool_value = 2;</code>
BoolValue::setValue in vendor/google/protobuf/src/Google/Protobuf/BoolValue.php
The bool value.
EnumOptions::setAllowAlias in vendor/google/protobuf/src/Google/Protobuf/Internal/EnumOptions.php
Set this option to true to allow mapping different tag names to the same value.
EnumOptions::setDeprecated in vendor/google/protobuf/src/Google/Protobuf/Internal/EnumOptions.php
Is this enum deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum, or it will be completely ignored; in the very least, this is a formalization for deprecating enums.
EnumOptions::setDeprecatedLegacyJsonFieldConflicts in vendor/google/protobuf/src/Google/Protobuf/Internal/EnumOptions.php
Enable the legacy handling of JSON field name conflicts. This lowercases and strips underscored from the fields before comparison in proto3 only. The new behavior takes `json_name` into account and applies to proto2 as well. TODO Remove this legacy…
EnumValueOptions::setDeprecated in vendor/google/protobuf/src/Google/Protobuf/Internal/EnumValueOptions.php
Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.
Field::setPacked in vendor/google/protobuf/src/Google/Protobuf/Field.php
Whether to use alternative packed wire representation.
FieldDescriptorProto::setProto3Optional in vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto.php
If true, this is a proto3 "optional". When a proto3 field is optional, it tracks presence regardless of field type. When proto3_optional is true, this field must be belong to a oneof to signal to old proto3 clients that presence is tracked…
FieldOptions::setDeprecated in vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions.php
Is this field deprecated? Depending on the target platform, this can emit Deprecated annotations for accessors, or it will be completely ignored; in the very least, this is a formalization for deprecating fields.
FieldOptions::setLazy in vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions.php
Should this field be parsed lazily? Lazy applies only to message-type fields. It means that when the outer message is initially parsed, the inner message's contents will not be parsed but instead stored in encoded form. The inner message will…
FieldOptions::setPacked in vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions.php
The packed option can be enabled for repeated primitive fields to enable a more efficient representation on the wire. Rather than repeatedly writing the tag and type for each element, the entire array is encoded as a single length-delimited blob. In…
FieldOptions::setUnverifiedLazy in vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions.php
unverified_lazy does no correctness checks on the byte stream. This should only be used where lazy with verification is prohibitive for performance reasons.
FieldOptions::setWeak in vendor/google/protobuf/src/Google/Protobuf/Internal/FieldOptions.php
For Google-internal migration only. Do not use.
FileOptions::setCcEnableArenas in vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php
Enables the use of arenas for the proto messages in this file. This applies only to generated classes for C++.
FileOptions::setCcGenericServices in vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php
Should generic services be generated in each language? "Generic" services are not specific to any particular RPC system. They are generated by the main code generators in each language (without additional plugins). Generic services were…
FileOptions::setDeprecated in vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php
Is this file deprecated? Depending on the target platform, this can emit Deprecated annotations for everything in the file, or it will be completely ignored; in the very least, this is a formalization for deprecating files.
FileOptions::setJavaGenerateEqualsAndHash in vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php
This option does nothing.
FileOptions::setJavaGenericServices in vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php
Generated from protobuf field <code>optional bool java_generic_services = 17 [default = false];</code>
FileOptions::setJavaMultipleFiles in vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php
If enabled, then the Java code generator will generate a separate .java file for each top-level message, enum, and service defined in the .proto file. Thus, these types will *not* be nested inside the wrapper class named by java_outer_classname. …
FileOptions::setJavaStringCheckUtf8 in vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php
If set true, then the Java2 code generator will generate code that throws an exception whenever an attempt is made to assign a non-UTF-8 byte sequence to a string field. Message reflection will do the same. However, an extension field still accepts…
FileOptions::setPhpGenericServices in vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php
Generated from protobuf field <code>optional bool php_generic_services = 42 [default = false];</code>
FileOptions::setPyGenericServices in vendor/google/protobuf/src/Google/Protobuf/Internal/FileOptions.php
Generated from protobuf field <code>optional bool py_generic_services = 18 [default = false];</code>
IntSum::setIsMonotonic in vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/IntSum.php
If "true" means that the sum is monotonic.
MapField::checkKey in vendor/google/protobuf/src/Google/Protobuf/Internal/MapField.php
@ignore
MapField::offsetSet in vendor/google/protobuf/src/Google/Protobuf/Internal/MapField.php
Assign the element at the given key.
MessageOptions::setDeprecated in vendor/google/protobuf/src/Google/Protobuf/Internal/MessageOptions.php
Is this message deprecated? Depending on the target platform, this can emit Deprecated annotations for the message, or it will be completely ignored; in the very least, this is a formalization for deprecating messages.
MessageOptions::setDeprecatedLegacyJsonFieldConflicts in vendor/google/protobuf/src/Google/Protobuf/Internal/MessageOptions.php
Enable the legacy handling of JSON field name conflicts. This lowercases and strips underscored from the fields before comparison in proto3 only. The new behavior takes `json_name` into account and applies to proto2 as well. This should only be used…
MessageOptions::setMapEntry in vendor/google/protobuf/src/Google/Protobuf/Internal/MessageOptions.php
NOTE: Do not set the option in .proto files. Always use the maps syntax instead. The option should only be implicitly set by the proto compiler parser. Whether the message is an automatically generated map entry type for the maps field. For maps…
MessageOptions::setMessageSetWireFormat in vendor/google/protobuf/src/Google/Protobuf/Internal/MessageOptions.php
Set true to use the old proto1 MessageSet wire format for extensions. This is provided for backwards-compatibility with the MessageSet wire format. You should not use this for any other reason: It's less efficient, has fewer features, and is…
MessageOptions::setNoStandardDescriptorAccessor in vendor/google/protobuf/src/Google/Protobuf/Internal/MessageOptions.php
Disables the generation of the standard "descriptor()" accessor, which can conflict with a field of the same name. This is meant to make migration from proto1 easier; new code should avoid fields named "descriptor".
Method::setRequestStreaming in vendor/google/protobuf/src/Google/Protobuf/Method.php
If true, the request is streamed.
Method::setResponseStreaming in vendor/google/protobuf/src/Google/Protobuf/Method.php
If true, the response is streamed.
MethodDescriptorProto::setClientStreaming in vendor/google/protobuf/src/Google/Protobuf/Internal/MethodDescriptorProto.php
Identifies if client streams multiple client messages
MethodDescriptorProto::setServerStreaming in vendor/google/protobuf/src/Google/Protobuf/Internal/MethodDescriptorProto.php
Identifies if server streams multiple server messages
MethodOptions::setDeprecated in vendor/google/protobuf/src/Google/Protobuf/Internal/MethodOptions.php
Is this method deprecated? Depending on the target platform, this can emit Deprecated annotations for the method, or it will be completely ignored; in the very least, this is a formalization for deprecating methods.
NamePart::setIsExtension in vendor/google/protobuf/src/Google/Protobuf/Internal/UninterpretedOption/NamePart.php
Generated from protobuf field <code>required bool is_extension = 2;</code>
RepeatedField::offsetSet in vendor/google/protobuf/src/Google/Protobuf/Internal/RepeatedField.php
Assign the element at the given index.
ServiceOptions::setDeprecated in vendor/google/protobuf/src/Google/Protobuf/Internal/ServiceOptions.php
Is this service deprecated? Depending on the target platform, this can emit Deprecated annotations for the service, or it will be completely ignored; in the very least, this is a formalization for deprecating services.
Sum::setIsMonotonic in vendor/open-telemetry/gen-otlp-protobuf/Opentelemetry/Proto/Metrics/V1/Sum.php
If "true" means that the sum is monotonic.
Value::setBoolValue in vendor/google/protobuf/src/Google/Protobuf/Value.php
Represents a boolean value.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal