The request message containing the user’s name
Field | Type | Label | Description |
---|---|---|---|
name | string | The name of the person to greet |
The response message containing the greetings
Field | Type | Label | Description |
---|---|---|---|
message | string | The message to greet the person with |
Here is the overall greeting service definition where we define all our endpoints
Method Name | Request Type | Response Type | Description |
---|---|---|---|
SayHello | SayHelloRequest | SayHelloResponse | Sends a greeting |
CloudEvent Protobuf Format
CloudEvent Protobuf Format
-- CloudEvent Context Attributes
Field | Type | Label | Description |
---|---|---|---|
id | string | Required Attributes | |
source | string | URI-reference | |
spec_version | string | ||
type | string | ||
attributes | CloudEvent.AttributesEntry | repeated | Optional & Extension Attributes |
binary_data | bytes | ||
text_data | string | ||
proto_data | google.protobuf.Any |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | CloudEvent.CloudEventAttributeValue |
The CloudEvent specification defines seven attribute value types…
Field | Type | Label | Description |
---|---|---|---|
ce_boolean | bool | ||
ce_integer | int32 | ||
ce_string | string | ||
ce_bytes | bytes | ||
ce_uri | string | ||
ce_uri_ref | string | ||
ce_timestamp | google.protobuf.Timestamp |
CloudEvent Protobuf Batch Format
Field | Type | Label | Description |
---|---|---|---|
events | CloudEvent | repeated |
The request message containing the user’s name
Field | Type | Label | Description |
---|---|---|---|
name | string | The name of the person to greet |
The response message containing the greetings
Field | Type | Label | Description |
---|---|---|---|
message | api.v1.CloudEvent | The message to greet the person with |
Here is the overall greeting service definition where we define all our endpoints
Method Name | Request Type | Response Type | Description |
---|---|---|---|
SayHello | SayHelloRequest | SayHelloResponse | Sends a greeting |