ni.measurementlink.pin_map_context_pb2
Attributes
Classes
Abstract base class for protocol messages. |
Package Contents
- ni.measurementlink.pin_map_context_pb2.DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
- class ni.measurementlink.pin_map_context_pb2.PinMapContext(*, pin_map_id=..., sites=...)
Bases:
google.protobuf.message.MessageAbstract base class for protocol messages.
Protocol message classes are almost always generated by the protocol compiler. These generated types subclass Message and implement the methods shown below.
- Parameters:
pin_map_id (str)
sites (collections.abc.Iterable[int] | None)
- DESCRIPTOR: google.protobuf.descriptor.Descriptor
- pin_map_id: str
Required. The resource id of the pin map in the Pin Map service that should be used for the call.
- property sites: google.protobuf.internal.containers.RepeatedScalarFieldContainer[int]
Optional. List of site numbers being used for the call. If unspecified, use all sites in the pin map.
- ClearField(field_name)
Clears the contents of a given field.
Inside a oneof group, clears the field set. If the name neither refers to a defined field or oneof group,
ValueErroris raised.- Parameters:
field_name (str) – The name of the field to check for presence.
- Raises:
ValueError – if the field_name is not a member of this message.
- Return type:
None
- ni.measurementlink.pin_map_context_pb2.global___PinMapContext