summaryrefslogtreecommitdiff
path: root/ccast/chan/cast_channel.pb-c.c
diff options
context:
space:
mode:
Diffstat (limited to 'ccast/chan/cast_channel.pb-c.c')
-rw-r--r--ccast/chan/cast_channel.pb-c.c593
1 files changed, 593 insertions, 0 deletions
diff --git a/ccast/chan/cast_channel.pb-c.c b/ccast/chan/cast_channel.pb-c.c
new file mode 100644
index 0000000..ec79608
--- /dev/null
+++ b/ccast/chan/cast_channel.pb-c.c
@@ -0,0 +1,593 @@
+/* Generated by the protocol buffer compiler. DO NOT EDIT! */
+/* Generated from: cast_channel.proto */
+
+/* Do not generate deprecated warnings for self */
+#ifndef PROTOBUF_C__NO_DEPRECATED
+#define PROTOBUF_C__NO_DEPRECATED
+#endif
+
+#include "cast_channel.pb-c.h"
+void extensions__api__cast_channel__cast_message__init
+ (Extensions__Api__CastChannel__CastMessage *message)
+{
+ static Extensions__Api__CastChannel__CastMessage init_value = EXTENSIONS__API__CAST_CHANNEL__CAST_MESSAGE__INIT;
+ *message = init_value;
+}
+size_t extensions__api__cast_channel__cast_message__get_packed_size
+ (const Extensions__Api__CastChannel__CastMessage *message)
+{
+ assert(message->base.descriptor == &extensions__api__cast_channel__cast_message__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t extensions__api__cast_channel__cast_message__pack
+ (const Extensions__Api__CastChannel__CastMessage *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &extensions__api__cast_channel__cast_message__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t extensions__api__cast_channel__cast_message__pack_to_buffer
+ (const Extensions__Api__CastChannel__CastMessage *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &extensions__api__cast_channel__cast_message__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+Extensions__Api__CastChannel__CastMessage *
+ extensions__api__cast_channel__cast_message__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (Extensions__Api__CastChannel__CastMessage *)
+ protobuf_c_message_unpack (&extensions__api__cast_channel__cast_message__descriptor,
+ allocator, len, data);
+}
+void extensions__api__cast_channel__cast_message__free_unpacked
+ (Extensions__Api__CastChannel__CastMessage *message,
+ ProtobufCAllocator *allocator)
+{
+ assert(message->base.descriptor == &extensions__api__cast_channel__cast_message__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+void extensions__api__cast_channel__auth_challenge__init
+ (Extensions__Api__CastChannel__AuthChallenge *message)
+{
+ static Extensions__Api__CastChannel__AuthChallenge init_value = EXTENSIONS__API__CAST_CHANNEL__AUTH_CHALLENGE__INIT;
+ *message = init_value;
+}
+size_t extensions__api__cast_channel__auth_challenge__get_packed_size
+ (const Extensions__Api__CastChannel__AuthChallenge *message)
+{
+ assert(message->base.descriptor == &extensions__api__cast_channel__auth_challenge__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t extensions__api__cast_channel__auth_challenge__pack
+ (const Extensions__Api__CastChannel__AuthChallenge *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &extensions__api__cast_channel__auth_challenge__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t extensions__api__cast_channel__auth_challenge__pack_to_buffer
+ (const Extensions__Api__CastChannel__AuthChallenge *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &extensions__api__cast_channel__auth_challenge__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+Extensions__Api__CastChannel__AuthChallenge *
+ extensions__api__cast_channel__auth_challenge__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (Extensions__Api__CastChannel__AuthChallenge *)
+ protobuf_c_message_unpack (&extensions__api__cast_channel__auth_challenge__descriptor,
+ allocator, len, data);
+}
+void extensions__api__cast_channel__auth_challenge__free_unpacked
+ (Extensions__Api__CastChannel__AuthChallenge *message,
+ ProtobufCAllocator *allocator)
+{
+ assert(message->base.descriptor == &extensions__api__cast_channel__auth_challenge__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+void extensions__api__cast_channel__auth_response__init
+ (Extensions__Api__CastChannel__AuthResponse *message)
+{
+ static Extensions__Api__CastChannel__AuthResponse init_value = EXTENSIONS__API__CAST_CHANNEL__AUTH_RESPONSE__INIT;
+ *message = init_value;
+}
+size_t extensions__api__cast_channel__auth_response__get_packed_size
+ (const Extensions__Api__CastChannel__AuthResponse *message)
+{
+ assert(message->base.descriptor == &extensions__api__cast_channel__auth_response__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t extensions__api__cast_channel__auth_response__pack
+ (const Extensions__Api__CastChannel__AuthResponse *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &extensions__api__cast_channel__auth_response__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t extensions__api__cast_channel__auth_response__pack_to_buffer
+ (const Extensions__Api__CastChannel__AuthResponse *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &extensions__api__cast_channel__auth_response__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+Extensions__Api__CastChannel__AuthResponse *
+ extensions__api__cast_channel__auth_response__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (Extensions__Api__CastChannel__AuthResponse *)
+ protobuf_c_message_unpack (&extensions__api__cast_channel__auth_response__descriptor,
+ allocator, len, data);
+}
+void extensions__api__cast_channel__auth_response__free_unpacked
+ (Extensions__Api__CastChannel__AuthResponse *message,
+ ProtobufCAllocator *allocator)
+{
+ assert(message->base.descriptor == &extensions__api__cast_channel__auth_response__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+void extensions__api__cast_channel__auth_error__init
+ (Extensions__Api__CastChannel__AuthError *message)
+{
+ static Extensions__Api__CastChannel__AuthError init_value = EXTENSIONS__API__CAST_CHANNEL__AUTH_ERROR__INIT;
+ *message = init_value;
+}
+size_t extensions__api__cast_channel__auth_error__get_packed_size
+ (const Extensions__Api__CastChannel__AuthError *message)
+{
+ assert(message->base.descriptor == &extensions__api__cast_channel__auth_error__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t extensions__api__cast_channel__auth_error__pack
+ (const Extensions__Api__CastChannel__AuthError *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &extensions__api__cast_channel__auth_error__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t extensions__api__cast_channel__auth_error__pack_to_buffer
+ (const Extensions__Api__CastChannel__AuthError *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &extensions__api__cast_channel__auth_error__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+Extensions__Api__CastChannel__AuthError *
+ extensions__api__cast_channel__auth_error__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (Extensions__Api__CastChannel__AuthError *)
+ protobuf_c_message_unpack (&extensions__api__cast_channel__auth_error__descriptor,
+ allocator, len, data);
+}
+void extensions__api__cast_channel__auth_error__free_unpacked
+ (Extensions__Api__CastChannel__AuthError *message,
+ ProtobufCAllocator *allocator)
+{
+ assert(message->base.descriptor == &extensions__api__cast_channel__auth_error__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+void extensions__api__cast_channel__device_auth_message__init
+ (Extensions__Api__CastChannel__DeviceAuthMessage *message)
+{
+ static Extensions__Api__CastChannel__DeviceAuthMessage init_value = EXTENSIONS__API__CAST_CHANNEL__DEVICE_AUTH_MESSAGE__INIT;
+ *message = init_value;
+}
+size_t extensions__api__cast_channel__device_auth_message__get_packed_size
+ (const Extensions__Api__CastChannel__DeviceAuthMessage *message)
+{
+ assert(message->base.descriptor == &extensions__api__cast_channel__device_auth_message__descriptor);
+ return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
+}
+size_t extensions__api__cast_channel__device_auth_message__pack
+ (const Extensions__Api__CastChannel__DeviceAuthMessage *message,
+ uint8_t *out)
+{
+ assert(message->base.descriptor == &extensions__api__cast_channel__device_auth_message__descriptor);
+ return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
+}
+size_t extensions__api__cast_channel__device_auth_message__pack_to_buffer
+ (const Extensions__Api__CastChannel__DeviceAuthMessage *message,
+ ProtobufCBuffer *buffer)
+{
+ assert(message->base.descriptor == &extensions__api__cast_channel__device_auth_message__descriptor);
+ return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
+}
+Extensions__Api__CastChannel__DeviceAuthMessage *
+ extensions__api__cast_channel__device_auth_message__unpack
+ (ProtobufCAllocator *allocator,
+ size_t len,
+ const uint8_t *data)
+{
+ return (Extensions__Api__CastChannel__DeviceAuthMessage *)
+ protobuf_c_message_unpack (&extensions__api__cast_channel__device_auth_message__descriptor,
+ allocator, len, data);
+}
+void extensions__api__cast_channel__device_auth_message__free_unpacked
+ (Extensions__Api__CastChannel__DeviceAuthMessage *message,
+ ProtobufCAllocator *allocator)
+{
+ assert(message->base.descriptor == &extensions__api__cast_channel__device_auth_message__descriptor);
+ protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
+}
+const ProtobufCEnumValue extensions__api__cast_channel__cast_message__protocol_version__enum_values_by_number[1] =
+{
+ { "CASTV2_1_0", "EXTENSIONS__API__CAST_CHANNEL__CAST_MESSAGE__PROTOCOL_VERSION__CASTV2_1_0", 0 },
+};
+static const ProtobufCIntRange extensions__api__cast_channel__cast_message__protocol_version__value_ranges[] = {
+{0, 0},{0, 1}
+};
+const ProtobufCEnumValueIndex extensions__api__cast_channel__cast_message__protocol_version__enum_values_by_name[1] =
+{
+ { "CASTV2_1_0", 0 },
+};
+const ProtobufCEnumDescriptor extensions__api__cast_channel__cast_message__protocol_version__descriptor =
+{
+ PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
+ "extensions.api.cast_channel.CastMessage.ProtocolVersion",
+ "ProtocolVersion",
+ "Extensions__Api__CastChannel__CastMessage__ProtocolVersion",
+ "extensions.api.cast_channel",
+ 1,
+ extensions__api__cast_channel__cast_message__protocol_version__enum_values_by_number,
+ 1,
+ extensions__api__cast_channel__cast_message__protocol_version__enum_values_by_name,
+ 1,
+ extensions__api__cast_channel__cast_message__protocol_version__value_ranges,
+ NULL,NULL,NULL,NULL /* reserved[1234] */
+};
+const ProtobufCEnumValue extensions__api__cast_channel__cast_message__payload_type__enum_values_by_number[2] =
+{
+ { "STRING", "EXTENSIONS__API__CAST_CHANNEL__CAST_MESSAGE__PAYLOAD_TYPE__STRING", 0 },
+ { "BINARY", "EXTENSIONS__API__CAST_CHANNEL__CAST_MESSAGE__PAYLOAD_TYPE__BINARY", 1 },
+};
+static const ProtobufCIntRange extensions__api__cast_channel__cast_message__payload_type__value_ranges[] = {
+{0, 0},{0, 2}
+};
+const ProtobufCEnumValueIndex extensions__api__cast_channel__cast_message__payload_type__enum_values_by_name[2] =
+{
+ { "BINARY", 1 },
+ { "STRING", 0 },
+};
+const ProtobufCEnumDescriptor extensions__api__cast_channel__cast_message__payload_type__descriptor =
+{
+ PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
+ "extensions.api.cast_channel.CastMessage.PayloadType",
+ "PayloadType",
+ "Extensions__Api__CastChannel__CastMessage__PayloadType",
+ "extensions.api.cast_channel",
+ 2,
+ extensions__api__cast_channel__cast_message__payload_type__enum_values_by_number,
+ 2,
+ extensions__api__cast_channel__cast_message__payload_type__enum_values_by_name,
+ 1,
+ extensions__api__cast_channel__cast_message__payload_type__value_ranges,
+ NULL,NULL,NULL,NULL /* reserved[1234] */
+};
+static const ProtobufCFieldDescriptor extensions__api__cast_channel__cast_message__field_descriptors[7] =
+{
+ {
+ "protocol_version",
+ 1,
+ PROTOBUF_C_LABEL_REQUIRED,
+ PROTOBUF_C_TYPE_ENUM,
+ 0, /* quantifier_offset */
+ offsetof(Extensions__Api__CastChannel__CastMessage, protocol_version),
+ &extensions__api__cast_channel__cast_message__protocol_version__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "source_id",
+ 2,
+ PROTOBUF_C_LABEL_REQUIRED,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(Extensions__Api__CastChannel__CastMessage, source_id),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "destination_id",
+ 3,
+ PROTOBUF_C_LABEL_REQUIRED,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(Extensions__Api__CastChannel__CastMessage, destination_id),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "namespace",
+ 4,
+ PROTOBUF_C_LABEL_REQUIRED,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(Extensions__Api__CastChannel__CastMessage, namespace_),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "payload_type",
+ 5,
+ PROTOBUF_C_LABEL_REQUIRED,
+ PROTOBUF_C_TYPE_ENUM,
+ 0, /* quantifier_offset */
+ offsetof(Extensions__Api__CastChannel__CastMessage, payload_type),
+ &extensions__api__cast_channel__cast_message__payload_type__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "payload_utf8",
+ 6,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_STRING,
+ 0, /* quantifier_offset */
+ offsetof(Extensions__Api__CastChannel__CastMessage, payload_utf8),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "payload_binary",
+ 7,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_BYTES,
+ offsetof(Extensions__Api__CastChannel__CastMessage, has_payload_binary),
+ offsetof(Extensions__Api__CastChannel__CastMessage, payload_binary),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned extensions__api__cast_channel__cast_message__field_indices_by_name[] = {
+ 2, /* field[2] = destination_id */
+ 3, /* field[3] = namespace */
+ 6, /* field[6] = payload_binary */
+ 4, /* field[4] = payload_type */
+ 5, /* field[5] = payload_utf8 */
+ 0, /* field[0] = protocol_version */
+ 1, /* field[1] = source_id */
+};
+static const ProtobufCIntRange extensions__api__cast_channel__cast_message__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 7 }
+};
+const ProtobufCMessageDescriptor extensions__api__cast_channel__cast_message__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "extensions.api.cast_channel.CastMessage",
+ "CastMessage",
+ "Extensions__Api__CastChannel__CastMessage",
+ "extensions.api.cast_channel",
+ sizeof(Extensions__Api__CastChannel__CastMessage),
+ 7,
+ extensions__api__cast_channel__cast_message__field_descriptors,
+ extensions__api__cast_channel__cast_message__field_indices_by_name,
+ 1, extensions__api__cast_channel__cast_message__number_ranges,
+ (ProtobufCMessageInit) extensions__api__cast_channel__cast_message__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
+#define extensions__api__cast_channel__auth_challenge__field_descriptors NULL
+#define extensions__api__cast_channel__auth_challenge__field_indices_by_name NULL
+#define extensions__api__cast_channel__auth_challenge__number_ranges NULL
+const ProtobufCMessageDescriptor extensions__api__cast_channel__auth_challenge__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "extensions.api.cast_channel.AuthChallenge",
+ "AuthChallenge",
+ "Extensions__Api__CastChannel__AuthChallenge",
+ "extensions.api.cast_channel",
+ sizeof(Extensions__Api__CastChannel__AuthChallenge),
+ 0,
+ extensions__api__cast_channel__auth_challenge__field_descriptors,
+ extensions__api__cast_channel__auth_challenge__field_indices_by_name,
+ 0, extensions__api__cast_channel__auth_challenge__number_ranges,
+ (ProtobufCMessageInit) extensions__api__cast_channel__auth_challenge__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor extensions__api__cast_channel__auth_response__field_descriptors[2] =
+{
+ {
+ "signature",
+ 1,
+ PROTOBUF_C_LABEL_REQUIRED,
+ PROTOBUF_C_TYPE_BYTES,
+ 0, /* quantifier_offset */
+ offsetof(Extensions__Api__CastChannel__AuthResponse, signature),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "client_auth_certificate",
+ 2,
+ PROTOBUF_C_LABEL_REQUIRED,
+ PROTOBUF_C_TYPE_BYTES,
+ 0, /* quantifier_offset */
+ offsetof(Extensions__Api__CastChannel__AuthResponse, client_auth_certificate),
+ NULL,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned extensions__api__cast_channel__auth_response__field_indices_by_name[] = {
+ 1, /* field[1] = client_auth_certificate */
+ 0, /* field[0] = signature */
+};
+static const ProtobufCIntRange extensions__api__cast_channel__auth_response__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 2 }
+};
+const ProtobufCMessageDescriptor extensions__api__cast_channel__auth_response__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "extensions.api.cast_channel.AuthResponse",
+ "AuthResponse",
+ "Extensions__Api__CastChannel__AuthResponse",
+ "extensions.api.cast_channel",
+ sizeof(Extensions__Api__CastChannel__AuthResponse),
+ 2,
+ extensions__api__cast_channel__auth_response__field_descriptors,
+ extensions__api__cast_channel__auth_response__field_indices_by_name,
+ 1, extensions__api__cast_channel__auth_response__number_ranges,
+ (ProtobufCMessageInit) extensions__api__cast_channel__auth_response__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
+const ProtobufCEnumValue extensions__api__cast_channel__auth_error__error_type__enum_values_by_number[2] =
+{
+ { "INTERNAL_ERROR", "EXTENSIONS__API__CAST_CHANNEL__AUTH_ERROR__ERROR_TYPE__INTERNAL_ERROR", 0 },
+ { "NO_TLS", "EXTENSIONS__API__CAST_CHANNEL__AUTH_ERROR__ERROR_TYPE__NO_TLS", 1 },
+};
+static const ProtobufCIntRange extensions__api__cast_channel__auth_error__error_type__value_ranges[] = {
+{0, 0},{0, 2}
+};
+const ProtobufCEnumValueIndex extensions__api__cast_channel__auth_error__error_type__enum_values_by_name[2] =
+{
+ { "INTERNAL_ERROR", 0 },
+ { "NO_TLS", 1 },
+};
+const ProtobufCEnumDescriptor extensions__api__cast_channel__auth_error__error_type__descriptor =
+{
+ PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
+ "extensions.api.cast_channel.AuthError.ErrorType",
+ "ErrorType",
+ "Extensions__Api__CastChannel__AuthError__ErrorType",
+ "extensions.api.cast_channel",
+ 2,
+ extensions__api__cast_channel__auth_error__error_type__enum_values_by_number,
+ 2,
+ extensions__api__cast_channel__auth_error__error_type__enum_values_by_name,
+ 1,
+ extensions__api__cast_channel__auth_error__error_type__value_ranges,
+ NULL,NULL,NULL,NULL /* reserved[1234] */
+};
+static const ProtobufCFieldDescriptor extensions__api__cast_channel__auth_error__field_descriptors[1] =
+{
+ {
+ "error_type",
+ 1,
+ PROTOBUF_C_LABEL_REQUIRED,
+ PROTOBUF_C_TYPE_ENUM,
+ 0, /* quantifier_offset */
+ offsetof(Extensions__Api__CastChannel__AuthError, error_type),
+ &extensions__api__cast_channel__auth_error__error_type__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned extensions__api__cast_channel__auth_error__field_indices_by_name[] = {
+ 0, /* field[0] = error_type */
+};
+static const ProtobufCIntRange extensions__api__cast_channel__auth_error__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 1 }
+};
+const ProtobufCMessageDescriptor extensions__api__cast_channel__auth_error__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "extensions.api.cast_channel.AuthError",
+ "AuthError",
+ "Extensions__Api__CastChannel__AuthError",
+ "extensions.api.cast_channel",
+ sizeof(Extensions__Api__CastChannel__AuthError),
+ 1,
+ extensions__api__cast_channel__auth_error__field_descriptors,
+ extensions__api__cast_channel__auth_error__field_indices_by_name,
+ 1, extensions__api__cast_channel__auth_error__number_ranges,
+ (ProtobufCMessageInit) extensions__api__cast_channel__auth_error__init,
+ NULL,NULL,NULL /* reserved[123] */
+};
+static const ProtobufCFieldDescriptor extensions__api__cast_channel__device_auth_message__field_descriptors[3] =
+{
+ {
+ "challenge",
+ 1,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_MESSAGE,
+ 0, /* quantifier_offset */
+ offsetof(Extensions__Api__CastChannel__DeviceAuthMessage, challenge),
+ &extensions__api__cast_channel__auth_challenge__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "response",
+ 2,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_MESSAGE,
+ 0, /* quantifier_offset */
+ offsetof(Extensions__Api__CastChannel__DeviceAuthMessage, response),
+ &extensions__api__cast_channel__auth_response__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+ {
+ "error",
+ 3,
+ PROTOBUF_C_LABEL_OPTIONAL,
+ PROTOBUF_C_TYPE_MESSAGE,
+ 0, /* quantifier_offset */
+ offsetof(Extensions__Api__CastChannel__DeviceAuthMessage, error),
+ &extensions__api__cast_channel__auth_error__descriptor,
+ NULL,
+ 0, /* flags */
+ 0,NULL,NULL /* reserved1,reserved2, etc */
+ },
+};
+static const unsigned extensions__api__cast_channel__device_auth_message__field_indices_by_name[] = {
+ 0, /* field[0] = challenge */
+ 2, /* field[2] = error */
+ 1, /* field[1] = response */
+};
+static const ProtobufCIntRange extensions__api__cast_channel__device_auth_message__number_ranges[1 + 1] =
+{
+ { 1, 0 },
+ { 0, 3 }
+};
+const ProtobufCMessageDescriptor extensions__api__cast_channel__device_auth_message__descriptor =
+{
+ PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
+ "extensions.api.cast_channel.DeviceAuthMessage",
+ "DeviceAuthMessage",
+ "Extensions__Api__CastChannel__DeviceAuthMessage",
+ "extensions.api.cast_channel",
+ sizeof(Extensions__Api__CastChannel__DeviceAuthMessage),
+ 3,
+ extensions__api__cast_channel__device_auth_message__field_descriptors,
+ extensions__api__cast_channel__device_auth_message__field_indices_by_name,
+ 1, extensions__api__cast_channel__device_auth_message__number_ranges,
+ (ProtobufCMessageInit) extensions__api__cast_channel__device_auth_message__init,
+ NULL,NULL,NULL /* reserved[123] */
+};