public static final class ChannelData.Builder extends GeneratedMessageV3.Builder<ChannelData.Builder> implements ChannelDataOrBuilder
Channel data is data related to a specific Channel or Subchannel.Protobuf type
grpc.channelz.v1.ChannelData| Modifier and Type | Method and Description |
|---|---|
ChannelData.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
ChannelData |
build() |
ChannelData |
buildPartial() |
ChannelData.Builder |
clear() |
ChannelData.Builder |
clearCallsFailed()
The number of calls that have completed with a non-OK status
|
ChannelData.Builder |
clearCallsStarted()
The number of calls started on the channel
|
ChannelData.Builder |
clearCallsSucceeded()
The number of calls that have completed with an OK status
|
ChannelData.Builder |
clearField(Descriptors.FieldDescriptor field) |
ChannelData.Builder |
clearLastCallStartedTimestamp()
The last time a call was started on the channel.
|
ChannelData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ChannelData.Builder |
clearState()
The connectivity state of the channel or subchannel.
|
ChannelData.Builder |
clearTarget()
The target this channel originally tried to connect to.
|
ChannelData.Builder |
clearTrace()
A trace of recent events on the channel.
|
ChannelData.Builder |
clone() |
long |
getCallsFailed()
The number of calls that have completed with a non-OK status
|
long |
getCallsStarted()
The number of calls started on the channel
|
long |
getCallsSucceeded()
The number of calls that have completed with an OK status
|
ChannelData |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Timestamp |
getLastCallStartedTimestamp()
The last time a call was started on the channel.
|
Timestamp.Builder |
getLastCallStartedTimestampBuilder()
The last time a call was started on the channel.
|
TimestampOrBuilder |
getLastCallStartedTimestampOrBuilder()
The last time a call was started on the channel.
|
ChannelConnectivityState |
getState()
The connectivity state of the channel or subchannel.
|
ChannelConnectivityState.Builder |
getStateBuilder()
The connectivity state of the channel or subchannel.
|
ChannelConnectivityStateOrBuilder |
getStateOrBuilder()
The connectivity state of the channel or subchannel.
|
String |
getTarget()
The target this channel originally tried to connect to.
|
ByteString |
getTargetBytes()
The target this channel originally tried to connect to.
|
ChannelTrace |
getTrace()
A trace of recent events on the channel.
|
ChannelTrace.Builder |
getTraceBuilder()
A trace of recent events on the channel.
|
ChannelTraceOrBuilder |
getTraceOrBuilder()
A trace of recent events on the channel.
|
boolean |
hasLastCallStartedTimestamp()
The last time a call was started on the channel.
|
boolean |
hasState()
The connectivity state of the channel or subchannel.
|
boolean |
hasTrace()
A trace of recent events on the channel.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ChannelData.Builder |
mergeFrom(ChannelData other) |
ChannelData.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ChannelData.Builder |
mergeFrom(Message other) |
ChannelData.Builder |
mergeLastCallStartedTimestamp(Timestamp value)
The last time a call was started on the channel.
|
ChannelData.Builder |
mergeState(ChannelConnectivityState value)
The connectivity state of the channel or subchannel.
|
ChannelData.Builder |
mergeTrace(ChannelTrace value)
A trace of recent events on the channel.
|
ChannelData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ChannelData.Builder |
setCallsFailed(long value)
The number of calls that have completed with a non-OK status
|
ChannelData.Builder |
setCallsStarted(long value)
The number of calls started on the channel
|
ChannelData.Builder |
setCallsSucceeded(long value)
The number of calls that have completed with an OK status
|
ChannelData.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
ChannelData.Builder |
setLastCallStartedTimestamp(Timestamp.Builder builderForValue)
The last time a call was started on the channel.
|
ChannelData.Builder |
setLastCallStartedTimestamp(Timestamp value)
The last time a call was started on the channel.
|
ChannelData.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
ChannelData.Builder |
setState(ChannelConnectivityState.Builder builderForValue)
The connectivity state of the channel or subchannel.
|
ChannelData.Builder |
setState(ChannelConnectivityState value)
The connectivity state of the channel or subchannel.
|
ChannelData.Builder |
setTarget(String value)
The target this channel originally tried to connect to.
|
ChannelData.Builder |
setTargetBytes(ByteString value)
The target this channel originally tried to connect to.
|
ChannelData.Builder |
setTrace(ChannelTrace.Builder builderForValue)
A trace of recent events on the channel.
|
ChannelData.Builder |
setTrace(ChannelTrace value)
A trace of recent events on the channel.
|
ChannelData.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeDelimitedFrom, mergeDelimitedFrommergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<ChannelData.Builder>public ChannelData.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<ChannelData.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<ChannelData.Builder>public ChannelData getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic ChannelData build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic ChannelData buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic ChannelData.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<ChannelData.Builder>public ChannelData.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<ChannelData.Builder>public ChannelData.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<ChannelData.Builder>public ChannelData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<ChannelData.Builder>public ChannelData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<ChannelData.Builder>public ChannelData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<ChannelData.Builder>public ChannelData.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<ChannelData.Builder>public ChannelData.Builder mergeFrom(ChannelData other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<ChannelData.Builder>public ChannelData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<ChannelData.Builder>IOExceptionpublic boolean hasState()
The connectivity state of the channel or subchannel. Implementations should always set this.
.grpc.channelz.v1.ChannelConnectivityState state = 1;hasState in interface ChannelDataOrBuilderpublic ChannelConnectivityState getState()
The connectivity state of the channel or subchannel. Implementations should always set this.
.grpc.channelz.v1.ChannelConnectivityState state = 1;getState in interface ChannelDataOrBuilderpublic ChannelData.Builder setState(ChannelConnectivityState value)
The connectivity state of the channel or subchannel. Implementations should always set this.
.grpc.channelz.v1.ChannelConnectivityState state = 1;public ChannelData.Builder setState(ChannelConnectivityState.Builder builderForValue)
The connectivity state of the channel or subchannel. Implementations should always set this.
.grpc.channelz.v1.ChannelConnectivityState state = 1;public ChannelData.Builder mergeState(ChannelConnectivityState value)
The connectivity state of the channel or subchannel. Implementations should always set this.
.grpc.channelz.v1.ChannelConnectivityState state = 1;public ChannelData.Builder clearState()
The connectivity state of the channel or subchannel. Implementations should always set this.
.grpc.channelz.v1.ChannelConnectivityState state = 1;public ChannelConnectivityState.Builder getStateBuilder()
The connectivity state of the channel or subchannel. Implementations should always set this.
.grpc.channelz.v1.ChannelConnectivityState state = 1;public ChannelConnectivityStateOrBuilder getStateOrBuilder()
The connectivity state of the channel or subchannel. Implementations should always set this.
.grpc.channelz.v1.ChannelConnectivityState state = 1;getStateOrBuilder in interface ChannelDataOrBuilderpublic String getTarget()
The target this channel originally tried to connect to. May be absent
string target = 2;getTarget in interface ChannelDataOrBuilderpublic ByteString getTargetBytes()
The target this channel originally tried to connect to. May be absent
string target = 2;getTargetBytes in interface ChannelDataOrBuilderpublic ChannelData.Builder setTarget(String value)
The target this channel originally tried to connect to. May be absent
string target = 2;value - The target to set.public ChannelData.Builder clearTarget()
The target this channel originally tried to connect to. May be absent
string target = 2;public ChannelData.Builder setTargetBytes(ByteString value)
The target this channel originally tried to connect to. May be absent
string target = 2;value - The bytes for target to set.public boolean hasTrace()
A trace of recent events on the channel. May be absent.
.grpc.channelz.v1.ChannelTrace trace = 3;hasTrace in interface ChannelDataOrBuilderpublic ChannelTrace getTrace()
A trace of recent events on the channel. May be absent.
.grpc.channelz.v1.ChannelTrace trace = 3;getTrace in interface ChannelDataOrBuilderpublic ChannelData.Builder setTrace(ChannelTrace value)
A trace of recent events on the channel. May be absent.
.grpc.channelz.v1.ChannelTrace trace = 3;public ChannelData.Builder setTrace(ChannelTrace.Builder builderForValue)
A trace of recent events on the channel. May be absent.
.grpc.channelz.v1.ChannelTrace trace = 3;public ChannelData.Builder mergeTrace(ChannelTrace value)
A trace of recent events on the channel. May be absent.
.grpc.channelz.v1.ChannelTrace trace = 3;public ChannelData.Builder clearTrace()
A trace of recent events on the channel. May be absent.
.grpc.channelz.v1.ChannelTrace trace = 3;public ChannelTrace.Builder getTraceBuilder()
A trace of recent events on the channel. May be absent.
.grpc.channelz.v1.ChannelTrace trace = 3;public ChannelTraceOrBuilder getTraceOrBuilder()
A trace of recent events on the channel. May be absent.
.grpc.channelz.v1.ChannelTrace trace = 3;getTraceOrBuilder in interface ChannelDataOrBuilderpublic long getCallsStarted()
The number of calls started on the channel
int64 calls_started = 4;getCallsStarted in interface ChannelDataOrBuilderpublic ChannelData.Builder setCallsStarted(long value)
The number of calls started on the channel
int64 calls_started = 4;value - The callsStarted to set.public ChannelData.Builder clearCallsStarted()
The number of calls started on the channel
int64 calls_started = 4;public long getCallsSucceeded()
The number of calls that have completed with an OK status
int64 calls_succeeded = 5;getCallsSucceeded in interface ChannelDataOrBuilderpublic ChannelData.Builder setCallsSucceeded(long value)
The number of calls that have completed with an OK status
int64 calls_succeeded = 5;value - The callsSucceeded to set.public ChannelData.Builder clearCallsSucceeded()
The number of calls that have completed with an OK status
int64 calls_succeeded = 5;public long getCallsFailed()
The number of calls that have completed with a non-OK status
int64 calls_failed = 6;getCallsFailed in interface ChannelDataOrBuilderpublic ChannelData.Builder setCallsFailed(long value)
The number of calls that have completed with a non-OK status
int64 calls_failed = 6;value - The callsFailed to set.public ChannelData.Builder clearCallsFailed()
The number of calls that have completed with a non-OK status
int64 calls_failed = 6;public boolean hasLastCallStartedTimestamp()
The last time a call was started on the channel.
.google.protobuf.Timestamp last_call_started_timestamp = 7;hasLastCallStartedTimestamp in interface ChannelDataOrBuilderpublic Timestamp getLastCallStartedTimestamp()
The last time a call was started on the channel.
.google.protobuf.Timestamp last_call_started_timestamp = 7;getLastCallStartedTimestamp in interface ChannelDataOrBuilderpublic ChannelData.Builder setLastCallStartedTimestamp(Timestamp value)
The last time a call was started on the channel.
.google.protobuf.Timestamp last_call_started_timestamp = 7;public ChannelData.Builder setLastCallStartedTimestamp(Timestamp.Builder builderForValue)
The last time a call was started on the channel.
.google.protobuf.Timestamp last_call_started_timestamp = 7;public ChannelData.Builder mergeLastCallStartedTimestamp(Timestamp value)
The last time a call was started on the channel.
.google.protobuf.Timestamp last_call_started_timestamp = 7;public ChannelData.Builder clearLastCallStartedTimestamp()
The last time a call was started on the channel.
.google.protobuf.Timestamp last_call_started_timestamp = 7;public Timestamp.Builder getLastCallStartedTimestampBuilder()
The last time a call was started on the channel.
.google.protobuf.Timestamp last_call_started_timestamp = 7;public TimestampOrBuilder getLastCallStartedTimestampOrBuilder()
The last time a call was started on the channel.
.google.protobuf.Timestamp last_call_started_timestamp = 7;getLastCallStartedTimestampOrBuilder in interface ChannelDataOrBuilderpublic final ChannelData.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<ChannelData.Builder>public final ChannelData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<ChannelData.Builder>