Class LoadStatsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<LoadStatsRequest.Builder>
com.google.protobuf.GeneratedMessage.Builder<LoadStatsRequest.Builder>
io.envoyproxy.envoy.service.load_stats.v3.LoadStatsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, LoadStatsRequestOrBuilder, Cloneable
- Enclosing class:
LoadStatsRequest
public static final class LoadStatsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<LoadStatsRequest.Builder>
implements LoadStatsRequestOrBuilder
A load report Envoy sends to the management server.Protobuf type
envoy.service.load_stats.v3.LoadStatsRequest-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate List<ClusterStats> private com.google.protobuf.RepeatedFieldBuilder<ClusterStats, ClusterStats.Builder, ClusterStatsOrBuilder> private Nodeprivate com.google.protobuf.SingleFieldBuilder<Node, Node.Builder, NodeOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllClusterStats(Iterable<? extends ClusterStats> values) A list of load stats to report.addClusterStats(int index, ClusterStats value) A list of load stats to report.addClusterStats(int index, ClusterStats.Builder builderForValue) A list of load stats to report.addClusterStats(ClusterStats value) A list of load stats to report.addClusterStats(ClusterStats.Builder builderForValue) A list of load stats to report.A list of load stats to report.addClusterStatsBuilder(int index) A list of load stats to report.build()private voidbuildPartial0(LoadStatsRequest result) private voidclear()A list of load stats to report.Node identifier for Envoy instance.private voidgetClusterStats(int index) A list of load stats to report.getClusterStatsBuilder(int index) A list of load stats to report.A list of load stats to report.intA list of load stats to report.A list of load stats to report.getClusterStatsOrBuilder(int index) A list of load stats to report.List<? extends ClusterStatsOrBuilder> A list of load stats to report.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetNode()Node identifier for Envoy instance.Node identifier for Envoy instance.Node identifier for Envoy instance.booleanhasNode()Node identifier for Envoy instance.private com.google.protobuf.RepeatedFieldBuilder<ClusterStats, ClusterStats.Builder, ClusterStatsOrBuilder> protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprivate com.google.protobuf.SingleFieldBuilder<Node, Node.Builder, NodeOrBuilder> Node identifier for Envoy instance.final booleanprivate voidmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(LoadStatsRequest other) Node identifier for Envoy instance.removeClusterStats(int index) A list of load stats to report.setClusterStats(int index, ClusterStats value) A list of load stats to report.setClusterStats(int index, ClusterStats.Builder builderForValue) A list of load stats to report.Node identifier for Envoy instance.setNode(Node.Builder builderForValue) Node identifier for Envoy instance.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
bitField0_
private int bitField0_ -
node_
-
nodeBuilder_
-
clusterStats_
-
clusterStatsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<ClusterStats, ClusterStats.Builder, ClusterStatsOrBuilder> clusterStatsBuilder_
-
-
Constructor Details
-
Builder
private Builder() -
Builder
private Builder(com.google.protobuf.AbstractMessage.BuilderParent parent)
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<LoadStatsRequest.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<LoadStatsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<LoadStatsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LoadStatsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<LoadStatsRequest.Builder>
-
mergeFrom
public LoadStatsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LoadStatsRequest.Builder>- Throws:
IOException
-
hasNode
public boolean hasNode()Node identifier for Envoy instance.
.envoy.config.core.v3.Node node = 1;- Specified by:
hasNodein interfaceLoadStatsRequestOrBuilder- Returns:
- Whether the node field is set.
-
getNode
Node identifier for Envoy instance.
.envoy.config.core.v3.Node node = 1;- Specified by:
getNodein interfaceLoadStatsRequestOrBuilder- Returns:
- The node.
-
setNode
Node identifier for Envoy instance.
.envoy.config.core.v3.Node node = 1; -
setNode
Node identifier for Envoy instance.
.envoy.config.core.v3.Node node = 1; -
mergeNode
Node identifier for Envoy instance.
.envoy.config.core.v3.Node node = 1; -
clearNode
Node identifier for Envoy instance.
.envoy.config.core.v3.Node node = 1; -
getNodeBuilder
Node identifier for Envoy instance.
.envoy.config.core.v3.Node node = 1; -
getNodeOrBuilder
Node identifier for Envoy instance.
.envoy.config.core.v3.Node node = 1;- Specified by:
getNodeOrBuilderin interfaceLoadStatsRequestOrBuilder
-
internalGetNodeFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Node, Node.Builder, NodeOrBuilder> internalGetNodeFieldBuilder()Node identifier for Envoy instance.
.envoy.config.core.v3.Node node = 1; -
ensureClusterStatsIsMutable
private void ensureClusterStatsIsMutable() -
getClusterStatsList
A list of load stats to report.
repeated .envoy.config.endpoint.v3.ClusterStats cluster_stats = 2;- Specified by:
getClusterStatsListin interfaceLoadStatsRequestOrBuilder
-
getClusterStatsCount
public int getClusterStatsCount()A list of load stats to report.
repeated .envoy.config.endpoint.v3.ClusterStats cluster_stats = 2;- Specified by:
getClusterStatsCountin interfaceLoadStatsRequestOrBuilder
-
getClusterStats
A list of load stats to report.
repeated .envoy.config.endpoint.v3.ClusterStats cluster_stats = 2;- Specified by:
getClusterStatsin interfaceLoadStatsRequestOrBuilder
-
setClusterStats
A list of load stats to report.
repeated .envoy.config.endpoint.v3.ClusterStats cluster_stats = 2; -
setClusterStats
A list of load stats to report.
repeated .envoy.config.endpoint.v3.ClusterStats cluster_stats = 2; -
addClusterStats
A list of load stats to report.
repeated .envoy.config.endpoint.v3.ClusterStats cluster_stats = 2; -
addClusterStats
A list of load stats to report.
repeated .envoy.config.endpoint.v3.ClusterStats cluster_stats = 2; -
addClusterStats
A list of load stats to report.
repeated .envoy.config.endpoint.v3.ClusterStats cluster_stats = 2; -
addClusterStats
A list of load stats to report.
repeated .envoy.config.endpoint.v3.ClusterStats cluster_stats = 2; -
addAllClusterStats
A list of load stats to report.
repeated .envoy.config.endpoint.v3.ClusterStats cluster_stats = 2; -
clearClusterStats
A list of load stats to report.
repeated .envoy.config.endpoint.v3.ClusterStats cluster_stats = 2; -
removeClusterStats
A list of load stats to report.
repeated .envoy.config.endpoint.v3.ClusterStats cluster_stats = 2; -
getClusterStatsBuilder
A list of load stats to report.
repeated .envoy.config.endpoint.v3.ClusterStats cluster_stats = 2; -
getClusterStatsOrBuilder
A list of load stats to report.
repeated .envoy.config.endpoint.v3.ClusterStats cluster_stats = 2;- Specified by:
getClusterStatsOrBuilderin interfaceLoadStatsRequestOrBuilder
-
getClusterStatsOrBuilderList
A list of load stats to report.
repeated .envoy.config.endpoint.v3.ClusterStats cluster_stats = 2;- Specified by:
getClusterStatsOrBuilderListin interfaceLoadStatsRequestOrBuilder
-
addClusterStatsBuilder
A list of load stats to report.
repeated .envoy.config.endpoint.v3.ClusterStats cluster_stats = 2; -
addClusterStatsBuilder
A list of load stats to report.
repeated .envoy.config.endpoint.v3.ClusterStats cluster_stats = 2; -
getClusterStatsBuilderList
A list of load stats to report.
repeated .envoy.config.endpoint.v3.ClusterStats cluster_stats = 2; -
internalGetClusterStatsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<ClusterStats, ClusterStats.Builder, ClusterStatsOrBuilder> internalGetClusterStatsFieldBuilder()
-