public static final class Lrs.LoadStatsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Lrs.LoadStatsResponse.Builder> implements Lrs.LoadStatsResponseOrBuilder
The management server sends envoy a LoadStatsResponse with all clusters it is interested in learning load stats about. [#not-implemented-hide:] Not configuration. TBD how to doc proto APIs.Protobuf type
envoy.service.load_stats.v2.LoadStatsResponse| Modifier and Type | Method and Description |
|---|---|
Lrs.LoadStatsResponse.Builder |
addAllClusters(Iterable<String> values)
Clusters to report stats for.
|
Lrs.LoadStatsResponse.Builder |
addClusters(String value)
Clusters to report stats for.
|
Lrs.LoadStatsResponse.Builder |
addClustersBytes(com.google.protobuf.ByteString value)
Clusters to report stats for.
|
Lrs.LoadStatsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Lrs.LoadStatsResponse |
build() |
Lrs.LoadStatsResponse |
buildPartial() |
Lrs.LoadStatsResponse.Builder |
clear() |
Lrs.LoadStatsResponse.Builder |
clearClusters()
Clusters to report stats for.
|
Lrs.LoadStatsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Lrs.LoadStatsResponse.Builder |
clearLoadReportingInterval()
The minimum interval of time to collect stats over.
|
Lrs.LoadStatsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Lrs.LoadStatsResponse.Builder |
clearReportEndpointGranularity()
Set to *true* if the management server supports endpoint granularity
report.
|
Lrs.LoadStatsResponse.Builder |
clone() |
String |
getClusters(int index)
Clusters to report stats for.
|
com.google.protobuf.ByteString |
getClustersBytes(int index)
Clusters to report stats for.
|
int |
getClustersCount()
Clusters to report stats for.
|
com.google.protobuf.ProtocolStringList |
getClustersList()
Clusters to report stats for.
|
Lrs.LoadStatsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Duration |
getLoadReportingInterval()
The minimum interval of time to collect stats over.
|
com.google.protobuf.Duration.Builder |
getLoadReportingIntervalBuilder()
The minimum interval of time to collect stats over.
|
com.google.protobuf.DurationOrBuilder |
getLoadReportingIntervalOrBuilder()
The minimum interval of time to collect stats over.
|
boolean |
getReportEndpointGranularity()
Set to *true* if the management server supports endpoint granularity
report.
|
boolean |
hasLoadReportingInterval()
The minimum interval of time to collect stats over.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Lrs.LoadStatsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Lrs.LoadStatsResponse.Builder |
mergeFrom(Lrs.LoadStatsResponse other) |
Lrs.LoadStatsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
Lrs.LoadStatsResponse.Builder |
mergeLoadReportingInterval(com.google.protobuf.Duration value)
The minimum interval of time to collect stats over.
|
Lrs.LoadStatsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Lrs.LoadStatsResponse.Builder |
setClusters(int index,
String value)
Clusters to report stats for.
|
Lrs.LoadStatsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Lrs.LoadStatsResponse.Builder |
setLoadReportingInterval(com.google.protobuf.Duration.Builder builderForValue)
The minimum interval of time to collect stats over.
|
Lrs.LoadStatsResponse.Builder |
setLoadReportingInterval(com.google.protobuf.Duration value)
The minimum interval of time to collect stats over.
|
Lrs.LoadStatsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Lrs.LoadStatsResponse.Builder |
setReportEndpointGranularity(boolean value)
Set to *true* if the management server supports endpoint granularity
report.
|
Lrs.LoadStatsResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Lrs.LoadStatsResponse.Builder>public Lrs.LoadStatsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Lrs.LoadStatsResponse.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<Lrs.LoadStatsResponse.Builder>public Lrs.LoadStatsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Lrs.LoadStatsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Lrs.LoadStatsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Lrs.LoadStatsResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Lrs.LoadStatsResponse.Builder>public Lrs.LoadStatsResponse.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<Lrs.LoadStatsResponse.Builder>public Lrs.LoadStatsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Lrs.LoadStatsResponse.Builder>public Lrs.LoadStatsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Lrs.LoadStatsResponse.Builder>public Lrs.LoadStatsResponse.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<Lrs.LoadStatsResponse.Builder>public Lrs.LoadStatsResponse.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<Lrs.LoadStatsResponse.Builder>public Lrs.LoadStatsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Lrs.LoadStatsResponse.Builder>public Lrs.LoadStatsResponse.Builder mergeFrom(Lrs.LoadStatsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Lrs.LoadStatsResponse.Builder>public Lrs.LoadStatsResponse.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<Lrs.LoadStatsResponse.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getClustersList()
Clusters to report stats for.
repeated string clusters = 1 [(.validate.rules) = { ... }getClustersList in interface Lrs.LoadStatsResponseOrBuilderpublic int getClustersCount()
Clusters to report stats for.
repeated string clusters = 1 [(.validate.rules) = { ... }getClustersCount in interface Lrs.LoadStatsResponseOrBuilderpublic String getClusters(int index)
Clusters to report stats for.
repeated string clusters = 1 [(.validate.rules) = { ... }getClusters in interface Lrs.LoadStatsResponseOrBuilderpublic com.google.protobuf.ByteString getClustersBytes(int index)
Clusters to report stats for.
repeated string clusters = 1 [(.validate.rules) = { ... }getClustersBytes in interface Lrs.LoadStatsResponseOrBuilderpublic Lrs.LoadStatsResponse.Builder setClusters(int index, String value)
Clusters to report stats for.
repeated string clusters = 1 [(.validate.rules) = { ... }public Lrs.LoadStatsResponse.Builder addClusters(String value)
Clusters to report stats for.
repeated string clusters = 1 [(.validate.rules) = { ... }public Lrs.LoadStatsResponse.Builder addAllClusters(Iterable<String> values)
Clusters to report stats for.
repeated string clusters = 1 [(.validate.rules) = { ... }public Lrs.LoadStatsResponse.Builder clearClusters()
Clusters to report stats for.
repeated string clusters = 1 [(.validate.rules) = { ... }public Lrs.LoadStatsResponse.Builder addClustersBytes(com.google.protobuf.ByteString value)
Clusters to report stats for.
repeated string clusters = 1 [(.validate.rules) = { ... }public boolean hasLoadReportingInterval()
The minimum interval of time to collect stats over. This is only a minimum for two reasons:
1. There may be some delay from when the timer fires until stats sampling occurs.
2. For clusters that were already feature in the previous *LoadStatsResponse*, any traffic
that is observed in between the corresponding previous *LoadStatsRequest* and this
*LoadStatsResponse* will also be accumulated and billed to the cluster. This avoids a period
of inobservability that might otherwise exists between the messages. New clusters are not
subject to this consideration.
.google.protobuf.Duration load_reporting_interval = 2;hasLoadReportingInterval in interface Lrs.LoadStatsResponseOrBuilderpublic com.google.protobuf.Duration getLoadReportingInterval()
The minimum interval of time to collect stats over. This is only a minimum for two reasons:
1. There may be some delay from when the timer fires until stats sampling occurs.
2. For clusters that were already feature in the previous *LoadStatsResponse*, any traffic
that is observed in between the corresponding previous *LoadStatsRequest* and this
*LoadStatsResponse* will also be accumulated and billed to the cluster. This avoids a period
of inobservability that might otherwise exists between the messages. New clusters are not
subject to this consideration.
.google.protobuf.Duration load_reporting_interval = 2;getLoadReportingInterval in interface Lrs.LoadStatsResponseOrBuilderpublic Lrs.LoadStatsResponse.Builder setLoadReportingInterval(com.google.protobuf.Duration value)
The minimum interval of time to collect stats over. This is only a minimum for two reasons:
1. There may be some delay from when the timer fires until stats sampling occurs.
2. For clusters that were already feature in the previous *LoadStatsResponse*, any traffic
that is observed in between the corresponding previous *LoadStatsRequest* and this
*LoadStatsResponse* will also be accumulated and billed to the cluster. This avoids a period
of inobservability that might otherwise exists between the messages. New clusters are not
subject to this consideration.
.google.protobuf.Duration load_reporting_interval = 2;public Lrs.LoadStatsResponse.Builder setLoadReportingInterval(com.google.protobuf.Duration.Builder builderForValue)
The minimum interval of time to collect stats over. This is only a minimum for two reasons:
1. There may be some delay from when the timer fires until stats sampling occurs.
2. For clusters that were already feature in the previous *LoadStatsResponse*, any traffic
that is observed in between the corresponding previous *LoadStatsRequest* and this
*LoadStatsResponse* will also be accumulated and billed to the cluster. This avoids a period
of inobservability that might otherwise exists between the messages. New clusters are not
subject to this consideration.
.google.protobuf.Duration load_reporting_interval = 2;public Lrs.LoadStatsResponse.Builder mergeLoadReportingInterval(com.google.protobuf.Duration value)
The minimum interval of time to collect stats over. This is only a minimum for two reasons:
1. There may be some delay from when the timer fires until stats sampling occurs.
2. For clusters that were already feature in the previous *LoadStatsResponse*, any traffic
that is observed in between the corresponding previous *LoadStatsRequest* and this
*LoadStatsResponse* will also be accumulated and billed to the cluster. This avoids a period
of inobservability that might otherwise exists between the messages. New clusters are not
subject to this consideration.
.google.protobuf.Duration load_reporting_interval = 2;public Lrs.LoadStatsResponse.Builder clearLoadReportingInterval()
The minimum interval of time to collect stats over. This is only a minimum for two reasons:
1. There may be some delay from when the timer fires until stats sampling occurs.
2. For clusters that were already feature in the previous *LoadStatsResponse*, any traffic
that is observed in between the corresponding previous *LoadStatsRequest* and this
*LoadStatsResponse* will also be accumulated and billed to the cluster. This avoids a period
of inobservability that might otherwise exists between the messages. New clusters are not
subject to this consideration.
.google.protobuf.Duration load_reporting_interval = 2;public com.google.protobuf.Duration.Builder getLoadReportingIntervalBuilder()
The minimum interval of time to collect stats over. This is only a minimum for two reasons:
1. There may be some delay from when the timer fires until stats sampling occurs.
2. For clusters that were already feature in the previous *LoadStatsResponse*, any traffic
that is observed in between the corresponding previous *LoadStatsRequest* and this
*LoadStatsResponse* will also be accumulated and billed to the cluster. This avoids a period
of inobservability that might otherwise exists between the messages. New clusters are not
subject to this consideration.
.google.protobuf.Duration load_reporting_interval = 2;public com.google.protobuf.DurationOrBuilder getLoadReportingIntervalOrBuilder()
The minimum interval of time to collect stats over. This is only a minimum for two reasons:
1. There may be some delay from when the timer fires until stats sampling occurs.
2. For clusters that were already feature in the previous *LoadStatsResponse*, any traffic
that is observed in between the corresponding previous *LoadStatsRequest* and this
*LoadStatsResponse* will also be accumulated and billed to the cluster. This avoids a period
of inobservability that might otherwise exists between the messages. New clusters are not
subject to this consideration.
.google.protobuf.Duration load_reporting_interval = 2;getLoadReportingIntervalOrBuilder in interface Lrs.LoadStatsResponseOrBuilderpublic boolean getReportEndpointGranularity()
Set to *true* if the management server supports endpoint granularity report.
bool report_endpoint_granularity = 3;getReportEndpointGranularity in interface Lrs.LoadStatsResponseOrBuilderpublic Lrs.LoadStatsResponse.Builder setReportEndpointGranularity(boolean value)
Set to *true* if the management server supports endpoint granularity report.
bool report_endpoint_granularity = 3;public Lrs.LoadStatsResponse.Builder clearReportEndpointGranularity()
Set to *true* if the management server supports endpoint granularity report.
bool report_endpoint_granularity = 3;public final Lrs.LoadStatsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Lrs.LoadStatsResponse.Builder>public final Lrs.LoadStatsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Lrs.LoadStatsResponse.Builder>Copyright © 2018 The Envoy Project. All rights reserved.