class documentation

Undocumented

Class __OneOfClass_input__ The input type and its configuration.
Class __OneOfClass_input_boolean_input__ A Boolean input.
Class __OneOfClass_input_docker_registry_credentials_input__ A Docker registry credential input.
Class __OneOfClass_input_enum_string_input__ A string input with predefined options.
Class __OneOfClass_input_environment_variables_input__ An environment variable input.
Class __OneOfClass_input_hugging_face_token_input__ A Hugging Face token input.
Class __OneOfClass_input_integer_input__ An integer input.
Class __OneOfClass_input_integer_unit_input__ An integer input with a unit suffix.
Class __OneOfClass_input_service_account_mirror_input__ A service account selector.
Class __OneOfClass_input_string_input__ A string input.
Class __OneOfClass_input_text_content_input__ A read-only text element.
Class BooleanInput BooleanInput defines a Boolean field.
Class DockerRegistryCredentialsInput Docker Registry Credentials input Will be rendered as the form in UI.
Class EnumStringInput EnumStringInput defines a string input with predefined options. Will be rendered as a dropdown in UI.
Class EnvironmentVariablesInput Environment variables input Will be rendered as a list of key-value pairs in UI. Cannot be optional.
Class HuggingFaceTokenInput Hugging face token input Will be rendered as the form in UI.
Class IntegerInput IntegerInput defines a simple integer field. The form displays a text box.
Class IntegerUnitInput IntegerUnitInput defines an integer input with a unit, bounds, step, and default value. The form displays a slider with the unit suffix.
Class ServiceAccountMirrorInput Service Account Mirror input Will be rendered as a service account selector in UI.
Class StringInput No class docstring; 8/10 properties, 11/11 methods documented
Class TextContentInput TextContentInput defines a read-only text content field. Will be rendered as a text block in UI. Cannot be optional.
Method __init__ Create a message from a source message and field values.
Method boolean_input.setter Set or clear the generated boolean_input field.
Method docker_registry_credentials_input.setter Set or clear the generated docker_registry_credentials_input field.
Method enum_string_input.setter Set or clear the generated enum_string_input field.
Method environment_variables_input.setter Set or clear the generated environment_variables_input field.
Method hugging_face_token_input.setter Set or clear the generated hugging_face_token_input field.
Method id.setter Set or clear the generated id field.
Method integer_input.setter Set or clear the generated integer_input field.
Method integer_unit_input.setter Set or clear the generated integer_unit_input field.
Method required.setter Set or clear the generated required field.
Method service_account_mirror_input.setter Set or clear the generated service_account_mirror_input field.
Method string_input.setter Set or clear the generated string_input field.
Method text_content_input.setter Set or clear the generated text_content_input field.
Property boolean_input A Boolean input.
Property docker_registry_credentials_input A Docker registry credential input.
Property enum_string_input A string input with predefined options.
Property environment_variables_input An environment variable input.
Property hugging_face_token_input A Hugging Face token input.
Property id The input ID. Template input values use this ID as their key.
Property input The input type and its configuration.
Property integer_input An integer input.
Property integer_unit_input An integer input with a unit suffix.
Property required Whether the template requires a value for this input.
Property service_account_mirror_input A service account selector.
Property string_input A string input.
Property text_content_input A read-only text element.

Inherited from Message:

Class Method from_json Create a message from protobuf JSON mapping.
Class Method FromString Create a message by parsing protobuf wire-format bytes.
Class Method get_descriptor Return the message descriptor from the registry.
Class Method is_credentials Return True if a Python field contains credentials.
Class Method is_sensitive Return True if a Python field has the sensitive annotation.
Method __dir__ List generated fields, oneofs, and nested declarations.
Method __repr__ Render non-default fields without disclosing annotated secrets.
Method ByteSize Return the serialized protobuf wire size in bytes.
Method check_presence Check presence using a generated Python field name.
Method Clear Clear all fields, extensions, unknown fields, and the reset mask.
Method clear_extension Clear an extension value.
Method ClearField Clear a protobuf field or oneof and record it in the reset mask.
Method CopyFrom Replace this message with an independent copy of another message.
Method FindInitializationErrors Return paths of missing required fields.
Method get_extension Return an extension value.
Method get_full_update_reset_mask Create a reset mask from the current protobuf state.
Method get_mask Return the reset mask for field changes.
Method has_extension Return True if an extension has explicit presence.
Method HasField Return True if a protobuf field or oneof has explicit presence.
Method is_default Return True if a generated field has its default value.
Method IsInitialized Return True if every required field is initialized.
Method MergeFrom Merge fields from another message of the same generated type.
Method MergeFromString Merge protobuf wire-format bytes into this message.
Method ParseFromString Parse protobuf wire-format bytes and replace this message.
Method SerializeToString Serialize the message using protobuf wire format.
Method set_extension Set an extension value.
Method set_mask Set the reset mask for this message.
Method to_json Serialize this message using protobuf JSON mapping.
Method which_field_in_oneof Return the selected Python field name for a protobuf oneof.
Method WhichOneof Return the selected protobuf field name for a oneof.
Constant __DEPRECATION_DETAILS__ Undocumented
Constant __EXTENSION_REGISTRY__ Registry that decodes protobuf extensions.
Constant __FIELDS__ Runtime field data that the generator creates.
Constant __MAX_NESTING_DEPTH__ Maximum protobuf nesting depth for serialization, parsing, and initialization checks.
Constant __PB2_DESCRIPTOR__ Alias for code that expects a protobuf descriptor.
Constant __PROTO_DESCRIPTOR__ Message descriptor from the registry.
Constant __PY_TO_PB2__ Mapping from Python names to protobuf names.
Constant __REGISTRY__ Registry for the message and its descriptor.
Class Variable __PROTO_FULL_NAME__ Fully qualified protobuf message name.
Property Extensions Provide protobuf-compatible mapping access to extension values.
Class Method _fields_by_number Undocumented
Class Method _fields_by_proto_name Undocumented
Class Method _fields_by_python_name Undocumented
Class Method _from_string Deserialize internally without invoking generated user warnings.
Class Method _oneof_python_name Undocumented
Class Method _public_fields_by_proto_name Undocumented
Class Method _public_fields_by_python_name Undocumented
Static Method _format_map_key Undocumented
Static Method _repr_field Undocumented
Method _bind_child Undocumented
Method _bind_mutation Undocumented
Method _check_same_type Undocumented
Method _child_changed Undocumented
Method _clear_state Undocumented
Method _closed_enum_unknown Undocumented
Method _converted_view Undocumented
Method _decode_map_entry Undocumented
Method _detach_child Undocumented
Method _field_has_value Undocumented
Method _field_is_default Undocumented
Method _find_initialization_errors Undocumented
Method _get_field Undocumented
Method _initialize Initialize message state, optionally suppressing generated warnings.
Method _map Undocumented
Method _merge_from_string Undocumented
Method _nesting_limit Undocumented
Method _notify Undocumented
Method _record_reset Undocumented
Method _repeated Undocumented
Method _select Undocumented
Method _serialize_to_string Undocumented
Method _set_field Undocumented
Method _suspend_mutation Undocumented
Method _suspend_reset_mask Undocumented
Method _try_decode_field Undocumented
Method _write_field Undocumented
Instance Variable _extensions Undocumented
Instance Variable _mutation_suspended Undocumented
Instance Variable _on_mutation Undocumented
Instance Variable _oneofs Undocumented
Instance Variable _present Undocumented
Instance Variable _reset_mask Undocumented
Instance Variable _reset_mask_suspended Undocumented
Instance Variable _unknown_fields Undocumented
Instance Variable _values Undocumented
Instance Variable _views Undocumented
def __init__(self, initial_message: SerializableMessage | None = None, *, id: str | None | UnsetType = ..., required: bool | None | UnsetType = ..., string_input: StringInput | None | UnsetType = ..., enum_string_input: EnumStringInput | None | UnsetType = ..., integer_input: IntegerInput | None | UnsetType = ..., integer_unit_input: IntegerUnitInput | None | UnsetType = ..., boolean_input: BooleanInput | None | UnsetType = ..., text_content_input: TextContentInput | None | UnsetType = ..., environment_variables_input: EnvironmentVariablesInput | None | UnsetType = ..., hugging_face_token_input: HuggingFaceTokenInput | None | UnsetType = ..., docker_registry_credentials_input: DockerRegistryCredentialsInput | None | UnsetType = ..., service_account_mirror_input: ServiceAccountMirrorInput | None | UnsetType = ...): (source)

Create a message from a source message and field values.

@boolean_input.setter
def boolean_input(self, value: BooleanInput | None): (source)

Set or clear the generated boolean_input field.

Set or clear the generated docker_registry_credentials_input field.

@enum_string_input.setter
def enum_string_input(self, value: EnumStringInput | None): (source)

Set or clear the generated enum_string_input field.

@environment_variables_input.setter
def environment_variables_input(self, value: EnvironmentVariablesInput | None): (source)

Set or clear the generated environment_variables_input field.

@hugging_face_token_input.setter
def hugging_face_token_input(self, value: HuggingFaceTokenInput | None): (source)

Set or clear the generated hugging_face_token_input field.

@id.setter
def id(self, value: str | None): (source)

Set or clear the generated id field.

@integer_input.setter
def integer_input(self, value: IntegerInput | None): (source)

Set or clear the generated integer_input field.

@integer_unit_input.setter
def integer_unit_input(self, value: IntegerUnitInput | None): (source)

Set or clear the generated integer_unit_input field.

@required.setter
def required(self, value: bool | None): (source)

Set or clear the generated required field.

@service_account_mirror_input.setter
def service_account_mirror_input(self, value: ServiceAccountMirrorInput | None): (source)

Set or clear the generated service_account_mirror_input field.

@string_input.setter
def string_input(self, value: StringInput | None): (source)

Set or clear the generated string_input field.

@text_content_input.setter
def text_content_input(self, value: TextContentInput | None): (source)

Set or clear the generated text_content_input field.

A Boolean input.

@property
docker_registry_credentials_input: DockerRegistryCredentialsInput | None = (source)

A Docker registry credential input.

A string input with predefined options.

@property
environment_variables_input: EnvironmentVariablesInput | None = (source)

An environment variable input.

@property
hugging_face_token_input: HuggingFaceTokenInput | None = (source)

A Hugging Face token input.

The input ID. Template input values use this ID as their key.

@property
input: __OneOfClass_input_string_input__ | __OneOfClass_input_enum_string_input__ | __OneOfClass_input_integer_input__ | __OneOfClass_input_integer_unit_input__ | __OneOfClass_input_boolean_input__ | __OneOfClass_input_text_content_input__ | __OneOfClass_input_environment_variables_input__ | __OneOfClass_input_hugging_face_token_input__ | __OneOfClass_input_docker_registry_credentials_input__ | __OneOfClass_input_service_account_mirror_input__ | None = (source)

The input type and its configuration.

An integer input.

An integer input with a unit suffix.

Whether the template requires a value for this input.

@property
service_account_mirror_input: ServiceAccountMirrorInput | None = (source)

A service account selector.

A string input.

A read-only text element.