Source code for deephaven_enterprise.proto.config_pb2

"""
@generated by mypy-protobuf.  Do not edit manually!
isort:skip_file

Copyright (c) 2016-2019 Deephaven Data Labs and Patent Pending
"""

import builtins
import collections.abc
import google.protobuf.descriptor
import google.protobuf.internal.containers
import google.protobuf.message
import sys
import typing

if sys.version_info >= (3, 10):
    import typing as typing_extensions
else:
    import typing_extensions

[docs] DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
@typing.final
[docs] class GetFileRequest(google.protobuf.message.Message):
[docs] DESCRIPTOR: google.protobuf.descriptor.Descriptor
[docs] NAME_FIELD_NUMBER: builtins.int
[docs] name: builtins.str
def __init__( self, *, name: builtins.str = ..., ) -> None: ...
[docs] def ClearField(self, field_name: typing.Literal["name", b"name"]) -> None: ...
[docs] Global___GetFileRequest: typing_extensions.TypeAlias = GetFileRequest
@typing.final
[docs] class GetFileResponse(google.protobuf.message.Message):
[docs] DESCRIPTOR: google.protobuf.descriptor.Descriptor
[docs] NAME_FIELD_NUMBER: builtins.int
[docs] CONTENTBYTES_FIELD_NUMBER: builtins.int
[docs] name: builtins.str
[docs] contentBytes: builtins.bytes
def __init__( self, *, name: builtins.str = ..., contentBytes: builtins.bytes = ..., ) -> None: ...
[docs] def ClearField(self, field_name: typing.Literal["contentBytes", b"contentBytes", "name", b"name"]) -> None: ...
[docs] Global___GetFileResponse: typing_extensions.TypeAlias = GetFileResponse
@typing.final
[docs] class GetAllFilesRequest(google.protobuf.message.Message):
[docs] DESCRIPTOR: google.protobuf.descriptor.Descriptor
def __init__( self, ) -> None: ...
[docs] Global___GetAllFilesRequest: typing_extensions.TypeAlias = GetAllFilesRequest
@typing.final
[docs] class UpdateFileRequest(google.protobuf.message.Message):
[docs] DESCRIPTOR: google.protobuf.descriptor.Descriptor
[docs] NAME_FIELD_NUMBER: builtins.int
[docs] CONTENTBYTES_FIELD_NUMBER: builtins.int
[docs] UPDATEONSAMECONTENTS_FIELD_NUMBER: builtins.int
[docs] name: builtins.str
[docs] contentBytes: builtins.bytes
[docs] updateOnSameContents: builtins.bool
def __init__( self, *, name: builtins.str = ..., contentBytes: builtins.bytes = ..., updateOnSameContents: builtins.bool = ..., ) -> None: ...
[docs] def ClearField(self, field_name: typing.Literal["contentBytes", b"contentBytes", "name", b"name", "updateOnSameContents", b"updateOnSameContents"]) -> None: ...
[docs] Global___UpdateFileRequest: typing_extensions.TypeAlias = UpdateFileRequest
@typing.final
[docs] class UpdateFileResponse(google.protobuf.message.Message):
[docs] DESCRIPTOR: google.protobuf.descriptor.Descriptor
def __init__( self, ) -> None: ...
[docs] Global___UpdateFileResponse: typing_extensions.TypeAlias = UpdateFileResponse
@typing.final
[docs] class UpdateFilesRequest(google.protobuf.message.Message):
[docs] DESCRIPTOR: google.protobuf.descriptor.Descriptor
[docs] UPDATEFILEREQUEST_FIELD_NUMBER: builtins.int
@property
[docs] def updateFileRequest(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[Global___UpdateFileRequest]: ...
def __init__( self, *, updateFileRequest: collections.abc.Iterable[Global___UpdateFileRequest] | None = ..., ) -> None: ...
[docs] def ClearField(self, field_name: typing.Literal["updateFileRequest", b"updateFileRequest"]) -> None: ...
[docs] Global___UpdateFilesRequest: typing_extensions.TypeAlias = UpdateFilesRequest
@typing.final
[docs] class DeleteFilesResponse(google.protobuf.message.Message): """response to DeleteFilesRequest just success or an exception """
[docs] DESCRIPTOR: google.protobuf.descriptor.Descriptor
def __init__( self, ) -> None: ...
[docs] Global___DeleteFilesResponse: typing_extensions.TypeAlias = DeleteFilesResponse
@typing.final
[docs] class DeleteFilesRequest(google.protobuf.message.Message): """Delete one or more properties files"""
[docs] DESCRIPTOR: google.protobuf.descriptor.Descriptor
[docs] NAME_FIELD_NUMBER: builtins.int
@property
[docs] def name(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
def __init__( self, *, name: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ...
[docs] def ClearField(self, field_name: typing.Literal["name", b"name"]) -> None: ...
[docs] Global___DeleteFilesRequest: typing_extensions.TypeAlias = DeleteFilesRequest
@typing.final
[docs] class AuthenticationPropertiesRequest(google.protobuf.message.Message): """Returns a GetPropertiesResponse with the set of properties required to authenticate to Deephaven. You do not need to be authenticated to make this request. """
[docs] DESCRIPTOR: google.protobuf.descriptor.Descriptor
def __init__( self, ) -> None: ...
[docs] Global___AuthenticationPropertiesRequest: typing_extensions.TypeAlias = AuthenticationPropertiesRequest
@typing.final
[docs] class GetPropertiesRequest(google.protobuf.message.Message): """Returns a GetPropertiesResponse with the requested set of properties. You must be authenticated to make this request."""
[docs] DESCRIPTOR: google.protobuf.descriptor.Descriptor
@typing.final
[docs] class ContextEntry(google.protobuf.message.Message):
[docs] DESCRIPTOR: google.protobuf.descriptor.Descriptor
[docs] KEY_FIELD_NUMBER: builtins.int
[docs] VALUE_FIELD_NUMBER: builtins.int
[docs] key: builtins.str
[docs] value: builtins.str
def __init__( self, *, key: builtins.str = ..., value: builtins.str = ..., ) -> None: ...
[docs] def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
[docs] ROOT_FILE_FIELD_NUMBER: builtins.int
[docs] CONTEXT_FIELD_NUMBER: builtins.int
[docs] PROPERTY_NAMES_FIELD_NUMBER: builtins.int
[docs] root_file: builtins.str
"""the name of the property file to parse at the root, leave unset to use the default property file""" @property
[docs] def context(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """the context keys and values for processing the property files"""
@property
[docs] def property_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: """the names of the properties to retrieve, leave empty to retrieve all properties"""
def __init__( self, *, root_file: builtins.str | None = ..., context: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., property_names: collections.abc.Iterable[builtins.str] | None = ..., ) -> None: ...
[docs] def HasField(self, field_name: typing.Literal["_root_file", b"_root_file", "root_file", b"root_file"]) -> builtins.bool: ...
[docs] def ClearField(self, field_name: typing.Literal["_root_file", b"_root_file", "context", b"context", "property_names", b"property_names", "root_file", b"root_file"]) -> None: ...
[docs] def WhichOneof(self, oneof_group: typing.Literal["_root_file", b"_root_file"]) -> typing.Literal["root_file"] | None: ...
[docs] Global___GetPropertiesRequest: typing_extensions.TypeAlias = GetPropertiesRequest
@typing.final
[docs] class GetPropertiesResponse(google.protobuf.message.Message):
[docs] DESCRIPTOR: google.protobuf.descriptor.Descriptor
@typing.final
[docs] class PropertiesEntry(google.protobuf.message.Message):
[docs] DESCRIPTOR: google.protobuf.descriptor.Descriptor
[docs] KEY_FIELD_NUMBER: builtins.int
[docs] VALUE_FIELD_NUMBER: builtins.int
[docs] key: builtins.str
[docs] value: builtins.str
def __init__( self, *, key: builtins.str = ..., value: builtins.str = ..., ) -> None: ...
[docs] def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
[docs] PROPERTIES_FIELD_NUMBER: builtins.int
@property
[docs] def properties(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """The responsive properties to the request"""
def __init__( self, *, properties: collections.abc.Mapping[builtins.str, builtins.str] | None = ..., ) -> None: ...
[docs] def ClearField(self, field_name: typing.Literal["properties", b"properties"]) -> None: ...
[docs] Global___GetPropertiesResponse: typing_extensions.TypeAlias = GetPropertiesResponse