ni.measurementlink.pin_map_context_pb2

Attributes

DESCRIPTOR

global___PinMapContext

Classes

PinMapContext

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.Message

Abstract 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:
DESCRIPTOR: google.protobuf.descriptor.Descriptor
PIN_MAP_ID_FIELD_NUMBER: int
SITES_FIELD_NUMBER: int
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.

Return type:

google.protobuf.internal.containers.RepeatedScalarFieldContainer[int]

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, ValueError is 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