ni.measurements.metadata.v1.metadata_store_service_pb2

Attributes

DESCRIPTOR

global___GetUutInstanceRequest

global___GetUutInstanceResponse

global___QueryUutInstancesRequest

global___QueryUutInstancesResponse

global___CreateUutInstanceRequest

global___CreateUutInstanceResponse

global___GetUutRequest

global___GetUutResponse

global___QueryUutsRequest

global___QueryUutsResponse

global___CreateUutRequest

global___CreateUutResponse

global___GetOperatorRequest

global___GetOperatorResponse

global___QueryOperatorsRequest

global___QueryOperatorsResponse

global___CreateOperatorRequest

global___CreateOperatorResponse

global___GetTestDescriptionRequest

global___GetTestDescriptionResponse

global___QueryTestDescriptionsRequest

global___QueryTestDescriptionsResponse

global___CreateTestDescriptionRequest

global___CreateTestDescriptionResponse

global___GetTestRequest

global___GetTestResponse

global___QueryTestsRequest

global___QueryTestsResponse

global___CreateTestRequest

global___CreateTestResponse

global___GetTestStationRequest

global___GetTestStationResponse

global___QueryTestStationsRequest

global___QueryTestStationsResponse

global___CreateTestStationRequest

global___CreateTestStationResponse

global___GetHardwareItemRequest

global___GetHardwareItemResponse

global___QueryHardwareItemsRequest

global___QueryHardwareItemsResponse

global___CreateHardwareItemRequest

global___CreateHardwareItemResponse

global___GetSoftwareItemRequest

global___GetSoftwareItemResponse

global___QuerySoftwareItemsRequest

global___QuerySoftwareItemsResponse

global___CreateSoftwareItemRequest

global___CreateSoftwareItemResponse

global___GetTestAdapterRequest

global___GetTestAdapterResponse

global___QueryTestAdaptersRequest

global___QueryTestAdaptersResponse

global___CreateTestAdapterRequest

global___CreateTestAdapterResponse

global___RegisterSchemaRequest

global___RegisterSchemaResponse

global___ListSchemasRequest

global___ListSchemasResponse

global___GetAliasRequest

global___GetAliasResponse

global___QueryAliasesRequest

global___QueryAliasesResponse

global___CreateAliasRequest

global___CreateAliasResponse

global___DeleteAliasRequest

global___DeleteAliasResponse

global___CreateFromJsonDocumentRequest

global___CreateFromJsonDocumentResponse

Classes

GetUutInstanceRequest

Message sent to get the UUT instance associated with the given identifier.

GetUutInstanceResponse

Message returned when getting a UUT instance associated with the given identifier.

QueryUutInstancesRequest

Abstract base class for protocol messages.

QueryUutInstancesResponse

Abstract base class for protocol messages.

CreateUutInstanceRequest

Message sent to create a new UUT instance in the metadata store.

CreateUutInstanceResponse

Message returned when creating a new UUT instance in the metadata store.

GetUutRequest

Message sent to get the UUT associated with the given identifier.

GetUutResponse

Message returned when getting a UUT associated with the given identifier.

QueryUutsRequest

Abstract base class for protocol messages.

QueryUutsResponse

Abstract base class for protocol messages.

CreateUutRequest

Message sent to create a new UUT in the metadata store.

CreateUutResponse

Message returned when creating a new UUT in the metadata store.

GetOperatorRequest

Message sent to get the operator associated with the given identifier.

GetOperatorResponse

Message returned when getting an operator associated with the given identifier.

QueryOperatorsRequest

Abstract base class for protocol messages.

QueryOperatorsResponse

Abstract base class for protocol messages.

CreateOperatorRequest

Message sent to create a new operator in the metadata store.

CreateOperatorResponse

Message returned when creating a new operator in the metadata store.

GetTestDescriptionRequest

Message sent to get the test description associated with the given identifier.

GetTestDescriptionResponse

Message returned when getting a test description associated with the given identifier.

QueryTestDescriptionsRequest

Abstract base class for protocol messages.

QueryTestDescriptionsResponse

Abstract base class for protocol messages.

CreateTestDescriptionRequest

Message sent to create a new test description in the metadata store.

CreateTestDescriptionResponse

Message returned when creating a new test description in the metadata store.

GetTestRequest

Message sent to get the test associated with the given identifier.

GetTestResponse

Message returned when getting a test associated with the given identifier.

QueryTestsRequest

Abstract base class for protocol messages.

QueryTestsResponse

Abstract base class for protocol messages.

CreateTestRequest

Message sent to create a new test in the metadata store.

CreateTestResponse

Message returned when creating a new test in the metadata store.

GetTestStationRequest

Message sent to get the test station associated with the given identifier.

GetTestStationResponse

Message returned when getting a test station associated with the given identifier.

QueryTestStationsRequest

Abstract base class for protocol messages.

QueryTestStationsResponse

Abstract base class for protocol messages.

CreateTestStationRequest

Message sent to create a new test station in the metadata store.

CreateTestStationResponse

Message returned when creating a new test station in the metadata store.

GetHardwareItemRequest

Message sent to get the hardware item associated with the given identifier.

GetHardwareItemResponse

Message returned when getting the hardware item associated with the given identifier.

QueryHardwareItemsRequest

Abstract base class for protocol messages.

QueryHardwareItemsResponse

Abstract base class for protocol messages.

CreateHardwareItemRequest

Message sent to create new hardware item in the metadata store.

CreateHardwareItemResponse

Message returned when creating new hardware item in the metadata store.

GetSoftwareItemRequest

Message sent to get the software item associated with the given identifier.

GetSoftwareItemResponse

Message returned when getting the software item associated with the given identifier.

QuerySoftwareItemsRequest

Abstract base class for protocol messages.

QuerySoftwareItemsResponse

Abstract base class for protocol messages.

CreateSoftwareItemRequest

Message sent to create new software item in the metadata store.

CreateSoftwareItemResponse

Message returned when creating new software item in the metadata store.

GetTestAdapterRequest

Message sent to get the test adapter associated with the given identifier.

GetTestAdapterResponse

Message returned when getting the test adapter associated with the given identifier.

QueryTestAdaptersRequest

Abstract base class for protocol messages.

QueryTestAdaptersResponse

Abstract base class for protocol messages.

CreateTestAdapterRequest

Message sent to create new test adapter in the metadata store.

CreateTestAdapterResponse

Message returned when creating new test adapter in the metadata store.

RegisterSchemaRequest

Abstract base class for protocol messages.

RegisterSchemaResponse

Abstract base class for protocol messages.

ListSchemasRequest

Abstract base class for protocol messages.

ListSchemasResponse

Abstract base class for protocol messages.

GetAliasRequest

Abstract base class for protocol messages.

GetAliasResponse

Abstract base class for protocol messages.

QueryAliasesRequest

Abstract base class for protocol messages.

QueryAliasesResponse

Abstract base class for protocol messages.

CreateAliasRequest

Abstract base class for protocol messages.

CreateAliasResponse

Abstract base class for protocol messages.

DeleteAliasRequest

Abstract base class for protocol messages.

DeleteAliasResponse

Abstract base class for protocol messages.

CreateFromJsonDocumentRequest

Abstract base class for protocol messages.

CreateFromJsonDocumentResponse

Abstract base class for protocol messages.

Package Contents

ni.measurements.metadata.v1.metadata_store_service_pb2.DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
class ni.measurements.metadata.v1.metadata_store_service_pb2.GetUutInstanceRequest(*, uut_instance_id=...)

Bases: google.protobuf.message.Message

Message sent to get the UUT instance associated with the given identifier.

Parameters:

uut_instance_id (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
UUT_INSTANCE_ID_FIELD_NUMBER: int
uut_instance_id: str

Required. The identifier of the desired UUT instance.

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.measurements.metadata.v1.metadata_store_service_pb2.global___GetUutInstanceRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.GetUutInstanceResponse(*, uut_instance=...)

Bases: google.protobuf.message.Message

Message returned when getting a UUT instance associated with the given identifier.

Parameters:

uut_instance (ni.measurements.metadata.v1.metadata_store_pb2.UutInstance | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
UUT_INSTANCE_FIELD_NUMBER: int
property uut_instance: ni.measurements.metadata.v1.metadata_store_pb2.UutInstance

The metadata of the requested UUT instance.

Return type:

ni.measurements.metadata.v1.metadata_store_pb2.UutInstance

HasField(field_name)

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

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.measurements.metadata.v1.metadata_store_service_pb2.global___GetUutInstanceResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.QueryUutInstancesRequest(*, odata_query=...)

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:

odata_query (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
ODATA_QUERY_FIELD_NUMBER: int
odata_query: str

an OData query string. example “$filter=name eq ‘Value’” $expand is not supported

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.measurements.metadata.v1.metadata_store_service_pb2.global___QueryUutInstancesRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.QueryUutInstancesResponse(*, uut_instances=...)

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:

uut_instances (collections.abc.Iterable[ni.measurements.metadata.v1.metadata_store_pb2.UutInstance] | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
UUT_INSTANCES_FIELD_NUMBER: int
property uut_instances: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.UutInstance]
Return type:

google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.UutInstance]

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.measurements.metadata.v1.metadata_store_service_pb2.global___QueryUutInstancesResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateUutInstanceRequest(*, uut_instance=...)

Bases: google.protobuf.message.Message

Message sent to create a new UUT instance in the metadata store.

Parameters:

uut_instance (ni.measurements.metadata.v1.metadata_store_pb2.UutInstance | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
UUT_INSTANCE_FIELD_NUMBER: int
property uut_instance: ni.measurements.metadata.v1.metadata_store_pb2.UutInstance

Required. The metadata of the UUT instance to be created.

Return type:

ni.measurements.metadata.v1.metadata_store_pb2.UutInstance

HasField(field_name)

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

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.measurements.metadata.v1.metadata_store_service_pb2.global___CreateUutInstanceRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateUutInstanceResponse(*, uut_instance_id=...)

Bases: google.protobuf.message.Message

Message returned when creating a new UUT instance in the metadata store.

Parameters:

uut_instance_id (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
UUT_INSTANCE_ID_FIELD_NUMBER: int
uut_instance_id: str

The identifier of the created UUT instance.

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.measurements.metadata.v1.metadata_store_service_pb2.global___CreateUutInstanceResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.GetUutRequest(*, uut_id=...)

Bases: google.protobuf.message.Message

Message sent to get the UUT associated with the given identifier.

Parameters:

uut_id (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
UUT_ID_FIELD_NUMBER: int
uut_id: str

Required. The identifier of the desired UUT.

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.measurements.metadata.v1.metadata_store_service_pb2.global___GetUutRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.GetUutResponse(*, uut=...)

Bases: google.protobuf.message.Message

Message returned when getting a UUT associated with the given identifier.

Parameters:

uut (ni.measurements.metadata.v1.metadata_store_pb2.Uut | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
UUT_FIELD_NUMBER: int
property uut: ni.measurements.metadata.v1.metadata_store_pb2.Uut

The metadata of the requested UUT.

Return type:

ni.measurements.metadata.v1.metadata_store_pb2.Uut

HasField(field_name)

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

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.measurements.metadata.v1.metadata_store_service_pb2.global___GetUutResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.QueryUutsRequest(*, odata_query=...)

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:

odata_query (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
ODATA_QUERY_FIELD_NUMBER: int
odata_query: str

an OData query string. example “$filter=name eq ‘Value’” $expand is not supported

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.measurements.metadata.v1.metadata_store_service_pb2.global___QueryUutsRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.QueryUutsResponse(*, uuts=...)

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:

uuts (collections.abc.Iterable[ni.measurements.metadata.v1.metadata_store_pb2.Uut] | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
UUTS_FIELD_NUMBER: int
property uuts: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.Uut]
Return type:

google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.Uut]

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.measurements.metadata.v1.metadata_store_service_pb2.global___QueryUutsResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateUutRequest(*, uut=...)

Bases: google.protobuf.message.Message

Message sent to create a new UUT in the metadata store.

Parameters:

uut (ni.measurements.metadata.v1.metadata_store_pb2.Uut | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
UUT_FIELD_NUMBER: int
property uut: ni.measurements.metadata.v1.metadata_store_pb2.Uut

Required. The metadata of the UUT to be created.

Return type:

ni.measurements.metadata.v1.metadata_store_pb2.Uut

HasField(field_name)

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

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.measurements.metadata.v1.metadata_store_service_pb2.global___CreateUutRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateUutResponse(*, uut_id=...)

Bases: google.protobuf.message.Message

Message returned when creating a new UUT in the metadata store.

Parameters:

uut_id (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
UUT_ID_FIELD_NUMBER: int
uut_id: str

The identifier of the created UUT.

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.measurements.metadata.v1.metadata_store_service_pb2.global___CreateUutResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.GetOperatorRequest(*, operator_id=...)

Bases: google.protobuf.message.Message

Message sent to get the operator associated with the given identifier.

Parameters:

operator_id (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
OPERATOR_ID_FIELD_NUMBER: int
operator_id: str

Required. The identifier of the desired operator.

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.measurements.metadata.v1.metadata_store_service_pb2.global___GetOperatorRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.GetOperatorResponse(*, operator=...)

Bases: google.protobuf.message.Message

Message returned when getting an operator associated with the given identifier.

Parameters:

operator (ni.measurements.metadata.v1.metadata_store_pb2.Operator | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
OPERATOR_FIELD_NUMBER: int
property operator: ni.measurements.metadata.v1.metadata_store_pb2.Operator

The metadata of the requested operator.

Return type:

ni.measurements.metadata.v1.metadata_store_pb2.Operator

HasField(field_name)

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

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.measurements.metadata.v1.metadata_store_service_pb2.global___GetOperatorResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.QueryOperatorsRequest(*, odata_query=...)

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:

odata_query (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
ODATA_QUERY_FIELD_NUMBER: int
odata_query: str

an OData query string. example “$filter=name eq ‘Value’” $expand is not supported

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.measurements.metadata.v1.metadata_store_service_pb2.global___QueryOperatorsRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.QueryOperatorsResponse(*, operators=...)

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:

operators (collections.abc.Iterable[ni.measurements.metadata.v1.metadata_store_pb2.Operator] | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
OPERATORS_FIELD_NUMBER: int
property operators: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.Operator]
Return type:

google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.Operator]

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.measurements.metadata.v1.metadata_store_service_pb2.global___QueryOperatorsResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateOperatorRequest(*, operator=...)

Bases: google.protobuf.message.Message

Message sent to create a new operator in the metadata store.

Parameters:

operator (ni.measurements.metadata.v1.metadata_store_pb2.Operator | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
OPERATOR_FIELD_NUMBER: int
property operator: ni.measurements.metadata.v1.metadata_store_pb2.Operator

Required. The metadata of the operator to be created.

Return type:

ni.measurements.metadata.v1.metadata_store_pb2.Operator

HasField(field_name)

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

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.measurements.metadata.v1.metadata_store_service_pb2.global___CreateOperatorRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateOperatorResponse(*, operator_id=...)

Bases: google.protobuf.message.Message

Message returned when creating a new operator in the metadata store.

Parameters:

operator_id (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
OPERATOR_ID_FIELD_NUMBER: int
operator_id: str

The identifier of the created operator.

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.measurements.metadata.v1.metadata_store_service_pb2.global___CreateOperatorResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.GetTestDescriptionRequest(*, test_description_id=...)

Bases: google.protobuf.message.Message

Message sent to get the test description associated with the given identifier.

Parameters:

test_description_id (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
TEST_DESCRIPTION_ID_FIELD_NUMBER: int
test_description_id: str

Required. The identifier of the desired test description.

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.measurements.metadata.v1.metadata_store_service_pb2.global___GetTestDescriptionRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.GetTestDescriptionResponse(*, test_description=...)

Bases: google.protobuf.message.Message

Message returned when getting a test description associated with the given identifier.

Parameters:

test_description (ni.measurements.metadata.v1.metadata_store_pb2.TestDescription | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
TEST_DESCRIPTION_FIELD_NUMBER: int
property test_description: ni.measurements.metadata.v1.metadata_store_pb2.TestDescription

The metadata of the requested test description.

Return type:

ni.measurements.metadata.v1.metadata_store_pb2.TestDescription

HasField(field_name)

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

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.measurements.metadata.v1.metadata_store_service_pb2.global___GetTestDescriptionResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.QueryTestDescriptionsRequest(*, odata_query=...)

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:

odata_query (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
ODATA_QUERY_FIELD_NUMBER: int
odata_query: str

an OData query string. example “$filter=name eq ‘Value’” $expand is not supported

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.measurements.metadata.v1.metadata_store_service_pb2.global___QueryTestDescriptionsRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.QueryTestDescriptionsResponse(*, test_descriptions=...)

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:

test_descriptions (collections.abc.Iterable[ni.measurements.metadata.v1.metadata_store_pb2.TestDescription] | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
TEST_DESCRIPTIONS_FIELD_NUMBER: int
property test_descriptions: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.TestDescription]
Return type:

google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.TestDescription]

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.measurements.metadata.v1.metadata_store_service_pb2.global___QueryTestDescriptionsResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateTestDescriptionRequest(*, test_description=...)

Bases: google.protobuf.message.Message

Message sent to create a new test description in the metadata store.

Parameters:

test_description (ni.measurements.metadata.v1.metadata_store_pb2.TestDescription | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
TEST_DESCRIPTION_FIELD_NUMBER: int
property test_description: ni.measurements.metadata.v1.metadata_store_pb2.TestDescription

Required. The metadata of the test description to be created.

Return type:

ni.measurements.metadata.v1.metadata_store_pb2.TestDescription

HasField(field_name)

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

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.measurements.metadata.v1.metadata_store_service_pb2.global___CreateTestDescriptionRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateTestDescriptionResponse(*, test_description_id=...)

Bases: google.protobuf.message.Message

Message returned when creating a new test description in the metadata store.

Parameters:

test_description_id (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
TEST_DESCRIPTION_ID_FIELD_NUMBER: int
test_description_id: str

The identifier of the created test description.

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.measurements.metadata.v1.metadata_store_service_pb2.global___CreateTestDescriptionResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.GetTestRequest(*, test_id=...)

Bases: google.protobuf.message.Message

Message sent to get the test associated with the given identifier.

Parameters:

test_id (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
TEST_ID_FIELD_NUMBER: int
test_id: str

Required. The identifier of the desired test.

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.measurements.metadata.v1.metadata_store_service_pb2.global___GetTestRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.GetTestResponse(*, test=...)

Bases: google.protobuf.message.Message

Message returned when getting a test associated with the given identifier.

Parameters:

test (ni.measurements.metadata.v1.metadata_store_pb2.Test | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
TEST_FIELD_NUMBER: int
property test: ni.measurements.metadata.v1.metadata_store_pb2.Test

The metadata of the requested test.

Return type:

ni.measurements.metadata.v1.metadata_store_pb2.Test

HasField(field_name)

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

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.measurements.metadata.v1.metadata_store_service_pb2.global___GetTestResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.QueryTestsRequest(*, odata_query=...)

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:

odata_query (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
ODATA_QUERY_FIELD_NUMBER: int
odata_query: str

an OData query string. example “$filter=name eq ‘Value’” $expand is not supported

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.measurements.metadata.v1.metadata_store_service_pb2.global___QueryTestsRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.QueryTestsResponse(*, tests=...)

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:

tests (collections.abc.Iterable[ni.measurements.metadata.v1.metadata_store_pb2.Test] | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
TESTS_FIELD_NUMBER: int
property tests: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.Test]
Return type:

google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.Test]

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.measurements.metadata.v1.metadata_store_service_pb2.global___QueryTestsResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateTestRequest(*, test=...)

Bases: google.protobuf.message.Message

Message sent to create a new test in the metadata store.

Parameters:

test (ni.measurements.metadata.v1.metadata_store_pb2.Test | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
TEST_FIELD_NUMBER: int
property test: ni.measurements.metadata.v1.metadata_store_pb2.Test

Required. The metadata of the test to be created.

Return type:

ni.measurements.metadata.v1.metadata_store_pb2.Test

HasField(field_name)

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

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.measurements.metadata.v1.metadata_store_service_pb2.global___CreateTestRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateTestResponse(*, test_id=...)

Bases: google.protobuf.message.Message

Message returned when creating a new test in the metadata store.

Parameters:

test_id (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
TEST_ID_FIELD_NUMBER: int
test_id: str

The identifier of the created test.

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.measurements.metadata.v1.metadata_store_service_pb2.global___CreateTestResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.GetTestStationRequest(*, test_station_id=...)

Bases: google.protobuf.message.Message

Message sent to get the test station associated with the given identifier.

Parameters:

test_station_id (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
TEST_STATION_ID_FIELD_NUMBER: int
test_station_id: str

Required. The identifier of the desired test station.

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.measurements.metadata.v1.metadata_store_service_pb2.global___GetTestStationRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.GetTestStationResponse(*, test_station=...)

Bases: google.protobuf.message.Message

Message returned when getting a test station associated with the given identifier.

Parameters:

test_station (ni.measurements.metadata.v1.metadata_store_pb2.TestStation | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
TEST_STATION_FIELD_NUMBER: int
property test_station: ni.measurements.metadata.v1.metadata_store_pb2.TestStation

The metadata of the requested test station.

Return type:

ni.measurements.metadata.v1.metadata_store_pb2.TestStation

HasField(field_name)

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

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.measurements.metadata.v1.metadata_store_service_pb2.global___GetTestStationResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.QueryTestStationsRequest(*, odata_query=...)

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:

odata_query (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
ODATA_QUERY_FIELD_NUMBER: int
odata_query: str

an OData query string. example “$filter=name eq ‘Value’” $expand is not supported

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.measurements.metadata.v1.metadata_store_service_pb2.global___QueryTestStationsRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.QueryTestStationsResponse(*, test_stations=...)

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:

test_stations (collections.abc.Iterable[ni.measurements.metadata.v1.metadata_store_pb2.TestStation] | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
TEST_STATIONS_FIELD_NUMBER: int
property test_stations: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.TestStation]
Return type:

google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.TestStation]

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.measurements.metadata.v1.metadata_store_service_pb2.global___QueryTestStationsResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateTestStationRequest(*, test_station=...)

Bases: google.protobuf.message.Message

Message sent to create a new test station in the metadata store.

Parameters:

test_station (ni.measurements.metadata.v1.metadata_store_pb2.TestStation | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
TEST_STATION_FIELD_NUMBER: int
property test_station: ni.measurements.metadata.v1.metadata_store_pb2.TestStation

Required. The metadata of the test station to be created.

Return type:

ni.measurements.metadata.v1.metadata_store_pb2.TestStation

HasField(field_name)

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

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.measurements.metadata.v1.metadata_store_service_pb2.global___CreateTestStationRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateTestStationResponse(*, test_station_id=...)

Bases: google.protobuf.message.Message

Message returned when creating a new test station in the metadata store.

Parameters:

test_station_id (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
TEST_STATION_ID_FIELD_NUMBER: int
test_station_id: str

The identifier of the created test station.

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.measurements.metadata.v1.metadata_store_service_pb2.global___CreateTestStationResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.GetHardwareItemRequest(*, hardware_item_id=...)

Bases: google.protobuf.message.Message

Message sent to get the hardware item associated with the given identifier.

Parameters:

hardware_item_id (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
HARDWARE_ITEM_ID_FIELD_NUMBER: int
hardware_item_id: str

Required. The identifier of the desired hardware item.

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.measurements.metadata.v1.metadata_store_service_pb2.global___GetHardwareItemRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.GetHardwareItemResponse(*, hardware_item=...)

Bases: google.protobuf.message.Message

Message returned when getting the hardware item associated with the given identifier.

Parameters:

hardware_item (ni.measurements.metadata.v1.metadata_store_pb2.HardwareItem | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
HARDWARE_ITEM_FIELD_NUMBER: int
property hardware_item: ni.measurements.metadata.v1.metadata_store_pb2.HardwareItem

The metadata of the requested hardware item.

Return type:

ni.measurements.metadata.v1.metadata_store_pb2.HardwareItem

HasField(field_name)

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

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.measurements.metadata.v1.metadata_store_service_pb2.global___GetHardwareItemResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.QueryHardwareItemsRequest(*, odata_query=...)

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:

odata_query (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
ODATA_QUERY_FIELD_NUMBER: int
odata_query: str

an OData query string. example “$filter=name eq ‘Value’” $expand is not supported

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.measurements.metadata.v1.metadata_store_service_pb2.global___QueryHardwareItemsRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.QueryHardwareItemsResponse(*, hardware_items=...)

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:

hardware_items (collections.abc.Iterable[ni.measurements.metadata.v1.metadata_store_pb2.HardwareItem] | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
HARDWARE_ITEMS_FIELD_NUMBER: int
property hardware_items: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.HardwareItem]
Return type:

google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.HardwareItem]

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.measurements.metadata.v1.metadata_store_service_pb2.global___QueryHardwareItemsResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateHardwareItemRequest(*, hardware_item=...)

Bases: google.protobuf.message.Message

Message sent to create new hardware item in the metadata store.

Parameters:

hardware_item (ni.measurements.metadata.v1.metadata_store_pb2.HardwareItem | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
HARDWARE_ITEM_FIELD_NUMBER: int
property hardware_item: ni.measurements.metadata.v1.metadata_store_pb2.HardwareItem

Required. The metadata of the hardware item to be created.

Return type:

ni.measurements.metadata.v1.metadata_store_pb2.HardwareItem

HasField(field_name)

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

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.measurements.metadata.v1.metadata_store_service_pb2.global___CreateHardwareItemRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateHardwareItemResponse(*, hardware_item_id=...)

Bases: google.protobuf.message.Message

Message returned when creating new hardware item in the metadata store.

Parameters:

hardware_item_id (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
HARDWARE_ITEM_ID_FIELD_NUMBER: int
hardware_item_id: str

The identifier of the created hardware item.

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.measurements.metadata.v1.metadata_store_service_pb2.global___CreateHardwareItemResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.GetSoftwareItemRequest(*, software_item_id=...)

Bases: google.protobuf.message.Message

Message sent to get the software item associated with the given identifier.

Parameters:

software_item_id (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
SOFTWARE_ITEM_ID_FIELD_NUMBER: int
software_item_id: str

Required. The identifier of the desired software item.

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.measurements.metadata.v1.metadata_store_service_pb2.global___GetSoftwareItemRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.GetSoftwareItemResponse(*, software_item=...)

Bases: google.protobuf.message.Message

Message returned when getting the software item associated with the given identifier.

Parameters:

software_item (ni.measurements.metadata.v1.metadata_store_pb2.SoftwareItem | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
SOFTWARE_ITEM_FIELD_NUMBER: int
property software_item: ni.measurements.metadata.v1.metadata_store_pb2.SoftwareItem

The metadata of the requested software item.

Return type:

ni.measurements.metadata.v1.metadata_store_pb2.SoftwareItem

HasField(field_name)

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

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.measurements.metadata.v1.metadata_store_service_pb2.global___GetSoftwareItemResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.QuerySoftwareItemsRequest(*, odata_query=...)

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:

odata_query (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
ODATA_QUERY_FIELD_NUMBER: int
odata_query: str

an OData query string. example “$filter=name eq ‘Value’” $expand is not supported

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.measurements.metadata.v1.metadata_store_service_pb2.global___QuerySoftwareItemsRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.QuerySoftwareItemsResponse(*, software_items=...)

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:

software_items (collections.abc.Iterable[ni.measurements.metadata.v1.metadata_store_pb2.SoftwareItem] | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
SOFTWARE_ITEMS_FIELD_NUMBER: int
property software_items: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.SoftwareItem]
Return type:

google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.SoftwareItem]

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.measurements.metadata.v1.metadata_store_service_pb2.global___QuerySoftwareItemsResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateSoftwareItemRequest(*, software_item=...)

Bases: google.protobuf.message.Message

Message sent to create new software item in the metadata store.

Parameters:

software_item (ni.measurements.metadata.v1.metadata_store_pb2.SoftwareItem | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
SOFTWARE_ITEM_FIELD_NUMBER: int
property software_item: ni.measurements.metadata.v1.metadata_store_pb2.SoftwareItem

Required. The metadata of the software item to be created.

Return type:

ni.measurements.metadata.v1.metadata_store_pb2.SoftwareItem

HasField(field_name)

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

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.measurements.metadata.v1.metadata_store_service_pb2.global___CreateSoftwareItemRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateSoftwareItemResponse(*, software_item_id=...)

Bases: google.protobuf.message.Message

Message returned when creating new software item in the metadata store.

Parameters:

software_item_id (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
SOFTWARE_ITEM_ID_FIELD_NUMBER: int
software_item_id: str

The identifier of the created software item.

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.measurements.metadata.v1.metadata_store_service_pb2.global___CreateSoftwareItemResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.GetTestAdapterRequest(*, test_adapter_id=...)

Bases: google.protobuf.message.Message

Message sent to get the test adapter associated with the given identifier.

Parameters:

test_adapter_id (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
TEST_ADAPTER_ID_FIELD_NUMBER: int
test_adapter_id: str

Required. The identifier of the desired test adapter.

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.measurements.metadata.v1.metadata_store_service_pb2.global___GetTestAdapterRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.GetTestAdapterResponse(*, test_adapter=...)

Bases: google.protobuf.message.Message

Message returned when getting the test adapter associated with the given identifier.

Parameters:

test_adapter (ni.measurements.metadata.v1.metadata_store_pb2.TestAdapter | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
TEST_ADAPTER_FIELD_NUMBER: int
property test_adapter: ni.measurements.metadata.v1.metadata_store_pb2.TestAdapter

The metadata of the requested test adapter.

Return type:

ni.measurements.metadata.v1.metadata_store_pb2.TestAdapter

HasField(field_name)

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

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.measurements.metadata.v1.metadata_store_service_pb2.global___GetTestAdapterResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.QueryTestAdaptersRequest(*, odata_query=...)

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:

odata_query (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
ODATA_QUERY_FIELD_NUMBER: int
odata_query: str

an OData query string. example “$filter=name eq ‘Value’” $expand is not supported

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.measurements.metadata.v1.metadata_store_service_pb2.global___QueryTestAdaptersRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.QueryTestAdaptersResponse(*, test_adapters=...)

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:

test_adapters (collections.abc.Iterable[ni.measurements.metadata.v1.metadata_store_pb2.TestAdapter] | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
TEST_ADAPTERS_FIELD_NUMBER: int
property test_adapters: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.TestAdapter]
Return type:

google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.TestAdapter]

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.measurements.metadata.v1.metadata_store_service_pb2.global___QueryTestAdaptersResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateTestAdapterRequest(*, test_adapter=...)

Bases: google.protobuf.message.Message

Message sent to create new test adapter in the metadata store.

Parameters:

test_adapter (ni.measurements.metadata.v1.metadata_store_pb2.TestAdapter | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
TEST_ADAPTER_FIELD_NUMBER: int
property test_adapter: ni.measurements.metadata.v1.metadata_store_pb2.TestAdapter

Required. The metadata of the test adapter to be created.

Return type:

ni.measurements.metadata.v1.metadata_store_pb2.TestAdapter

HasField(field_name)

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

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.measurements.metadata.v1.metadata_store_service_pb2.global___CreateTestAdapterRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateTestAdapterResponse(*, test_adapter_id=...)

Bases: google.protobuf.message.Message

Message returned when creating new test adapter in the metadata store.

Parameters:

test_adapter_id (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
TEST_ADAPTER_ID_FIELD_NUMBER: int
test_adapter_id: str

The identifier of the created test adapter.

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.measurements.metadata.v1.metadata_store_service_pb2.global___CreateTestAdapterResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.RegisterSchemaRequest(*, schema=...)

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:

schema (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
SCHEMA_FIELD_NUMBER: int
schema: str

The contents of the JSON or TOML schema. This should be a well-formed JSON or TOML schema. Validation will be performed, and an error will be returned if the schema is not valid.

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.measurements.metadata.v1.metadata_store_service_pb2.global___RegisterSchemaRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.RegisterSchemaResponse(*, schema_id=...)

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:

schema_id (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
SCHEMA_ID_FIELD_NUMBER: int
schema_id: str

The id of the schema

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.measurements.metadata.v1.metadata_store_service_pb2.global___RegisterSchemaResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.ListSchemasRequest

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.

DESCRIPTOR: google.protobuf.descriptor.Descriptor
ni.measurements.metadata.v1.metadata_store_service_pb2.global___ListSchemasRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.ListSchemasResponse(*, schemas=...)

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:

schemas (collections.abc.Iterable[ni.measurements.metadata.v1.metadata_store_pb2.ExtensionSchema] | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
SCHEMAS_FIELD_NUMBER: int
property schemas: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.ExtensionSchema]
Return type:

google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.ExtensionSchema]

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.measurements.metadata.v1.metadata_store_service_pb2.global___ListSchemasResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.GetAliasRequest(*, alias_name=...)

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:

alias_name (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
ALIAS_NAME_FIELD_NUMBER: int
alias_name: str
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.measurements.metadata.v1.metadata_store_service_pb2.global___GetAliasRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.GetAliasResponse(*, alias=...)

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:

alias (ni.measurements.metadata.v1.metadata_store_pb2.Alias | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
ALIAS_FIELD_NUMBER: int
property alias: ni.measurements.metadata.v1.metadata_store_pb2.Alias
Return type:

ni.measurements.metadata.v1.metadata_store_pb2.Alias

HasField(field_name)

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

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.measurements.metadata.v1.metadata_store_service_pb2.global___GetAliasResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.QueryAliasesRequest(*, odata_query=...)

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:

odata_query (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
ODATA_QUERY_FIELD_NUMBER: int
odata_query: str

an OData query string. example “$filter=name eq ‘Value’” $expand is not supported

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.measurements.metadata.v1.metadata_store_service_pb2.global___QueryAliasesRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.QueryAliasesResponse(*, aliases=...)

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:

aliases (collections.abc.Iterable[ni.measurements.metadata.v1.metadata_store_pb2.Alias] | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
ALIASES_FIELD_NUMBER: int
property aliases: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.Alias]
Return type:

google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.Alias]

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.measurements.metadata.v1.metadata_store_service_pb2.global___QueryAliasesResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateAliasRequest(*, alias_name=..., uut_instance=..., uut=..., hardware_item=..., software_item=..., operator=..., test_description=..., test=..., test_station=..., test_adapter=...)

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
ALIAS_NAME_FIELD_NUMBER: int
UUT_INSTANCE_FIELD_NUMBER: int
UUT_FIELD_NUMBER: int
HARDWARE_ITEM_FIELD_NUMBER: int
SOFTWARE_ITEM_FIELD_NUMBER: int
OPERATOR_FIELD_NUMBER: int
TEST_DESCRIPTION_FIELD_NUMBER: int
TEST_FIELD_NUMBER: int
TEST_STATION_FIELD_NUMBER: int
TEST_ADAPTER_FIELD_NUMBER: int
alias_name: str

The alias name to register.

property uut_instance: ni.measurements.metadata.v1.metadata_store_pb2.UutInstance
Return type:

ni.measurements.metadata.v1.metadata_store_pb2.UutInstance

property uut: ni.measurements.metadata.v1.metadata_store_pb2.Uut
Return type:

ni.measurements.metadata.v1.metadata_store_pb2.Uut

property hardware_item: ni.measurements.metadata.v1.metadata_store_pb2.HardwareItem
Return type:

ni.measurements.metadata.v1.metadata_store_pb2.HardwareItem

property software_item: ni.measurements.metadata.v1.metadata_store_pb2.SoftwareItem
Return type:

ni.measurements.metadata.v1.metadata_store_pb2.SoftwareItem

property operator: ni.measurements.metadata.v1.metadata_store_pb2.Operator
Return type:

ni.measurements.metadata.v1.metadata_store_pb2.Operator

property test_description: ni.measurements.metadata.v1.metadata_store_pb2.TestDescription
Return type:

ni.measurements.metadata.v1.metadata_store_pb2.TestDescription

property test: ni.measurements.metadata.v1.metadata_store_pb2.Test
Return type:

ni.measurements.metadata.v1.metadata_store_pb2.Test

property test_station: ni.measurements.metadata.v1.metadata_store_pb2.TestStation
Return type:

ni.measurements.metadata.v1.metadata_store_pb2.TestStation

property test_adapter: ni.measurements.metadata.v1.metadata_store_pb2.TestAdapter
Return type:

ni.measurements.metadata.v1.metadata_store_pb2.TestAdapter

HasField(field_name)

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

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

WhichOneof(oneof_group)

Returns the name of the field that is set inside a oneof group.

If no field is set, returns None.

Parameters:

oneof_group (str) – the name of the oneof group to check.

Returns:

The name of the group that is set, or None.

Return type:

str or None

Raises:

ValueError – no group with the given name exists

ni.measurements.metadata.v1.metadata_store_service_pb2.global___CreateAliasRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateAliasResponse(*, alias=...)

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:

alias (ni.measurements.metadata.v1.metadata_store_pb2.Alias | None)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
ALIAS_FIELD_NUMBER: int
property alias: ni.measurements.metadata.v1.metadata_store_pb2.Alias
Return type:

ni.measurements.metadata.v1.metadata_store_pb2.Alias

HasField(field_name)

Checks if a certain field is set for the message.

For a oneof group, checks if any field inside is set. Note that if the field_name is not defined in the message descriptor, ValueError will be raised.

Parameters:

field_name (str) – The name of the field to check for presence.

Returns:

Whether a value has been set for the named field.

Return type:

bool

Raises:

ValueError – if the field_name is not a member of this message.

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.measurements.metadata.v1.metadata_store_service_pb2.global___CreateAliasResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.DeleteAliasRequest(*, alias_name=...)

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:

alias_name (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
ALIAS_NAME_FIELD_NUMBER: int
alias_name: str

The name of the alias to unregister

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.measurements.metadata.v1.metadata_store_service_pb2.global___DeleteAliasRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.DeleteAliasResponse(*, unregistered=...)

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:

unregistered (bool)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
UNREGISTERED_FIELD_NUMBER: int
unregistered: bool

Whether the action resulted in the specified alias becoming unregistered. (False if the alias does not exist.)

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.measurements.metadata.v1.metadata_store_service_pb2.global___DeleteAliasResponse
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateFromJsonDocumentRequest(*, json_document=...)

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:

json_document (str)

DESCRIPTOR: google.protobuf.descriptor.Descriptor
JSON_DOCUMENT_FIELD_NUMBER: int
json_document: str

The JSON document containing the metadata entries to create. The JSON document should conform to the schema defined by https://raw.githubusercontent.com/ni/ni-apis/main/ni/measurements/metadata/v1/registration.schema.json

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.measurements.metadata.v1.metadata_store_service_pb2.global___CreateFromJsonDocumentRequest
class ni.measurements.metadata.v1.metadata_store_service_pb2.CreateFromJsonDocumentResponse(*, uut_instances=..., uuts=..., operators=..., test_descriptions=..., tests=..., test_stations=..., hardware_items=..., software_items=..., test_adapters=...)

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
UUT_INSTANCES_FIELD_NUMBER: int
UUTS_FIELD_NUMBER: int
OPERATORS_FIELD_NUMBER: int
TEST_DESCRIPTIONS_FIELD_NUMBER: int
TESTS_FIELD_NUMBER: int
TEST_STATIONS_FIELD_NUMBER: int
HARDWARE_ITEMS_FIELD_NUMBER: int
SOFTWARE_ITEMS_FIELD_NUMBER: int
TEST_ADAPTERS_FIELD_NUMBER: int
property uut_instances: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.UutInstance]

The collection of UUTInstances associated with the JSON document. If the object specified in the request exists, the existing object is returned; otherwise, the newly created object is returned.

Return type:

google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.UutInstance]

property uuts: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.Uut]

The collection of UUTs associated with the JSON document. If the object specified in the request exists, the existing object is returned; otherwise, the newly created object is returned.

Return type:

google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.Uut]

property operators: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.Operator]

The collection of Operators associated with the JSON document. If the object specified in the request exists, the existing object is returned; otherwise, the newly created object is returned.

Return type:

google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.Operator]

property test_descriptions: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.TestDescription]

The collection of TestDescriptions associated with the JSON document. If the object specified in the request exists, the existing object is returned; otherwise, the newly created object is returned.

Return type:

google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.TestDescription]

property tests: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.Test]

The collection of Tests associated with the JSON document. If the object specified in the request exists, the existing object is returned; otherwise, the newly created object is returned.

Return type:

google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.Test]

property test_stations: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.TestStation]

The collection of TestStations associated with the JSON document. If the object specified in the request exists, the existing object is returned; otherwise, the newly created object is returned.

Return type:

google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.TestStation]

property hardware_items: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.HardwareItem]

The collection of HardwareItems associated with the JSON document. If the object specified in the request exists, the existing object is returned; otherwise, the newly created object is returned.

Return type:

google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.HardwareItem]

property software_items: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.SoftwareItem]

The collection of SoftwareItems associated with the JSON document. If the object specified in the request exists, the existing object is returned; otherwise, the newly created object is returned.

Return type:

google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.SoftwareItem]

property test_adapters: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.TestAdapter]

The collection of TestAdapters associated with the JSON document. If the object specified in the request exists, the existing object is returned; otherwise, the newly created object is returned.

Return type:

google.protobuf.internal.containers.RepeatedCompositeFieldContainer[ni.measurements.metadata.v1.metadata_store_pb2.TestAdapter]

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.measurements.metadata.v1.metadata_store_service_pb2.global___CreateFromJsonDocumentResponse