public static final class LoadStatsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LoadStatsResponse.Builder> implements 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 |
|---|---|
LoadStatsResponse.Builder |
addAllClusters(Iterable<String> values)
Clusters to report stats for.
|
LoadStatsResponse.Builder |
addClusters(String value)
Clusters to report stats for.
|
LoadStatsResponse.Builder |
addClustersBytes(com.google.protobuf.ByteString value)
Clusters to report stats for.
|
LoadStatsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LoadStatsResponse |
build() |
LoadStatsResponse |
buildPartial() |
LoadStatsResponse.Builder |
clear() |
LoadStatsResponse.Builder |
clearClusters()
Clusters to report stats for.
|
LoadStatsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
LoadStatsResponse.Builder |
clearLoadReportingInterval()
The minimum interval of time to collect stats over.
|
LoadStatsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
LoadStatsResponse.Builder |
clearReportEndpointGranularity()
Set to *true* if the management server supports endpoint granularity
report.
|
LoadStatsResponse.Builder |
clearSendAllClusters()
If true, the client should send all clusters it knows about.
|
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.
|
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 |
getSendAllClusters()
If true, the client should send all clusters it knows about.
|
boolean |
hasLoadReportingInterval()
The minimum interval of time to collect stats over.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LoadStatsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LoadStatsResponse.Builder |
mergeFrom(LoadStatsResponse other) |
LoadStatsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
LoadStatsResponse.Builder |
mergeLoadReportingInterval(com.google.protobuf.Duration value)
The minimum interval of time to collect stats over.
|
LoadStatsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LoadStatsResponse.Builder |
setClusters(int index,
String value)
Clusters to report stats for.
|
LoadStatsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LoadStatsResponse.Builder |
setLoadReportingInterval(com.google.protobuf.Duration.Builder builderForValue)
The minimum interval of time to collect stats over.
|
LoadStatsResponse.Builder |
setLoadReportingInterval(com.google.protobuf.Duration value)
The minimum interval of time to collect stats over.
|
LoadStatsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
LoadStatsResponse.Builder |
setReportEndpointGranularity(boolean value)
Set to *true* if the management server supports endpoint granularity
report.
|
LoadStatsResponse.Builder |
setSendAllClusters(boolean value)
If true, the client should send all clusters it knows about.
|
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<LoadStatsResponse.Builder>public 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<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<LoadStatsResponse.Builder>public LoadStatsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LoadStatsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LoadStatsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic 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<LoadStatsResponse.Builder>public 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<LoadStatsResponse.Builder>public LoadStatsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<LoadStatsResponse.Builder>public LoadStatsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<LoadStatsResponse.Builder>public 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<LoadStatsResponse.Builder>public 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<LoadStatsResponse.Builder>public LoadStatsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LoadStatsResponse.Builder>public LoadStatsResponse.Builder mergeFrom(LoadStatsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LoadStatsResponse.Builder>public 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<LoadStatsResponse.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getClustersList()
Clusters to report stats for. Not populated if *send_all_clusters* is true.
repeated string clusters = 1;getClustersList in interface LoadStatsResponseOrBuilderpublic int getClustersCount()
Clusters to report stats for. Not populated if *send_all_clusters* is true.
repeated string clusters = 1;getClustersCount in interface LoadStatsResponseOrBuilderpublic String getClusters(int index)
Clusters to report stats for. Not populated if *send_all_clusters* is true.
repeated string clusters = 1;getClusters in interface LoadStatsResponseOrBuilderpublic com.google.protobuf.ByteString getClustersBytes(int index)
Clusters to report stats for. Not populated if *send_all_clusters* is true.
repeated string clusters = 1;getClustersBytes in interface LoadStatsResponseOrBuilderpublic LoadStatsResponse.Builder setClusters(int index, String value)
Clusters to report stats for. Not populated if *send_all_clusters* is true.
repeated string clusters = 1;public LoadStatsResponse.Builder addClusters(String value)
Clusters to report stats for. Not populated if *send_all_clusters* is true.
repeated string clusters = 1;public LoadStatsResponse.Builder addAllClusters(Iterable<String> values)
Clusters to report stats for. Not populated if *send_all_clusters* is true.
repeated string clusters = 1;public LoadStatsResponse.Builder clearClusters()
Clusters to report stats for. Not populated if *send_all_clusters* is true.
repeated string clusters = 1;public LoadStatsResponse.Builder addClustersBytes(com.google.protobuf.ByteString value)
Clusters to report stats for. Not populated if *send_all_clusters* is true.
repeated string clusters = 1;public boolean getSendAllClusters()
If true, the client should send all clusters it knows about. Only clients that advertise the "envoy.lrs.supports_send_all_clusters" capability in their :ref:`client_features<envoy_api_field_core.Node.client_features>` field will honor this field.
bool send_all_clusters = 4;getSendAllClusters in interface LoadStatsResponseOrBuilderpublic LoadStatsResponse.Builder setSendAllClusters(boolean value)
If true, the client should send all clusters it knows about. Only clients that advertise the "envoy.lrs.supports_send_all_clusters" capability in their :ref:`client_features<envoy_api_field_core.Node.client_features>` field will honor this field.
bool send_all_clusters = 4;public LoadStatsResponse.Builder clearSendAllClusters()
If true, the client should send all clusters it knows about. Only clients that advertise the "envoy.lrs.supports_send_all_clusters" capability in their :ref:`client_features<envoy_api_field_core.Node.client_features>` field will honor this field.
bool send_all_clusters = 4;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 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 LoadStatsResponseOrBuilderpublic 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 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 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 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 LoadStatsResponseOrBuilderpublic boolean getReportEndpointGranularity()
Set to *true* if the management server supports endpoint granularity report.
bool report_endpoint_granularity = 3;getReportEndpointGranularity in interface LoadStatsResponseOrBuilderpublic LoadStatsResponse.Builder setReportEndpointGranularity(boolean value)
Set to *true* if the management server supports endpoint granularity report.
bool report_endpoint_granularity = 3;public LoadStatsResponse.Builder clearReportEndpointGranularity()
Set to *true* if the management server supports endpoint granularity report.
bool report_endpoint_granularity = 3;public final LoadStatsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LoadStatsResponse.Builder>public final LoadStatsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LoadStatsResponse.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.