Class LoadStatsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<LoadStatsRequest.Builder>
io.envoyproxy.envoy.service.load_stats.v2.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.GeneratedMessageV3.Builder<LoadStatsRequest.Builder>
implements LoadStatsRequestOrBuilder
A load report Envoy sends to the management server. [#not-implemented-hide:] Not configuration. TBD how to doc proto APIs.Protobuf type
envoy.service.load_stats.v2.LoadStatsRequest-
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.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()A list of load stats to report.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Node identifier for Envoy instance.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()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.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(LoadStatsRequest other) Node identifier for Envoy instance.final LoadStatsRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) final LoadStatsRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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 java.lang.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
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<LoadStatsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<LoadStatsRequest.Builder>
-
setField
public LoadStatsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LoadStatsRequest.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LoadStatsRequest.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<LoadStatsRequest.Builder>
-
setRepeatedField
public LoadStatsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LoadStatsRequest.Builder>
-
addRepeatedField
public LoadStatsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LoadStatsRequest.Builder>
-
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.GeneratedMessageV3.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.api.v2.core.Node node = 1;- Specified by:
hasNodein interfaceLoadStatsRequestOrBuilder- Returns:
- Whether the node field is set.
-
getNode
Node identifier for Envoy instance.
.envoy.api.v2.core.Node node = 1;- Specified by:
getNodein interfaceLoadStatsRequestOrBuilder- Returns:
- The node.
-
setNode
Node identifier for Envoy instance.
.envoy.api.v2.core.Node node = 1; -
setNode
Node identifier for Envoy instance.
.envoy.api.v2.core.Node node = 1; -
mergeNode
Node identifier for Envoy instance.
.envoy.api.v2.core.Node node = 1; -
clearNode
Node identifier for Envoy instance.
.envoy.api.v2.core.Node node = 1; -
getNodeBuilder
Node identifier for Envoy instance.
.envoy.api.v2.core.Node node = 1; -
getNodeOrBuilder
Node identifier for Envoy instance.
.envoy.api.v2.core.Node node = 1;- Specified by:
getNodeOrBuilderin interfaceLoadStatsRequestOrBuilder
-
getClusterStatsList
A list of load stats to report.
repeated .envoy.api.v2.endpoint.ClusterStats cluster_stats = 2;- Specified by:
getClusterStatsListin interfaceLoadStatsRequestOrBuilder
-
getClusterStatsCount
public int getClusterStatsCount()A list of load stats to report.
repeated .envoy.api.v2.endpoint.ClusterStats cluster_stats = 2;- Specified by:
getClusterStatsCountin interfaceLoadStatsRequestOrBuilder
-
getClusterStats
A list of load stats to report.
repeated .envoy.api.v2.endpoint.ClusterStats cluster_stats = 2;- Specified by:
getClusterStatsin interfaceLoadStatsRequestOrBuilder
-
setClusterStats
A list of load stats to report.
repeated .envoy.api.v2.endpoint.ClusterStats cluster_stats = 2; -
setClusterStats
A list of load stats to report.
repeated .envoy.api.v2.endpoint.ClusterStats cluster_stats = 2; -
addClusterStats
A list of load stats to report.
repeated .envoy.api.v2.endpoint.ClusterStats cluster_stats = 2; -
addClusterStats
A list of load stats to report.
repeated .envoy.api.v2.endpoint.ClusterStats cluster_stats = 2; -
addClusterStats
A list of load stats to report.
repeated .envoy.api.v2.endpoint.ClusterStats cluster_stats = 2; -
addClusterStats
A list of load stats to report.
repeated .envoy.api.v2.endpoint.ClusterStats cluster_stats = 2; -
addAllClusterStats
A list of load stats to report.
repeated .envoy.api.v2.endpoint.ClusterStats cluster_stats = 2; -
clearClusterStats
A list of load stats to report.
repeated .envoy.api.v2.endpoint.ClusterStats cluster_stats = 2; -
removeClusterStats
A list of load stats to report.
repeated .envoy.api.v2.endpoint.ClusterStats cluster_stats = 2; -
getClusterStatsBuilder
A list of load stats to report.
repeated .envoy.api.v2.endpoint.ClusterStats cluster_stats = 2; -
getClusterStatsOrBuilder
A list of load stats to report.
repeated .envoy.api.v2.endpoint.ClusterStats cluster_stats = 2;- Specified by:
getClusterStatsOrBuilderin interfaceLoadStatsRequestOrBuilder
-
getClusterStatsOrBuilderList
A list of load stats to report.
repeated .envoy.api.v2.endpoint.ClusterStats cluster_stats = 2;- Specified by:
getClusterStatsOrBuilderListin interfaceLoadStatsRequestOrBuilder
-
addClusterStatsBuilder
A list of load stats to report.
repeated .envoy.api.v2.endpoint.ClusterStats cluster_stats = 2; -
addClusterStatsBuilder
A list of load stats to report.
repeated .envoy.api.v2.endpoint.ClusterStats cluster_stats = 2; -
getClusterStatsBuilderList
A list of load stats to report.
repeated .envoy.api.v2.endpoint.ClusterStats cluster_stats = 2; -
setUnknownFields
public final LoadStatsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LoadStatsRequest.Builder>
-
mergeUnknownFields
public final LoadStatsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LoadStatsRequest.Builder>
-