Package proto.rpc.webrtc.v1
Class Grpc.ResponseHeaders.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Grpc.ResponseHeaders,Grpc.ResponseHeaders.Builder>
proto.rpc.webrtc.v1.Grpc.ResponseHeaders.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Grpc.ResponseHeadersOrBuilder
- Enclosing class:
- Grpc.ResponseHeaders
public static final class Grpc.ResponseHeaders.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Grpc.ResponseHeaders,Grpc.ResponseHeaders.Builder>
implements Grpc.ResponseHeadersOrBuilder
ResponseHeaders contain custom metadata that are sent to the client before any message or trailers (unless only trailers are sent).Protobuf type
proto.rpc.webrtc.v1.ResponseHeaders
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.proto.rpc.webrtc.v1.Metadata metadata = 1 [json_name = "metadata"];
.proto.rpc.webrtc.v1.Metadata metadata = 1 [json_name = "metadata"];
boolean
.proto.rpc.webrtc.v1.Metadata metadata = 1 [json_name = "metadata"];
mergeMetadata
(Grpc.Metadata value) .proto.rpc.webrtc.v1.Metadata metadata = 1 [json_name = "metadata"];
setMetadata
(Grpc.Metadata value) .proto.rpc.webrtc.v1.Metadata metadata = 1 [json_name = "metadata"];
setMetadata
(Grpc.Metadata.Builder builderForValue) .proto.rpc.webrtc.v1.Metadata metadata = 1 [json_name = "metadata"];
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
-
hasMetadata
public boolean hasMetadata().proto.rpc.webrtc.v1.Metadata metadata = 1 [json_name = "metadata"];
- Specified by:
hasMetadata
in interfaceGrpc.ResponseHeadersOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
.proto.rpc.webrtc.v1.Metadata metadata = 1 [json_name = "metadata"];
- Specified by:
getMetadata
in interfaceGrpc.ResponseHeadersOrBuilder
- Returns:
- The metadata.
-
setMetadata
.proto.rpc.webrtc.v1.Metadata metadata = 1 [json_name = "metadata"];
-
setMetadata
.proto.rpc.webrtc.v1.Metadata metadata = 1 [json_name = "metadata"];
-
mergeMetadata
.proto.rpc.webrtc.v1.Metadata metadata = 1 [json_name = "metadata"];
-
clearMetadata
.proto.rpc.webrtc.v1.Metadata metadata = 1 [json_name = "metadata"];
-