Package proto.rpc.webrtc.v1
Class Grpc.Request.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Grpc.Request,Grpc.Request.Builder>
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 TypeMethodDescriptionapi_token lets a client authenticate with the answerer over the PeerConnection when the signaling server could not authenticate it..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"];api_token lets a client authenticate with the answerer over the PeerConnection when the signaling server could not authenticate it.com.google.protobuf.ByteStringapi_token lets a client authenticate with the answerer over the PeerConnection when the signaling server could not authenticate it..proto.rpc.webrtc.v1.RequestHeaders headers = 2 [json_name = "headers"];.proto.rpc.webrtc.v1.RequestMessage message = 3 [json_name = "message"];booleanbool rst_stream = 4 [json_name = "rstStream"];.proto.rpc.webrtc.v1.Stream stream = 1 [json_name = "stream"];booleanapi_token lets a client authenticate with the answerer over the PeerConnection when the signaling server could not authenticate it.boolean.proto.rpc.webrtc.v1.RequestHeaders headers = 2 [json_name = "headers"];boolean.proto.rpc.webrtc.v1.RequestMessage message = 3 [json_name = "message"];booleanbool 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"];setApiToken(String value) api_token lets a client authenticate with the answerer over the PeerConnection when the signaling server could not authenticate it.setApiTokenBytes(com.google.protobuf.ByteString value) api_token lets a client authenticate with the answerer over the PeerConnection when the signaling server could not authenticate it.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, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getTypeCase
- Specified by:
getTypeCasein interfaceGrpc.RequestOrBuilder
-
clearType
-
hasStream
public boolean hasStream().proto.rpc.webrtc.v1.Stream stream = 1 [json_name = "stream"];- Specified by:
hasStreamin interfaceGrpc.RequestOrBuilder- Returns:
- Whether the stream field is set.
-
getStream
.proto.rpc.webrtc.v1.Stream stream = 1 [json_name = "stream"];- Specified by:
getStreamin 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:
hasHeadersin interfaceGrpc.RequestOrBuilder- Returns:
- Whether the headers field is set.
-
getHeaders
.proto.rpc.webrtc.v1.RequestHeaders headers = 2 [json_name = "headers"];- Specified by:
getHeadersin 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:
hasMessagein interfaceGrpc.RequestOrBuilder- Returns:
- Whether the message field is set.
-
getMessage
.proto.rpc.webrtc.v1.RequestMessage message = 3 [json_name = "message"];- Specified by:
getMessagein 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:
hasRstStreamin interfaceGrpc.RequestOrBuilder- Returns:
- Whether the rstStream field is set.
-
getRstStream
public boolean getRstStream()bool rst_stream = 4 [json_name = "rstStream"];- Specified by:
getRstStreamin 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.
-
hasApiToken
public boolean hasApiToken()api_token lets a client authenticate with the answerer over the PeerConnection when the signaling server could not authenticate it. In the form `<api-key-id>:<api-key>`.
string api_token = 5 [json_name = "apiToken"];- Specified by:
hasApiTokenin interfaceGrpc.RequestOrBuilder- Returns:
- Whether the apiToken field is set.
-
getApiToken
api_token lets a client authenticate with the answerer over the PeerConnection when the signaling server could not authenticate it. In the form `<api-key-id>:<api-key>`.
string api_token = 5 [json_name = "apiToken"];- Specified by:
getApiTokenin interfaceGrpc.RequestOrBuilder- Returns:
- The apiToken.
-
getApiTokenBytes
public com.google.protobuf.ByteString getApiTokenBytes()api_token lets a client authenticate with the answerer over the PeerConnection when the signaling server could not authenticate it. In the form `<api-key-id>:<api-key>`.
string api_token = 5 [json_name = "apiToken"];- Specified by:
getApiTokenBytesin interfaceGrpc.RequestOrBuilder- Returns:
- The bytes for apiToken.
-
setApiToken
api_token lets a client authenticate with the answerer over the PeerConnection when the signaling server could not authenticate it. In the form `<api-key-id>:<api-key>`.
string api_token = 5 [json_name = "apiToken"];- Parameters:
value- The apiToken to set.- Returns:
- This builder for chaining.
-
clearApiToken
api_token lets a client authenticate with the answerer over the PeerConnection when the signaling server could not authenticate it. In the form `<api-key-id>:<api-key>`.
string api_token = 5 [json_name = "apiToken"];- Returns:
- This builder for chaining.
-
setApiTokenBytes
api_token lets a client authenticate with the answerer over the PeerConnection when the signaling server could not authenticate it. In the form `<api-key-id>:<api-key>`.
string api_token = 5 [json_name = "apiToken"];- Parameters:
value- The bytes for apiToken to set.- Returns:
- This builder for chaining.
-