public static final class ChannelData.Builder extends com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.Descriptors.FieldDescriptor field) |
ChannelData.Builder |
clearLastCallStartedTimestamp()
The last time a call was started on the channel.
|
ChannelData.Builder |
clearOneof(com.google.protobuf.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 com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getLastCallStartedTimestamp()
The last time a call was started on the channel.
|
com.google.protobuf.Timestamp.Builder |
getLastCallStartedTimestampBuilder()
The last time a call was started on the channel.
|
com.google.protobuf.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.
|
com.google.protobuf.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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ChannelData.Builder |
mergeFrom(ChannelData other) |
ChannelData.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ChannelData.Builder |
mergeFrom(com.google.protobuf.Message other) |
ChannelData.Builder |
mergeLastCallStartedTimestamp(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ChannelData.Builder |
setLastCallStartedTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
The last time a call was started on the channel.
|
ChannelData.Builder |
setLastCallStartedTimestamp(com.google.protobuf.Timestamp value)
The last time a call was started on the channel.
|
ChannelData.Builder |
setRepeatedField(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ChannelData.Builder>public ChannelData.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ChannelData.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ChannelData.Builder>public ChannelData getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ChannelData build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ChannelData buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ChannelData.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ChannelData.Builder>public ChannelData.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ChannelData.Builder>public ChannelData.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ChannelData.Builder>public ChannelData.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ChannelData.Builder>public ChannelData.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ChannelData.Builder>public ChannelData.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ChannelData.Builder>public ChannelData.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ChannelData.Builder>public ChannelData.Builder mergeFrom(ChannelData other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ChannelData.Builder>public ChannelData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.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 com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.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(com.google.protobuf.Timestamp value)
The last time a call was started on the channel.
.google.protobuf.Timestamp last_call_started_timestamp = 7;public ChannelData.Builder setLastCallStartedTimestamp(com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.Timestamp.Builder getLastCallStartedTimestampBuilder()
The last time a call was started on the channel.
.google.protobuf.Timestamp last_call_started_timestamp = 7;public com.google.protobuf.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(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ChannelData.Builder>public final ChannelData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ChannelData.Builder>