class documentation
class TemplateInput(Message): (source)
Constructor: TemplateInput(initial_message, id, required, string_input, ...)
Undocumented
| Class | __ |
The input type and its configuration. |
| Class | __ |
A Boolean input. |
| Class | __ |
A Docker registry credential input. |
| Class | __ |
A string input with predefined options. |
| Class | __ |
An environment variable input. |
| Class | __ |
A Hugging Face token input. |
| Class | __ |
An integer input. |
| Class | __ |
An integer input with a unit suffix. |
| Class | __ |
A service account selector. |
| Class | __ |
A string input. |
| Class | __ |
A read-only text element. |
| Class | |
BooleanInput defines a Boolean field. |
| Class | |
Docker Registry Credentials input Will be rendered as the form in UI. |
| Class | |
EnumStringInput defines a string input with predefined options. Will be rendered as a dropdown in UI. |
| Class | |
Environment variables input Will be rendered as a list of key-value pairs in UI. Cannot be optional. |
| Class | |
Hugging face token input Will be rendered as the form in UI. |
| Class | |
IntegerInput defines a simple integer field. The form displays a text box. |
| Class | |
IntegerUnitInput defines an integer input with a unit, bounds, step, and default value. The form displays a slider with the unit suffix. |
| Class | |
Service Account Mirror input Will be rendered as a service account selector in UI. |
| Class | |
No class docstring; 8/10 properties, 11/11 methods documented |
| Class | |
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 |
Set or clear the generated boolean_input field. |
| Method | docker |
Set or clear the generated docker_registry_credentials_input field. |
| Method | enum |
Set or clear the generated enum_string_input field. |
| Method | environment |
Set or clear the generated environment_variables_input field. |
| Method | hugging |
Set or clear the generated hugging_face_token_input field. |
| Method | id |
Set or clear the generated id field. |
| Method | integer |
Set or clear the generated integer_input field. |
| Method | integer |
Set or clear the generated integer_unit_input field. |
| Method | required |
Set or clear the generated required field. |
| Method | service |
Set or clear the generated service_account_mirror_input field. |
| Method | string |
Set or clear the generated string_input field. |
| Method | text |
Set or clear the generated text_content_input field. |
| Property | boolean |
A Boolean input. |
| Property | docker |
A Docker registry credential input. |
| Property | enum |
A string input with predefined options. |
| Property | environment |
An environment variable input. |
| Property | hugging |
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 |
An integer input. |
| Property | integer |
An integer input with a unit suffix. |
| Property | required |
Whether the template requires a value for this input. |
| Property | service |
A service account selector. |
| Property | string |
A string input. |
| Property | text |
A read-only text element. |
Inherited from Message:
| Class Method | from |
Create a message from protobuf JSON mapping. |
| Class Method | |
Create a message by parsing protobuf wire-format bytes. |
| Class Method | get |
Return the message descriptor from the registry. |
| Class Method | is |
Return True if a Python field contains credentials. |
| Class Method | is |
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 | |
Return the serialized protobuf wire size in bytes. |
| Method | check |
Check presence using a generated Python field name. |
| Method | |
Clear all fields, extensions, unknown fields, and the reset mask. |
| Method | clear |
Clear an extension value. |
| Method | |
Clear a protobuf field or oneof and record it in the reset mask. |
| Method | |
Replace this message with an independent copy of another message. |
| Method | |
Return paths of missing required fields. |
| Method | get |
Return an extension value. |
| Method | get |
Create a reset mask from the current protobuf state. |
| Method | get |
Return the reset mask for field changes. |
| Method | has |
Return True if an extension has explicit presence. |
| Method | |
Return True if a protobuf field or oneof has explicit presence. |
| Method | is |
Return True if a generated field has its default value. |
| Method | |
Return True if every required field is initialized. |
| Method | |
Merge fields from another message of the same generated type. |
| Method | |
Merge protobuf wire-format bytes into this message. |
| Method | |
Parse protobuf wire-format bytes and replace this message. |
| Method | |
Serialize the message using protobuf wire format. |
| Method | set |
Set an extension value. |
| Method | set |
Set the reset mask for this message. |
| Method | to |
Serialize this message using protobuf JSON mapping. |
| Method | which |
Return the selected Python field name for a protobuf oneof. |
| Method | |
Return the selected protobuf field name for a oneof. |
| Constant | __DEPRECATION |
Undocumented |
| Constant | __EXTENSION |
Registry that decodes protobuf extensions. |
| Constant | __FIELDS__ |
Runtime field data that the generator creates. |
| Constant | __MAX |
Maximum protobuf nesting depth for serialization, parsing, and initialization checks. |
| Constant | __PB2 |
Alias for code that expects a protobuf descriptor. |
| Constant | __PROTO |
Message descriptor from the registry. |
| Constant | __PY |
Mapping from Python names to protobuf names. |
| Constant | __REGISTRY__ |
Registry for the message and its descriptor. |
| Class Variable | __PROTO |
Fully qualified protobuf message name. |
| Property | |
Provide protobuf-compatible mapping access to extension values. |
| Class Method | _fields |
Undocumented |
| Class Method | _fields |
Undocumented |
| Class Method | _fields |
Undocumented |
| Class Method | _from |
Deserialize internally without invoking generated user warnings. |
| Class Method | _oneof |
Undocumented |
| Class Method | _public |
Undocumented |
| Class Method | _public |
Undocumented |
| Static Method | _format |
Undocumented |
| Static Method | _repr |
Undocumented |
| Method | _bind |
Undocumented |
| Method | _bind |
Undocumented |
| Method | _check |
Undocumented |
| Method | _child |
Undocumented |
| Method | _clear |
Undocumented |
| Method | _closed |
Undocumented |
| Method | _converted |
Undocumented |
| Method | _decode |
Undocumented |
| Method | _detach |
Undocumented |
| Method | _field |
Undocumented |
| Method | _field |
Undocumented |
| Method | _find |
Undocumented |
| Method | _get |
Undocumented |
| Method | _initialize |
Initialize message state, optionally suppressing generated warnings. |
| Method | _map |
Undocumented |
| Method | _merge |
Undocumented |
| Method | _nesting |
Undocumented |
| Method | _notify |
Undocumented |
| Method | _record |
Undocumented |
| Method | _repeated |
Undocumented |
| Method | _select |
Undocumented |
| Method | _serialize |
Undocumented |
| Method | _set |
Undocumented |
| Method | _suspend |
Undocumented |
| Method | _suspend |
Undocumented |
| Method | _try |
Undocumented |
| Method | _write |
Undocumented |
| Instance Variable | _extensions |
Undocumented |
| Instance Variable | _mutation |
Undocumented |
| Instance Variable | _on |
Undocumented |
| Instance Variable | _oneofs |
Undocumented |
| Instance Variable | _present |
Undocumented |
| Instance Variable | _reset |
Undocumented |
| Instance Variable | _reset |
Undocumented |
| Instance Variable | _unknown |
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.
@docker_registry_credentials_input.setter
def docker_registry_credentials_input(self, value:
def docker_registry_credentials_input(self, value:
DockerRegistryCredentialsInput | None):
(source)
¶
Set or clear the generated docker_registry_credentials_input field.
@environment_variables_input.setter
def environment_variables_input(self, value:
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:
def hugging_face_token_input(self, value:
HuggingFaceTokenInput | None):
(source)
¶
Set or clear the generated hugging_face_token_input field.
@service_account_mirror_input.setter
def service_account_mirror_input(self, value:
def service_account_mirror_input(self, value:
ServiceAccountMirrorInput | None):
(source)
¶
Set or clear the generated service_account_mirror_input field.
@property
input:
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.