@nebius/js-sdk - v0.2.54
    Preparing search index...

    Interface MessageOneofRule

    Represents the buf.validate.MessageOneofRule protobuf message.

    interface MessageOneofRule {
        "[customJson]"?: () => unknown;
        "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>;
        $type: "buf.validate.MessageOneofRule";
        fields: string[];
        required?: boolean;
        [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined;
    }

    Indexable

    • [key: symbol]: Uint8Array<ArrayBufferLike> | (() => unknown) | undefined

      Represents the buf.validate.MessageOneofRule protobuf message.

      • Uint8Array<ArrayBufferLike>
      • () => unknown
          • (): unknown
          • Represents the buf.validate.MessageOneofRule protobuf message.

            Returns unknown

      • undefined
    Index
    "[customJson]"?: () => unknown

    Returns a safe value for JSON logs.

    Type Declaration

      • (): unknown
      • Returns a safe value for JSON logs.

        Returns unknown

    "[unknownFieldsSymbol]"?: Uint8Array<ArrayBufferLike>

    Preserves protobuf fields that this SDK version does not recognize.

    $type: "buf.validate.MessageOneofRule"

    Contains the fully qualified protobuf type name.

    fields: string[]

    A list of field names to include in the oneof. All field names must be defined in the message. At least one field must be specified, and duplicates are not permitted.

    required?: boolean

    If true, one of the fields specified must be set.