Package proto.rpc.webrtc.v1
Class Grpc.RequestHeaders.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Grpc.RequestHeaders,Grpc.RequestHeaders.Builder>
proto.rpc.webrtc.v1.Grpc.RequestHeaders.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Grpc.RequestHeadersOrBuilder
- Enclosing class:
- Grpc.RequestHeaders
public static final class Grpc.RequestHeaders.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Grpc.RequestHeaders,Grpc.RequestHeaders.Builder>
implements Grpc.RequestHeadersOrBuilder
RequestHeaders describe the unary or streaming call to make.Protobuf type
proto.rpc.webrtc.v1.RequestHeaders
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescription.proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
string method = 1 [json_name = "method"];
.google.protobuf.Duration timeout = 3 [json_name = "timeout"];
.proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
string method = 1 [json_name = "method"];
com.google.protobuf.ByteString
string method = 1 [json_name = "method"];
com.google.protobuf.Duration
.google.protobuf.Duration timeout = 3 [json_name = "timeout"];
boolean
.proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
boolean
.google.protobuf.Duration timeout = 3 [json_name = "timeout"];
mergeMetadata
(Grpc.Metadata value) .proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
mergeTimeout
(com.google.protobuf.Duration value) .google.protobuf.Duration timeout = 3 [json_name = "timeout"];
setMetadata
(Grpc.Metadata value) .proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
setMetadata
(Grpc.Metadata.Builder builderForValue) .proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
string method = 1 [json_name = "method"];
setMethodBytes
(com.google.protobuf.ByteString value) string method = 1 [json_name = "method"];
setTimeout
(com.google.protobuf.Duration value) .google.protobuf.Duration timeout = 3 [json_name = "timeout"];
setTimeout
(com.google.protobuf.Duration.Builder builderForValue) .google.protobuf.Duration timeout = 3 [json_name = "timeout"];
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
-
getMethod
string method = 1 [json_name = "method"];
- Specified by:
getMethod
in interfaceGrpc.RequestHeadersOrBuilder
- Returns:
- The method.
-
getMethodBytes
public com.google.protobuf.ByteString getMethodBytes()string method = 1 [json_name = "method"];
- Specified by:
getMethodBytes
in interfaceGrpc.RequestHeadersOrBuilder
- Returns:
- The bytes for method.
-
setMethod
string method = 1 [json_name = "method"];
- Parameters:
value
- The method to set.- Returns:
- This builder for chaining.
-
clearMethod
string method = 1 [json_name = "method"];
- Returns:
- This builder for chaining.
-
setMethodBytes
string method = 1 [json_name = "method"];
- Parameters:
value
- The bytes for method to set.- Returns:
- This builder for chaining.
-
hasMetadata
public boolean hasMetadata().proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
- Specified by:
hasMetadata
in interfaceGrpc.RequestHeadersOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
.proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
- Specified by:
getMetadata
in interfaceGrpc.RequestHeadersOrBuilder
- Returns:
- The metadata.
-
setMetadata
.proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
-
setMetadata
.proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
-
mergeMetadata
.proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
-
clearMetadata
.proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
-
hasTimeout
public boolean hasTimeout().google.protobuf.Duration timeout = 3 [json_name = "timeout"];
- Specified by:
hasTimeout
in interfaceGrpc.RequestHeadersOrBuilder
- Returns:
- Whether the timeout field is set.
-
getTimeout
public com.google.protobuf.Duration getTimeout().google.protobuf.Duration timeout = 3 [json_name = "timeout"];
- Specified by:
getTimeout
in interfaceGrpc.RequestHeadersOrBuilder
- Returns:
- The timeout.
-
setTimeout
.google.protobuf.Duration timeout = 3 [json_name = "timeout"];
-
setTimeout
.google.protobuf.Duration timeout = 3 [json_name = "timeout"];
-
mergeTimeout
.google.protobuf.Duration timeout = 3 [json_name = "timeout"];
-
clearTimeout
.google.protobuf.Duration timeout = 3 [json_name = "timeout"];
-