Package proto.rpc.webrtc.v1
Class Grpc.RequestMessage.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Grpc.RequestMessage,Grpc.RequestMessage.Builder>
proto.rpc.webrtc.v1.Grpc.RequestMessage.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Grpc.RequestMessageOrBuilder
- Enclosing class:
- Grpc.RequestMessage
public static final class Grpc.RequestMessage.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Grpc.RequestMessage,Grpc.RequestMessage.Builder>
implements Grpc.RequestMessageOrBuilder
A RequestMessage contains individual gRPC messages and a potential end-of-stream (EOS) marker.Protobuf type
proto.rpc.webrtc.v1.RequestMessage
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionclearEos()
bool eos = 3 [json_name = "eos"];
bool has_message = 1 [json_name = "hasMessage"];
.proto.rpc.webrtc.v1.PacketMessage packet_message = 2 [json_name = "packetMessage"];
boolean
getEos()
bool eos = 3 [json_name = "eos"];
boolean
bool has_message = 1 [json_name = "hasMessage"];
.proto.rpc.webrtc.v1.PacketMessage packet_message = 2 [json_name = "packetMessage"];
boolean
.proto.rpc.webrtc.v1.PacketMessage packet_message = 2 [json_name = "packetMessage"];
.proto.rpc.webrtc.v1.PacketMessage packet_message = 2 [json_name = "packetMessage"];
setEos
(boolean value) bool eos = 3 [json_name = "eos"];
setHasMessage
(boolean value) bool has_message = 1 [json_name = "hasMessage"];
.proto.rpc.webrtc.v1.PacketMessage packet_message = 2 [json_name = "packetMessage"];
setPacketMessage
(Grpc.PacketMessage.Builder builderForValue) .proto.rpc.webrtc.v1.PacketMessage packet_message = 2 [json_name = "packetMessage"];
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
-
getHasMessage
public boolean getHasMessage()bool has_message = 1 [json_name = "hasMessage"];
- Specified by:
getHasMessage
in interfaceGrpc.RequestMessageOrBuilder
- Returns:
- The hasMessage.
-
setHasMessage
bool has_message = 1 [json_name = "hasMessage"];
- Parameters:
value
- The hasMessage to set.- Returns:
- This builder for chaining.
-
clearHasMessage
bool has_message = 1 [json_name = "hasMessage"];
- Returns:
- This builder for chaining.
-
hasPacketMessage
public boolean hasPacketMessage().proto.rpc.webrtc.v1.PacketMessage packet_message = 2 [json_name = "packetMessage"];
- Specified by:
hasPacketMessage
in interfaceGrpc.RequestMessageOrBuilder
- Returns:
- Whether the packetMessage field is set.
-
getPacketMessage
.proto.rpc.webrtc.v1.PacketMessage packet_message = 2 [json_name = "packetMessage"];
- Specified by:
getPacketMessage
in interfaceGrpc.RequestMessageOrBuilder
- Returns:
- The packetMessage.
-
setPacketMessage
.proto.rpc.webrtc.v1.PacketMessage packet_message = 2 [json_name = "packetMessage"];
-
setPacketMessage
.proto.rpc.webrtc.v1.PacketMessage packet_message = 2 [json_name = "packetMessage"];
-
mergePacketMessage
.proto.rpc.webrtc.v1.PacketMessage packet_message = 2 [json_name = "packetMessage"];
-
clearPacketMessage
.proto.rpc.webrtc.v1.PacketMessage packet_message = 2 [json_name = "packetMessage"];
-
getEos
public boolean getEos()bool eos = 3 [json_name = "eos"];
- Specified by:
getEos
in interfaceGrpc.RequestMessageOrBuilder
- Returns:
- The eos.
-
setEos
bool eos = 3 [json_name = "eos"];
- Parameters:
value
- The eos to set.- Returns:
- This builder for chaining.
-
clearEos
bool eos = 3 [json_name = "eos"];
- Returns:
- This builder for chaining.
-