Package proto.rpc.webrtc.v1
Class Grpc.Request.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Grpc.Request,Grpc.Request.Builder>
proto.rpc.webrtc.v1.Grpc.Request.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Grpc.RequestOrBuilder
- Enclosing class:
- Grpc.Request
public static final class Grpc.Request.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Grpc.Request,Grpc.Request.Builder>
implements Grpc.RequestOrBuilder
A Request is a frame coming from a client. It is always associated with a stream where the client assigns the stream identifier. Servers will drop frames where the stream identifier has no association (if a non-header frames are sent).Protobuf type
proto.rpc.webrtc.v1.Request
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.proto.rpc.webrtc.v1.RequestHeaders headers = 2 [json_name = "headers"];
.proto.rpc.webrtc.v1.RequestMessage message = 3 [json_name = "message"];
bool rst_stream = 4 [json_name = "rstStream"];
.proto.rpc.webrtc.v1.Stream stream = 1 [json_name = "stream"];
.proto.rpc.webrtc.v1.RequestHeaders headers = 2 [json_name = "headers"];
.proto.rpc.webrtc.v1.RequestMessage message = 3 [json_name = "message"];
boolean
bool rst_stream = 4 [json_name = "rstStream"];
.proto.rpc.webrtc.v1.Stream stream = 1 [json_name = "stream"];
boolean
.proto.rpc.webrtc.v1.RequestHeaders headers = 2 [json_name = "headers"];
boolean
.proto.rpc.webrtc.v1.RequestMessage message = 3 [json_name = "message"];
boolean
bool rst_stream = 4 [json_name = "rstStream"];
boolean
.proto.rpc.webrtc.v1.Stream stream = 1 [json_name = "stream"];
mergeHeaders
(Grpc.RequestHeaders value) .proto.rpc.webrtc.v1.RequestHeaders headers = 2 [json_name = "headers"];
mergeMessage
(Grpc.RequestMessage value) .proto.rpc.webrtc.v1.RequestMessage message = 3 [json_name = "message"];
mergeStream
(Grpc.Stream value) .proto.rpc.webrtc.v1.Stream stream = 1 [json_name = "stream"];
setHeaders
(Grpc.RequestHeaders value) .proto.rpc.webrtc.v1.RequestHeaders headers = 2 [json_name = "headers"];
setHeaders
(Grpc.RequestHeaders.Builder builderForValue) .proto.rpc.webrtc.v1.RequestHeaders headers = 2 [json_name = "headers"];
setMessage
(Grpc.RequestMessage value) .proto.rpc.webrtc.v1.RequestMessage message = 3 [json_name = "message"];
setMessage
(Grpc.RequestMessage.Builder builderForValue) .proto.rpc.webrtc.v1.RequestMessage message = 3 [json_name = "message"];
setRstStream
(boolean value) bool rst_stream = 4 [json_name = "rstStream"];
setStream
(Grpc.Stream value) .proto.rpc.webrtc.v1.Stream stream = 1 [json_name = "stream"];
setStream
(Grpc.Stream.Builder builderForValue) .proto.rpc.webrtc.v1.Stream stream = 1 [json_name = "stream"];
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
-
getTypeCase
- Specified by:
getTypeCase
in interfaceGrpc.RequestOrBuilder
-
clearType
-
hasStream
public boolean hasStream().proto.rpc.webrtc.v1.Stream stream = 1 [json_name = "stream"];
- Specified by:
hasStream
in interfaceGrpc.RequestOrBuilder
- Returns:
- Whether the stream field is set.
-
getStream
.proto.rpc.webrtc.v1.Stream stream = 1 [json_name = "stream"];
- Specified by:
getStream
in interfaceGrpc.RequestOrBuilder
- Returns:
- The stream.
-
setStream
.proto.rpc.webrtc.v1.Stream stream = 1 [json_name = "stream"];
-
setStream
.proto.rpc.webrtc.v1.Stream stream = 1 [json_name = "stream"];
-
mergeStream
.proto.rpc.webrtc.v1.Stream stream = 1 [json_name = "stream"];
-
clearStream
.proto.rpc.webrtc.v1.Stream stream = 1 [json_name = "stream"];
-
hasHeaders
public boolean hasHeaders().proto.rpc.webrtc.v1.RequestHeaders headers = 2 [json_name = "headers"];
- Specified by:
hasHeaders
in interfaceGrpc.RequestOrBuilder
- Returns:
- Whether the headers field is set.
-
getHeaders
.proto.rpc.webrtc.v1.RequestHeaders headers = 2 [json_name = "headers"];
- Specified by:
getHeaders
in interfaceGrpc.RequestOrBuilder
- Returns:
- The headers.
-
setHeaders
.proto.rpc.webrtc.v1.RequestHeaders headers = 2 [json_name = "headers"];
-
setHeaders
.proto.rpc.webrtc.v1.RequestHeaders headers = 2 [json_name = "headers"];
-
mergeHeaders
.proto.rpc.webrtc.v1.RequestHeaders headers = 2 [json_name = "headers"];
-
clearHeaders
.proto.rpc.webrtc.v1.RequestHeaders headers = 2 [json_name = "headers"];
-
hasMessage
public boolean hasMessage().proto.rpc.webrtc.v1.RequestMessage message = 3 [json_name = "message"];
- Specified by:
hasMessage
in interfaceGrpc.RequestOrBuilder
- Returns:
- Whether the message field is set.
-
getMessage
.proto.rpc.webrtc.v1.RequestMessage message = 3 [json_name = "message"];
- Specified by:
getMessage
in interfaceGrpc.RequestOrBuilder
- Returns:
- The message.
-
setMessage
.proto.rpc.webrtc.v1.RequestMessage message = 3 [json_name = "message"];
-
setMessage
.proto.rpc.webrtc.v1.RequestMessage message = 3 [json_name = "message"];
-
mergeMessage
.proto.rpc.webrtc.v1.RequestMessage message = 3 [json_name = "message"];
-
clearMessage
.proto.rpc.webrtc.v1.RequestMessage message = 3 [json_name = "message"];
-
hasRstStream
public boolean hasRstStream()bool rst_stream = 4 [json_name = "rstStream"];
- Specified by:
hasRstStream
in interfaceGrpc.RequestOrBuilder
- Returns:
- Whether the rstStream field is set.
-
getRstStream
public boolean getRstStream()bool rst_stream = 4 [json_name = "rstStream"];
- Specified by:
getRstStream
in interfaceGrpc.RequestOrBuilder
- Returns:
- The rstStream.
-
setRstStream
bool rst_stream = 4 [json_name = "rstStream"];
- Parameters:
value
- The rstStream to set.- Returns:
- This builder for chaining.
-
clearRstStream
bool rst_stream = 4 [json_name = "rstStream"];
- Returns:
- This builder for chaining.
-