// Copyright 2021 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
// **** DO NOT EDIT - this file was automatically generated. ****
syntax = "proto3";

package cast.v2;

option optimize_for = LITE_RUNTIME;

// Cast V2 request definition.
message CastMessageRequest {
  // Cast sender ID; distinct from virtual connection source ID.
  string sender_id = 1;
  // Cast namespace.
  string ns = 2;
  // Payload.
  oneof payload {
    string payload_utf8 = 3;
    // NOTE: |payload_binary| is currently unused but is added for potential
    // future compatibility.
    bytes payload_binary = 4;
  }
}

message CastMessageResponse {}
