Package proto.rpc.webrtc.v1
Class Signaling.ReportConnectionMetadataRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<Signaling.ReportConnectionMetadataRequest,Signaling.ReportConnectionMetadataRequest.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<Signaling.ReportConnectionMetadataRequest,Signaling.ReportConnectionMetadataRequest.Builder>
proto.rpc.webrtc.v1.Signaling.ReportConnectionMetadataRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable,Signaling.ReportConnectionMetadataRequestOrBuilder
- Enclosing class:
Signaling.ReportConnectionMetadataRequest
public static final class Signaling.ReportConnectionMetadataRequest.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<Signaling.ReportConnectionMetadataRequest,Signaling.ReportConnectionMetadataRequest.Builder>
implements Signaling.ReportConnectionMetadataRequestOrBuilder
ReportConnectionMetadataRequest reports metadata about a WebRTC dial, per side: local is the dialing SDK and remote is the robot.Protobuf type
proto.rpc.webrtc.v1.ReportConnectionMetadataRequest-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionduration_ms is the wall-clock time from dial start to connection ready or to the failure.failure_code is the gRPC status code of a failed dial.proto.rpc.webrtc.v1.ConnectionCandidate local = 1 [json_name = "local"];reached_stage is the furthest dial checkpoint reached..proto.rpc.webrtc.v1.ConnectionCandidate remote = 2 [json_name = "remote"];signaling_path is how the dial was signaled (cloud / local / mDNS); reported regardless of outcome.intduration_ms is the wall-clock time from dial start to connection ready or to the failure.intfailure_code is the gRPC status code of a failed dialgetLocal().proto.rpc.webrtc.v1.ConnectionCandidate local = 1 [json_name = "local"];reached_stage is the furthest dial checkpoint reached.intreached_stage is the furthest dial checkpoint reached..proto.rpc.webrtc.v1.ConnectionCandidate remote = 2 [json_name = "remote"];signaling_path is how the dial was signaled (cloud / local / mDNS); reported regardless of outcome.intsignaling_path is how the dial was signaled (cloud / local / mDNS); reported regardless of outcome.booleanhasLocal().proto.rpc.webrtc.v1.ConnectionCandidate local = 1 [json_name = "local"];boolean.proto.rpc.webrtc.v1.ConnectionCandidate remote = 2 [json_name = "remote"];.proto.rpc.webrtc.v1.ConnectionCandidate local = 1 [json_name = "local"];.proto.rpc.webrtc.v1.ConnectionCandidate remote = 2 [json_name = "remote"];setDurationMs(int value) duration_ms is the wall-clock time from dial start to connection ready or to the failure.setFailureCode(int value) failure_code is the gRPC status code of a failed dial.proto.rpc.webrtc.v1.ConnectionCandidate local = 1 [json_name = "local"];setLocal(Signaling.ConnectionCandidate.Builder builderForValue) .proto.rpc.webrtc.v1.ConnectionCandidate local = 1 [json_name = "local"];reached_stage is the furthest dial checkpoint reached.setReachedStageValue(int value) reached_stage is the furthest dial checkpoint reached..proto.rpc.webrtc.v1.ConnectionCandidate remote = 2 [json_name = "remote"];setRemote(Signaling.ConnectionCandidate.Builder builderForValue) .proto.rpc.webrtc.v1.ConnectionCandidate remote = 2 [json_name = "remote"];signaling_path is how the dial was signaled (cloud / local / mDNS); reported regardless of outcome.setSignalingPathValue(int value) signaling_path is how the dial was signaled (cloud / local / mDNS); reported regardless of outcome.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
-
hasLocal
public boolean hasLocal().proto.rpc.webrtc.v1.ConnectionCandidate local = 1 [json_name = "local"];- Specified by:
hasLocalin interfaceSignaling.ReportConnectionMetadataRequestOrBuilder- Returns:
- Whether the local field is set.
-
getLocal
.proto.rpc.webrtc.v1.ConnectionCandidate local = 1 [json_name = "local"];- Specified by:
getLocalin interfaceSignaling.ReportConnectionMetadataRequestOrBuilder- Returns:
- The local.
-
setLocal
public Signaling.ReportConnectionMetadataRequest.Builder setLocal(Signaling.ConnectionCandidate value) .proto.rpc.webrtc.v1.ConnectionCandidate local = 1 [json_name = "local"]; -
setLocal
public Signaling.ReportConnectionMetadataRequest.Builder setLocal(Signaling.ConnectionCandidate.Builder builderForValue) .proto.rpc.webrtc.v1.ConnectionCandidate local = 1 [json_name = "local"]; -
mergeLocal
public Signaling.ReportConnectionMetadataRequest.Builder mergeLocal(Signaling.ConnectionCandidate value) .proto.rpc.webrtc.v1.ConnectionCandidate local = 1 [json_name = "local"]; -
clearLocal
.proto.rpc.webrtc.v1.ConnectionCandidate local = 1 [json_name = "local"]; -
hasRemote
public boolean hasRemote().proto.rpc.webrtc.v1.ConnectionCandidate remote = 2 [json_name = "remote"];- Specified by:
hasRemotein interfaceSignaling.ReportConnectionMetadataRequestOrBuilder- Returns:
- Whether the remote field is set.
-
getRemote
.proto.rpc.webrtc.v1.ConnectionCandidate remote = 2 [json_name = "remote"];- Specified by:
getRemotein interfaceSignaling.ReportConnectionMetadataRequestOrBuilder- Returns:
- The remote.
-
setRemote
public Signaling.ReportConnectionMetadataRequest.Builder setRemote(Signaling.ConnectionCandidate value) .proto.rpc.webrtc.v1.ConnectionCandidate remote = 2 [json_name = "remote"]; -
setRemote
public Signaling.ReportConnectionMetadataRequest.Builder setRemote(Signaling.ConnectionCandidate.Builder builderForValue) .proto.rpc.webrtc.v1.ConnectionCandidate remote = 2 [json_name = "remote"]; -
mergeRemote
public Signaling.ReportConnectionMetadataRequest.Builder mergeRemote(Signaling.ConnectionCandidate value) .proto.rpc.webrtc.v1.ConnectionCandidate remote = 2 [json_name = "remote"]; -
clearRemote
.proto.rpc.webrtc.v1.ConnectionCandidate remote = 2 [json_name = "remote"]; -
getReachedStageValue
public int getReachedStageValue()reached_stage is the furthest dial checkpoint reached. READY indicates success; any earlier value is where a failed dial stopped.
.proto.rpc.webrtc.v1.DialStage reached_stage = 3 [json_name = "reachedStage"];- Specified by:
getReachedStageValuein interfaceSignaling.ReportConnectionMetadataRequestOrBuilder- Returns:
- The enum numeric value on the wire for reachedStage.
-
setReachedStageValue
reached_stage is the furthest dial checkpoint reached. READY indicates success; any earlier value is where a failed dial stopped.
.proto.rpc.webrtc.v1.DialStage reached_stage = 3 [json_name = "reachedStage"];- Parameters:
value- The reachedStage to set.- Returns:
- This builder for chaining.
-
getReachedStage
reached_stage is the furthest dial checkpoint reached. READY indicates success; any earlier value is where a failed dial stopped.
.proto.rpc.webrtc.v1.DialStage reached_stage = 3 [json_name = "reachedStage"];- Specified by:
getReachedStagein interfaceSignaling.ReportConnectionMetadataRequestOrBuilder- Returns:
- The reachedStage.
-
setReachedStage
reached_stage is the furthest dial checkpoint reached. READY indicates success; any earlier value is where a failed dial stopped.
.proto.rpc.webrtc.v1.DialStage reached_stage = 3 [json_name = "reachedStage"];- Parameters:
value- The enum numeric value on the wire for reachedStage to set.- Returns:
- This builder for chaining.
- Throws:
IllegalArgumentException- if UNRECOGNIZED is provided.
-
clearReachedStage
reached_stage is the furthest dial checkpoint reached. READY indicates success; any earlier value is where a failed dial stopped.
.proto.rpc.webrtc.v1.DialStage reached_stage = 3 [json_name = "reachedStage"];- Returns:
- This builder for chaining.
-
getDurationMs
public int getDurationMs()duration_ms is the wall-clock time from dial start to connection ready or to the failure.
uint32 duration_ms = 4 [json_name = "durationMs"];- Specified by:
getDurationMsin interfaceSignaling.ReportConnectionMetadataRequestOrBuilder- Returns:
- The durationMs.
-
setDurationMs
duration_ms is the wall-clock time from dial start to connection ready or to the failure.
uint32 duration_ms = 4 [json_name = "durationMs"];- Parameters:
value- The durationMs to set.- Returns:
- This builder for chaining.
-
clearDurationMs
duration_ms is the wall-clock time from dial start to connection ready or to the failure.
uint32 duration_ms = 4 [json_name = "durationMs"];- Returns:
- This builder for chaining.
-
getSignalingPathValue
public int getSignalingPathValue()signaling_path is how the dial was signaled (cloud / local / mDNS); reported regardless of outcome.
.proto.rpc.webrtc.v1.ConnectionSignalingPath signaling_path = 5 [json_name = "signalingPath"];- Specified by:
getSignalingPathValuein interfaceSignaling.ReportConnectionMetadataRequestOrBuilder- Returns:
- The enum numeric value on the wire for signalingPath.
-
setSignalingPathValue
signaling_path is how the dial was signaled (cloud / local / mDNS); reported regardless of outcome.
.proto.rpc.webrtc.v1.ConnectionSignalingPath signaling_path = 5 [json_name = "signalingPath"];- Parameters:
value- The signalingPath to set.- Returns:
- This builder for chaining.
-
getSignalingPath
signaling_path is how the dial was signaled (cloud / local / mDNS); reported regardless of outcome.
.proto.rpc.webrtc.v1.ConnectionSignalingPath signaling_path = 5 [json_name = "signalingPath"];- Specified by:
getSignalingPathin interfaceSignaling.ReportConnectionMetadataRequestOrBuilder- Returns:
- The signalingPath.
-
setSignalingPath
public Signaling.ReportConnectionMetadataRequest.Builder setSignalingPath(Signaling.ConnectionSignalingPath value) signaling_path is how the dial was signaled (cloud / local / mDNS); reported regardless of outcome.
.proto.rpc.webrtc.v1.ConnectionSignalingPath signaling_path = 5 [json_name = "signalingPath"];- Parameters:
value- The enum numeric value on the wire for signalingPath to set.- Returns:
- This builder for chaining.
- Throws:
IllegalArgumentException- if UNRECOGNIZED is provided.
-
clearSignalingPath
signaling_path is how the dial was signaled (cloud / local / mDNS); reported regardless of outcome.
.proto.rpc.webrtc.v1.ConnectionSignalingPath signaling_path = 5 [json_name = "signalingPath"];- Returns:
- This builder for chaining.
-
getFailureCode
public int getFailureCode()failure_code is the gRPC status code of a failed dial
int32 failure_code = 6 [json_name = "failureCode"];- Specified by:
getFailureCodein interfaceSignaling.ReportConnectionMetadataRequestOrBuilder- Returns:
- The failureCode.
-
setFailureCode
failure_code is the gRPC status code of a failed dial
int32 failure_code = 6 [json_name = "failureCode"];- Parameters:
value- The failureCode to set.- Returns:
- This builder for chaining.
-
clearFailureCode
failure_code is the gRPC status code of a failed dial
int32 failure_code = 6 [json_name = "failureCode"];- Returns:
- This builder for chaining.
-