Home
last modified time | relevance | path

Searched refs:field (Results 1 – 24 of 24) sorted by relevance

/tonic/tonic-types/src/richer_error/std_messages/
H A Dbad_request.rs15 pub field: String, field
23 pub fn new(field: impl Into<String>, description: impl Into<String>) -> Self { in new()
25 field: field.into(), in new()
34 field: value.field, in from()
43 field: value.field, in from()
73 pub fn with_violation(field: impl Into<String>, description: impl Into<String>) -> Self { in with_violation()
76 field: field.into(), in with_violation()
85 field: impl Into<String>, in add_violation()
89 field: field.into(), in add_violation()
/tonic/examples/proto/googleapis/google/api/
H A Dfield_behavior.proto43 // An indicator of the behavior of a given field (for example, that a field
53 // Specifically denotes a field as optional.
58 // Denotes a field as required.
63 // Denotes a field as output only.
65 // field in a request does nothing (the server *must* ignore it and
66 // *must not* throw an error as a result of the field's presence).
69 // Denotes a field as input only.
70 // This indicates that the field is provided in requests, and the
71 // corresponding field is not included in output.
74 // Denotes a field as immutable.
[all …]
H A Dresource.proto220 // Optional. The field on the resource that designates the resource name
221 // field. If omitted, this is assumed to be "name".
244 // concept of the `plural` field in k8s CRD spec
251 // The same concept of the `singular` field in k8s CRD spec
262 // Defines a proto annotation that describes a string field that refers to
265 // The resource type that the annotated field references.
275 // Occasionally, a field may reference an arbitrary resource. In this case,
287 // The resource type of a child collection that the annotated field
288 // references. This is useful for annotating the `parent` field that
H A Dhttp.proto63 // as each field is a non-repeated field with a primitive (non-message) type.
120 // as `...?param=A&param=B`. In the case of a message type, each field of the
124 // For HTTP methods that allow a request body, the `body` field
151 // every field not bound by the path template should be mapped to the
216 // parameter name is the field path in the request message. A repeated
217 // field can be represented as multiple query parameters under the same
300 // The path variables **must not** refer to any repeated or mapped field,
311 // the request or response body to a repeated field. However, some gRPC
321 // can be defined using the 'custom' field.
340 // included in the `pattern` field, such as HEAD, or "*" to leave the
[all …]
H A Dclient.proto33 // corresponding to the RPC request object). Defining this field will
/tonic/tonic/src/transport/
H A Derror.rs65 f.field(&self.inner.kind); in fmt()
68 f.field(source); in fmt()
/tonic/tonic/src/client/
H A Dgrpc.rs447 .field("inner", &self.inner) in fmt()
448 .field("origin", &self.config.origin) in fmt()
449 .field( in fmt()
453 .field( in fmt()
457 .field( in fmt()
461 .field( in fmt()
/tonic/tonic-reflection/src/server/
H A Dmod.rs208 for field in &msg.field { in process_message()
209 self.process_field(fd.clone(), &message_name, field)?; in process_message()
241 field: &FieldDescriptorProto, in process_field()
243 let field_name = extract_name(prefix, "field", field.name.as_ref())?; in process_field()
/tonic/tonic-types/src/richer_error/error_details/
H A Dmod.rs260 field: impl Into<String>, in with_bad_request_violation()
264 bad_request: Some(BadRequest::with_violation(field, description)), in with_bad_request_violation()
704 field: impl Into<String>, in add_bad_request_violation()
709 bad_request.add_violation(field, description); in add_bad_request_violation()
712 self.bad_request = Some(BadRequest::with_violation(field, description)); in add_bad_request_violation()
/tonic/tonic-reflection/proto/
H A Dreflection_v1alpha.proto33 // defined field and then handles them using corresponding methods.
39 // This field should be a fully-qualified symbol name
44 // message type with the given field number.
53 // This field should be a fully-qualified type name. The format is
133 // This field uses the error codes defined in grpc::StatusCode.
H A Dreflection_v1.proto43 // defined field and then handles them using corresponding methods.
49 // This field should be a fully-qualified symbol name
54 // message type with the given field number.
63 // This field should be a fully-qualified type name. The format is
143 // This field uses the error codes defined in grpc::StatusCode.
/tonic/tonic/src/transport/channel/service/
H A Dreconnect.rs166 .field("mk_service", &self.mk_service) in fmt()
167 .field("state", &self.state) in fmt()
168 .field("target", &self.target) in fmt()
/tonic/tonic-types/proto/
H A Derror_details.proto171 // A message type used to describe a single bad request field.
173 // A path leading to a field in the request body. The value will be a
175 // field. E.g., "field_violations.field" would identify this field.
176 string field = 1; field
H A Dstatus.proto41 // [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
/tonic/tonic/src/server/
H A Dgrpc.rs472 .field("codec", &self.codec) in fmt()
473 .field( in fmt()
477 .field( in fmt()
/tonic/examples/src/gcp/
H A DREADME.md11 to the right under the `access_token` field in the response json.
/tonic/interop/proto/grpc/testing/
H A Dmessages.proto71 // Whether to request the server to compress the response. This field is
100 // Whether the server should expect this request to be compressed. This field
124 // Whether to request the server to compress the response. This field is
/tonic/tonic/src/service/
H A Dinterceptor.rs109 .field("inner", &self.inner) in fmt()
110 .field("f", &format_args!("{}", std::any::type_name::<I>())) in fmt()
/tonic/tonic/src/
H A Dstatus.rs643 builder.field("code", &self.code); in fmt()
646 builder.field("message", &self.message); in fmt()
650 builder.field("details", &self.details); in fmt()
654 builder.field("metadata", &self.metadata); in fmt()
657 builder.field("source", &self.source); in fmt()
/tonic/examples/proto/googleapis/google/pubsub/v1/
H A Dpubsub.proto117 // not deleted, but their `topic` field is set to `_deleted-topic_`.
151 // value of this field will be `_deleted-schema_` if the schema has been
198 // Reserved for future use. This field is set only in responses from the
212 // The message data field. If this field is empty, the message must contain
216 // Attributes for this message. If this field is empty, the message must
646 // field will be `_deleted-topic_` if the topic has been deleted.
652 // If push delivery is used with this subscription, this field is
794 // This field will be honored on a best effort basis.
828 // for the audience field is not supported. More info about the OIDC JWT
864 // This field is optional and should be set only by users interested in
[all …]
/tonic/tonic-types/src/generated/
H A Dgoogle_rpc.rs201 pub field: ::prost::alloc::string::String, field
/tonic/examples/proto/routeguide/
H A Droute_guide.proto37 // repeated field), as the rectangle may cover a large area and contain a
/tonic/examples/
H A Drouteguide-tutorial.md122 // repeated field), as the rectangle may cover a large area and contain a
372 - A single value, e.g `Point`, `Rectangle`, or even a message type that includes a repeated field.
/tonic/
H A DCONTRIBUTING.md248 * build: add regex for parsing field filters