|
| 1 | +# Code generated by protoc-gen-rbi. DO NOT EDIT. |
| 2 | +# source: okapi/hashing/v1/hashing.proto |
| 3 | + |
| 4 | +module Okapi |
| 5 | +end |
| 6 | +module Okapi::Hashing |
| 7 | +end |
| 8 | +module Okapi::Hashing::V1 |
| 9 | +end |
| 10 | + |
| 11 | +class Okapi::Hashing::V1::Blake3HashRequest |
| 12 | + |
| 13 | + def self.decode: (String) -> Okapi::Hashing::V1::Blake3HashRequest |
| 14 | + |
| 15 | + def self.encode: (Okapi::Hashing::V1::Blake3HashRequest) -> String |
| 16 | + |
| 17 | + def self.decode_json: (String, untyped kw) -> Okapi::Hashing::V1::Blake3HashRequest |
| 18 | + |
| 19 | + def self.encode_json: (Okapi::Hashing::V1::Blake3HashRequest, untyped kw) -> String |
| 20 | + |
| 21 | + def self.descriptor: () -> Google::Protobuf::Descriptor |
| 22 | + |
| 23 | + # Constants of the form Constant_1 are invalid. We've declined to type this as a result, taking a hash instead. |
| 24 | + def initialize: (::Hash[untyped, untyped]) -> void |
| 25 | + |
| 26 | + def initialize: ( |
| 27 | + data: String? |
| 28 | + ) -> void |
| 29 | + |
| 30 | + |
| 31 | + def data: () -> String |
| 32 | + |
| 33 | + def data=: (String) -> void |
| 34 | + |
| 35 | + def clear_data: () -> void |
| 36 | + |
| 37 | + def has_data?: () -> bool |
| 38 | + |
| 39 | + def []: (String) -> untyped |
| 40 | + |
| 41 | + def []=: (String, untyped value) -> void |
| 42 | + |
| 43 | + def to_h: () -> ::Hash[Symbol, untyped] |
| 44 | +end |
| 45 | + |
| 46 | +class Okapi::Hashing::V1::Blake3HashResponse |
| 47 | + |
| 48 | + def self.decode: (String) -> Okapi::Hashing::V1::Blake3HashResponse |
| 49 | + |
| 50 | + def self.encode: (Okapi::Hashing::V1::Blake3HashResponse) -> String |
| 51 | + |
| 52 | + def self.decode_json: (String, untyped kw) -> Okapi::Hashing::V1::Blake3HashResponse |
| 53 | + |
| 54 | + def self.encode_json: (Okapi::Hashing::V1::Blake3HashResponse, untyped kw) -> String |
| 55 | + |
| 56 | + def self.descriptor: () -> Google::Protobuf::Descriptor |
| 57 | + |
| 58 | + # Constants of the form Constant_1 are invalid. We've declined to type this as a result, taking a hash instead. |
| 59 | + def initialize: (::Hash[untyped, untyped]) -> void |
| 60 | + |
| 61 | + def initialize: ( |
| 62 | + digest: String? |
| 63 | + ) -> void |
| 64 | + |
| 65 | + |
| 66 | + def digest: () -> String |
| 67 | + |
| 68 | + def digest=: (String) -> void |
| 69 | + |
| 70 | + def clear_digest: () -> void |
| 71 | + |
| 72 | + def has_digest?: () -> bool |
| 73 | + |
| 74 | + def []: (String) -> untyped |
| 75 | + |
| 76 | + def []=: (String, untyped value) -> void |
| 77 | + |
| 78 | + def to_h: () -> ::Hash[Symbol, untyped] |
| 79 | +end |
| 80 | + |
| 81 | +class Okapi::Hashing::V1::Blake3KeyedHashRequest |
| 82 | + |
| 83 | + def self.decode: (String) -> Okapi::Hashing::V1::Blake3KeyedHashRequest |
| 84 | + |
| 85 | + def self.encode: (Okapi::Hashing::V1::Blake3KeyedHashRequest) -> String |
| 86 | + |
| 87 | + def self.decode_json: (String, untyped kw) -> Okapi::Hashing::V1::Blake3KeyedHashRequest |
| 88 | + |
| 89 | + def self.encode_json: (Okapi::Hashing::V1::Blake3KeyedHashRequest, untyped kw) -> String |
| 90 | + |
| 91 | + def self.descriptor: () -> Google::Protobuf::Descriptor |
| 92 | + |
| 93 | + # Constants of the form Constant_1 are invalid. We've declined to type this as a result, taking a hash instead. |
| 94 | + def initialize: (::Hash[untyped, untyped]) -> void |
| 95 | + |
| 96 | + def initialize: ( |
| 97 | + data: String?, |
| 98 | + key: String? |
| 99 | + ) -> void |
| 100 | + |
| 101 | + |
| 102 | + def data: () -> String |
| 103 | + |
| 104 | + def data=: (String) -> void |
| 105 | + |
| 106 | + def clear_data: () -> void |
| 107 | + |
| 108 | + def has_data?: () -> bool |
| 109 | + |
| 110 | + def key: () -> String |
| 111 | + |
| 112 | + def key=: (String) -> void |
| 113 | + |
| 114 | + def clear_key: () -> void |
| 115 | + |
| 116 | + def has_key?: () -> bool |
| 117 | + |
| 118 | + def []: (String) -> untyped |
| 119 | + |
| 120 | + def []=: (String, untyped value) -> void |
| 121 | + |
| 122 | + def to_h: () -> ::Hash[Symbol, untyped] |
| 123 | +end |
| 124 | + |
| 125 | +class Okapi::Hashing::V1::Blake3KeyedHashResponse |
| 126 | + |
| 127 | + def self.decode: (String) -> Okapi::Hashing::V1::Blake3KeyedHashResponse |
| 128 | + |
| 129 | + def self.encode: (Okapi::Hashing::V1::Blake3KeyedHashResponse) -> String |
| 130 | + |
| 131 | + def self.decode_json: (String, untyped kw) -> Okapi::Hashing::V1::Blake3KeyedHashResponse |
| 132 | + |
| 133 | + def self.encode_json: (Okapi::Hashing::V1::Blake3KeyedHashResponse, untyped kw) -> String |
| 134 | + |
| 135 | + def self.descriptor: () -> Google::Protobuf::Descriptor |
| 136 | + |
| 137 | + # Constants of the form Constant_1 are invalid. We've declined to type this as a result, taking a hash instead. |
| 138 | + def initialize: (::Hash[untyped, untyped]) -> void |
| 139 | + |
| 140 | + def initialize: ( |
| 141 | + digest: String? |
| 142 | + ) -> void |
| 143 | + |
| 144 | + |
| 145 | + def digest: () -> String |
| 146 | + |
| 147 | + def digest=: (String) -> void |
| 148 | + |
| 149 | + def clear_digest: () -> void |
| 150 | + |
| 151 | + def has_digest?: () -> bool |
| 152 | + |
| 153 | + def []: (String) -> untyped |
| 154 | + |
| 155 | + def []=: (String, untyped value) -> void |
| 156 | + |
| 157 | + def to_h: () -> ::Hash[Symbol, untyped] |
| 158 | +end |
| 159 | + |
| 160 | +class Okapi::Hashing::V1::Blake3DeriveKeyRequest |
| 161 | + |
| 162 | + def self.decode: (String) -> Okapi::Hashing::V1::Blake3DeriveKeyRequest |
| 163 | + |
| 164 | + def self.encode: (Okapi::Hashing::V1::Blake3DeriveKeyRequest) -> String |
| 165 | + |
| 166 | + def self.decode_json: (String, untyped kw) -> Okapi::Hashing::V1::Blake3DeriveKeyRequest |
| 167 | + |
| 168 | + def self.encode_json: (Okapi::Hashing::V1::Blake3DeriveKeyRequest, untyped kw) -> String |
| 169 | + |
| 170 | + def self.descriptor: () -> Google::Protobuf::Descriptor |
| 171 | + |
| 172 | + # Constants of the form Constant_1 are invalid. We've declined to type this as a result, taking a hash instead. |
| 173 | + def initialize: (::Hash[untyped, untyped]) -> void |
| 174 | + |
| 175 | + def initialize: ( |
| 176 | + context: String?, |
| 177 | + key_material: String? |
| 178 | + ) -> void |
| 179 | + |
| 180 | + |
| 181 | + def context: () -> String |
| 182 | + |
| 183 | + def context=: (String) -> void |
| 184 | + |
| 185 | + def clear_context: () -> void |
| 186 | + |
| 187 | + def has_context?: () -> bool |
| 188 | + |
| 189 | + def key_material: () -> String |
| 190 | + |
| 191 | + def key_material=: (String) -> void |
| 192 | + |
| 193 | + def clear_key_material: () -> void |
| 194 | + |
| 195 | + def has_key_material?: () -> bool |
| 196 | + |
| 197 | + def []: (String) -> untyped |
| 198 | + |
| 199 | + def []=: (String, untyped value) -> void |
| 200 | + |
| 201 | + def to_h: () -> ::Hash[Symbol, untyped] |
| 202 | +end |
| 203 | + |
| 204 | +class Okapi::Hashing::V1::Blake3DeriveKeyResponse |
| 205 | + |
| 206 | + def self.decode: (String) -> Okapi::Hashing::V1::Blake3DeriveKeyResponse |
| 207 | + |
| 208 | + def self.encode: (Okapi::Hashing::V1::Blake3DeriveKeyResponse) -> String |
| 209 | + |
| 210 | + def self.decode_json: (String, untyped kw) -> Okapi::Hashing::V1::Blake3DeriveKeyResponse |
| 211 | + |
| 212 | + def self.encode_json: (Okapi::Hashing::V1::Blake3DeriveKeyResponse, untyped kw) -> String |
| 213 | + |
| 214 | + def self.descriptor: () -> Google::Protobuf::Descriptor |
| 215 | + |
| 216 | + # Constants of the form Constant_1 are invalid. We've declined to type this as a result, taking a hash instead. |
| 217 | + def initialize: (::Hash[untyped, untyped]) -> void |
| 218 | + |
| 219 | + def initialize: ( |
| 220 | + digest: String? |
| 221 | + ) -> void |
| 222 | + |
| 223 | + |
| 224 | + def digest: () -> String |
| 225 | + |
| 226 | + def digest=: (String) -> void |
| 227 | + |
| 228 | + def clear_digest: () -> void |
| 229 | + |
| 230 | + def has_digest?: () -> bool |
| 231 | + |
| 232 | + def []: (String) -> untyped |
| 233 | + |
| 234 | + def []=: (String, untyped value) -> void |
| 235 | + |
| 236 | + def to_h: () -> ::Hash[Symbol, untyped] |
| 237 | +end |
| 238 | + |
| 239 | +class Okapi::Hashing::V1::SHA256HashRequest |
| 240 | + |
| 241 | + def self.decode: (String) -> Okapi::Hashing::V1::SHA256HashRequest |
| 242 | + |
| 243 | + def self.encode: (Okapi::Hashing::V1::SHA256HashRequest) -> String |
| 244 | + |
| 245 | + def self.decode_json: (String, untyped kw) -> Okapi::Hashing::V1::SHA256HashRequest |
| 246 | + |
| 247 | + def self.encode_json: (Okapi::Hashing::V1::SHA256HashRequest, untyped kw) -> String |
| 248 | + |
| 249 | + def self.descriptor: () -> Google::Protobuf::Descriptor |
| 250 | + |
| 251 | + # Constants of the form Constant_1 are invalid. We've declined to type this as a result, taking a hash instead. |
| 252 | + def initialize: (::Hash[untyped, untyped]) -> void |
| 253 | + |
| 254 | + def initialize: ( |
| 255 | + data: String? |
| 256 | + ) -> void |
| 257 | + |
| 258 | + |
| 259 | + def data: () -> String |
| 260 | + |
| 261 | + def data=: (String) -> void |
| 262 | + |
| 263 | + def clear_data: () -> void |
| 264 | + |
| 265 | + def has_data?: () -> bool |
| 266 | + |
| 267 | + def []: (String) -> untyped |
| 268 | + |
| 269 | + def []=: (String, untyped value) -> void |
| 270 | + |
| 271 | + def to_h: () -> ::Hash[Symbol, untyped] |
| 272 | +end |
| 273 | + |
| 274 | +class Okapi::Hashing::V1::SHA256HashResponse |
| 275 | + |
| 276 | + def self.decode: (String) -> Okapi::Hashing::V1::SHA256HashResponse |
| 277 | + |
| 278 | + def self.encode: (Okapi::Hashing::V1::SHA256HashResponse) -> String |
| 279 | + |
| 280 | + def self.decode_json: (String, untyped kw) -> Okapi::Hashing::V1::SHA256HashResponse |
| 281 | + |
| 282 | + def self.encode_json: (Okapi::Hashing::V1::SHA256HashResponse, untyped kw) -> String |
| 283 | + |
| 284 | + def self.descriptor: () -> Google::Protobuf::Descriptor |
| 285 | + |
| 286 | + # Constants of the form Constant_1 are invalid. We've declined to type this as a result, taking a hash instead. |
| 287 | + def initialize: (::Hash[untyped, untyped]) -> void |
| 288 | + |
| 289 | + def initialize: ( |
| 290 | + digest: String? |
| 291 | + ) -> void |
| 292 | + |
| 293 | + |
| 294 | + def digest: () -> String |
| 295 | + |
| 296 | + def digest=: (String) -> void |
| 297 | + |
| 298 | + def clear_digest: () -> void |
| 299 | + |
| 300 | + def has_digest?: () -> bool |
| 301 | + |
| 302 | + def []: (String) -> untyped |
| 303 | + |
| 304 | + def []=: (String, untyped value) -> void |
| 305 | + |
| 306 | + def to_h: () -> ::Hash[Symbol, untyped] |
| 307 | +end |
0 commit comments