Class Grpc.PacketMessage.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Grpc.PacketMessage,Grpc.PacketMessage.Builder>
proto.rpc.webrtc.v1.Grpc.PacketMessage.Builder
All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable, Grpc.PacketMessageOrBuilder
Enclosing class:
Grpc.PacketMessage

public static final class Grpc.PacketMessage.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Grpc.PacketMessage,Grpc.PacketMessage.Builder> implements Grpc.PacketMessageOrBuilder
 A PacketMessage is used to packetize large messages (> 64KiB) to be able to safely
 transmit over WebRTC data channels.
 
Protobuf type proto.rpc.webrtc.v1.PacketMessage
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    bytes data = 1 [json_name = "data"];
    bool eom = 2 [json_name = "eom"];
    com.google.protobuf.ByteString
    bytes data = 1 [json_name = "data"];
    boolean
    bool eom = 2 [json_name = "eom"];
    setData(com.google.protobuf.ByteString value)
    bytes data = 1 [json_name = "data"];
    setEom(boolean value)
    bool eom = 2 [json_name = "eom"];

    Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getData

      public com.google.protobuf.ByteString getData()
      bytes data = 1 [json_name = "data"];
      Specified by:
      getData in interface Grpc.PacketMessageOrBuilder
      Returns:
      The data.
    • setData

      public Grpc.PacketMessage.Builder setData(com.google.protobuf.ByteString value)
      bytes data = 1 [json_name = "data"];
      Parameters:
      value - The data to set.
      Returns:
      This builder for chaining.
    • clearData

      public Grpc.PacketMessage.Builder clearData()
      bytes data = 1 [json_name = "data"];
      Returns:
      This builder for chaining.
    • getEom

      public boolean getEom()
      bool eom = 2 [json_name = "eom"];
      Specified by:
      getEom in interface Grpc.PacketMessageOrBuilder
      Returns:
      The eom.
    • setEom

      public Grpc.PacketMessage.Builder setEom(boolean value)
      bool eom = 2 [json_name = "eom"];
      Parameters:
      value - The eom to set.
      Returns:
      This builder for chaining.
    • clearEom

      public Grpc.PacketMessage.Builder clearEom()
      bool eom = 2 [json_name = "eom"];
      Returns:
      This builder for chaining.