Package proto.rpc.webrtc.v1
Class Grpc.ResponseTrailers.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Grpc.ResponseTrailers,Grpc.ResponseTrailers.Builder>
proto.rpc.webrtc.v1.Grpc.ResponseTrailers.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,Cloneable
,Grpc.ResponseTrailersOrBuilder
- Enclosing class:
- Grpc.ResponseTrailers
public static final class Grpc.ResponseTrailers.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Grpc.ResponseTrailers,Grpc.ResponseTrailers.Builder>
implements Grpc.ResponseTrailersOrBuilder
ResponseTrailers contain the status of a response and any custom metadata.Protobuf type
proto.rpc.webrtc.v1.ResponseTrailers
-
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"];
.google.rpc.Status status = 1 [json_name = "status"];
.proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
.google.rpc.Status status = 1 [json_name = "status"];
boolean
.proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
boolean
.google.rpc.Status status = 1 [json_name = "status"];
mergeMetadata
(Grpc.Metadata value) .proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
mergeStatus
(Status value) .google.rpc.Status status = 1 [json_name = "status"];
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"];
.google.rpc.Status status = 1 [json_name = "status"];
setStatus
(Status.Builder builderForValue) .google.rpc.Status status = 1 [json_name = "status"];
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
-
hasStatus
public boolean hasStatus().google.rpc.Status status = 1 [json_name = "status"];
- Specified by:
hasStatus
in interfaceGrpc.ResponseTrailersOrBuilder
- Returns:
- Whether the status field is set.
-
getStatus
.google.rpc.Status status = 1 [json_name = "status"];
- Specified by:
getStatus
in interfaceGrpc.ResponseTrailersOrBuilder
- Returns:
- The status.
-
setStatus
.google.rpc.Status status = 1 [json_name = "status"];
-
setStatus
.google.rpc.Status status = 1 [json_name = "status"];
-
mergeStatus
.google.rpc.Status status = 1 [json_name = "status"];
-
clearStatus
.google.rpc.Status status = 1 [json_name = "status"];
-
hasMetadata
public boolean hasMetadata().proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
- Specified by:
hasMetadata
in interfaceGrpc.ResponseTrailersOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
.proto.rpc.webrtc.v1.Metadata metadata = 2 [json_name = "metadata"];
- Specified by:
getMetadata
in interfaceGrpc.ResponseTrailersOrBuilder
- 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"];
-