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 int
private List
<ClusterStats> private com.google.protobuf.RepeatedFieldBuilder
<ClusterStats, ClusterStats.Builder, ClusterStatsOrBuilder> private Node
private 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 void
buildPartial0
(LoadStatsRequest result) private void
clear()
A list of load stats to report.Node identifier for Envoy instance.private void
getClusterStats
(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.int
A 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.Descriptor
com.google.protobuf.Descriptors.Descriptor
getNode()
Node identifier for Envoy instance.Node identifier for Envoy instance.Node identifier for Envoy instance.boolean
hasNode()
Node identifier for Envoy instance.private com.google.protobuf.RepeatedFieldBuilder
<ClusterStats, ClusterStats.Builder, ClusterStatsOrBuilder> protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
private com.google.protobuf.SingleFieldBuilder
<Node, Node.Builder, NodeOrBuilder> Node identifier for Envoy instance.final boolean
private void
mergeFrom
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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, clusterStatsBuilder_ClusterStatsOrBuilder>
-
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<LoadStatsRequest.Builder>
-
maybeForceBuilderInitialization
private void maybeForceBuilderInitialization() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<LoadStatsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<LoadStatsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
-
buildPartial0
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LoadStatsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasNode
in interfaceLoadStatsRequestOrBuilder
- Returns:
- Whether the node field is set.
-
getNode
Node identifier for Envoy instance.
.envoy.config.core.v3.Node node = 1;
- Specified by:
getNode
in 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:
getNodeOrBuilder
in interfaceLoadStatsRequestOrBuilder
-
internalGetNodeFieldBuilder
private com.google.protobuf.SingleFieldBuilder<Node,Node.Builder, internalGetNodeFieldBuilder()NodeOrBuilder> 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:
getClusterStatsList
in interfaceLoadStatsRequestOrBuilder
-
getClusterStatsCount
public int getClusterStatsCount()A list of load stats to report.
repeated .envoy.config.endpoint.v3.ClusterStats cluster_stats = 2;
- Specified by:
getClusterStatsCount
in interfaceLoadStatsRequestOrBuilder
-
getClusterStats
A list of load stats to report.
repeated .envoy.config.endpoint.v3.ClusterStats cluster_stats = 2;
- Specified by:
getClusterStats
in 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:
getClusterStatsOrBuilder
in interfaceLoadStatsRequestOrBuilder
-
getClusterStatsOrBuilderList
A list of load stats to report.
repeated .envoy.config.endpoint.v3.ClusterStats cluster_stats = 2;
- Specified by:
getClusterStatsOrBuilderList
in 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, internalGetClusterStatsFieldBuilder()ClusterStatsOrBuilder>
-