Package proto.rpc.webrtc.v1
Class Grpc.Response.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Grpc.Response,Grpc.Response.Builder>
proto.rpc.webrtc.v1.Grpc.Response.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Grpc.ResponseOrBuilder
- Enclosing class:
- Grpc.Response
public static final class Grpc.Response.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Grpc.Response,Grpc.Response.Builder>
implements Grpc.ResponseOrBuilder
A Response is a frame coming from a server. It is always associated with a stream where the client assigns the stream identifier. Clients will drop frames where the stream identifier has no association.Protobuf type
proto.rpc.webrtc.v1.Response
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.proto.rpc.webrtc.v1.ResponseHeaders headers = 2 [json_name = "headers"];
.proto.rpc.webrtc.v1.ResponseMessage message = 3 [json_name = "message"];
.proto.rpc.webrtc.v1.Stream stream = 1 [json_name = "stream"];
.proto.rpc.webrtc.v1.ResponseTrailers trailers = 4 [json_name = "trailers"];
.proto.rpc.webrtc.v1.ResponseHeaders headers = 2 [json_name = "headers"];
.proto.rpc.webrtc.v1.ResponseMessage message = 3 [json_name = "message"];
.proto.rpc.webrtc.v1.Stream stream = 1 [json_name = "stream"];
.proto.rpc.webrtc.v1.ResponseTrailers trailers = 4 [json_name = "trailers"];
boolean
.proto.rpc.webrtc.v1.ResponseHeaders headers = 2 [json_name = "headers"];
boolean
.proto.rpc.webrtc.v1.ResponseMessage message = 3 [json_name = "message"];
boolean
.proto.rpc.webrtc.v1.Stream stream = 1 [json_name = "stream"];
boolean
.proto.rpc.webrtc.v1.ResponseTrailers trailers = 4 [json_name = "trailers"];
mergeHeaders
(Grpc.ResponseHeaders value) .proto.rpc.webrtc.v1.ResponseHeaders headers = 2 [json_name = "headers"];
mergeMessage
(Grpc.ResponseMessage value) .proto.rpc.webrtc.v1.ResponseMessage message = 3 [json_name = "message"];
mergeStream
(Grpc.Stream value) .proto.rpc.webrtc.v1.Stream stream = 1 [json_name = "stream"];
.proto.rpc.webrtc.v1.ResponseTrailers trailers = 4 [json_name = "trailers"];
setHeaders
(Grpc.ResponseHeaders value) .proto.rpc.webrtc.v1.ResponseHeaders headers = 2 [json_name = "headers"];
setHeaders
(Grpc.ResponseHeaders.Builder builderForValue) .proto.rpc.webrtc.v1.ResponseHeaders headers = 2 [json_name = "headers"];
setMessage
(Grpc.ResponseMessage value) .proto.rpc.webrtc.v1.ResponseMessage message = 3 [json_name = "message"];
setMessage
(Grpc.ResponseMessage.Builder builderForValue) .proto.rpc.webrtc.v1.ResponseMessage message = 3 [json_name = "message"];
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"];
setTrailers
(Grpc.ResponseTrailers value) .proto.rpc.webrtc.v1.ResponseTrailers trailers = 4 [json_name = "trailers"];
setTrailers
(Grpc.ResponseTrailers.Builder builderForValue) .proto.rpc.webrtc.v1.ResponseTrailers trailers = 4 [json_name = "trailers"];
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.ResponseOrBuilder
-
clearType
-
hasStream
public boolean hasStream().proto.rpc.webrtc.v1.Stream stream = 1 [json_name = "stream"];
- Specified by:
hasStream
in interfaceGrpc.ResponseOrBuilder
- Returns:
- Whether the stream field is set.
-
getStream
.proto.rpc.webrtc.v1.Stream stream = 1 [json_name = "stream"];
- Specified by:
getStream
in interfaceGrpc.ResponseOrBuilder
- 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.ResponseHeaders headers = 2 [json_name = "headers"];
- Specified by:
hasHeaders
in interfaceGrpc.ResponseOrBuilder
- Returns:
- Whether the headers field is set.
-
getHeaders
.proto.rpc.webrtc.v1.ResponseHeaders headers = 2 [json_name = "headers"];
- Specified by:
getHeaders
in interfaceGrpc.ResponseOrBuilder
- Returns:
- The headers.
-
setHeaders
.proto.rpc.webrtc.v1.ResponseHeaders headers = 2 [json_name = "headers"];
-
setHeaders
.proto.rpc.webrtc.v1.ResponseHeaders headers = 2 [json_name = "headers"];
-
mergeHeaders
.proto.rpc.webrtc.v1.ResponseHeaders headers = 2 [json_name = "headers"];
-
clearHeaders
.proto.rpc.webrtc.v1.ResponseHeaders headers = 2 [json_name = "headers"];
-
hasMessage
public boolean hasMessage().proto.rpc.webrtc.v1.ResponseMessage message = 3 [json_name = "message"];
- Specified by:
hasMessage
in interfaceGrpc.ResponseOrBuilder
- Returns:
- Whether the message field is set.
-
getMessage
.proto.rpc.webrtc.v1.ResponseMessage message = 3 [json_name = "message"];
- Specified by:
getMessage
in interfaceGrpc.ResponseOrBuilder
- Returns:
- The message.
-
setMessage
.proto.rpc.webrtc.v1.ResponseMessage message = 3 [json_name = "message"];
-
setMessage
.proto.rpc.webrtc.v1.ResponseMessage message = 3 [json_name = "message"];
-
mergeMessage
.proto.rpc.webrtc.v1.ResponseMessage message = 3 [json_name = "message"];
-
clearMessage
.proto.rpc.webrtc.v1.ResponseMessage message = 3 [json_name = "message"];
-
hasTrailers
public boolean hasTrailers().proto.rpc.webrtc.v1.ResponseTrailers trailers = 4 [json_name = "trailers"];
- Specified by:
hasTrailers
in interfaceGrpc.ResponseOrBuilder
- Returns:
- Whether the trailers field is set.
-
getTrailers
.proto.rpc.webrtc.v1.ResponseTrailers trailers = 4 [json_name = "trailers"];
- Specified by:
getTrailers
in interfaceGrpc.ResponseOrBuilder
- Returns:
- The trailers.
-
setTrailers
.proto.rpc.webrtc.v1.ResponseTrailers trailers = 4 [json_name = "trailers"];
-
setTrailers
.proto.rpc.webrtc.v1.ResponseTrailers trailers = 4 [json_name = "trailers"];
-
mergeTrailers
.proto.rpc.webrtc.v1.ResponseTrailers trailers = 4 [json_name = "trailers"];
-
clearTrailers
.proto.rpc.webrtc.v1.ResponseTrailers trailers = 4 [json_name = "trailers"];
-