Package io.envoyproxy.envoy.admin.v3
Class EndpointsConfigDump.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<EndpointsConfigDump.Builder>
com.google.protobuf.GeneratedMessage.Builder<EndpointsConfigDump.Builder>
io.envoyproxy.envoy.admin.v3.EndpointsConfigDump.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,EndpointsConfigDumpOrBuilder,Cloneable
- Enclosing class:
EndpointsConfigDump
public static final class EndpointsConfigDump.Builder
extends com.google.protobuf.GeneratedMessage.Builder<EndpointsConfigDump.Builder>
implements EndpointsConfigDumpOrBuilder
Envoy's admin fill this message with all currently known endpoints. Endpoint configuration information can be used to recreate an Envoy configuration by populating all endpoints as static endpoints or by returning them in an EDS response.Protobuf type
envoy.admin.v3.EndpointsConfigDump-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate com.google.protobuf.RepeatedFieldBuilder<EndpointsConfigDump.DynamicEndpointConfig, EndpointsConfigDump.DynamicEndpointConfig.Builder, EndpointsConfigDump.DynamicEndpointConfigOrBuilder> private com.google.protobuf.RepeatedFieldBuilder<EndpointsConfigDump.StaticEndpointConfig, EndpointsConfigDump.StaticEndpointConfig.Builder, EndpointsConfigDump.StaticEndpointConfigOrBuilder> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllDynamicEndpointConfigs(Iterable<? extends EndpointsConfigDump.DynamicEndpointConfig> values) The dynamically loaded endpoint configs.addAllStaticEndpointConfigs(Iterable<? extends EndpointsConfigDump.StaticEndpointConfig> values) The statically loaded endpoint configs.addDynamicEndpointConfigs(int index, EndpointsConfigDump.DynamicEndpointConfig value) The dynamically loaded endpoint configs.addDynamicEndpointConfigs(int index, EndpointsConfigDump.DynamicEndpointConfig.Builder builderForValue) The dynamically loaded endpoint configs.The dynamically loaded endpoint configs.The dynamically loaded endpoint configs.The dynamically loaded endpoint configs.addDynamicEndpointConfigsBuilder(int index) The dynamically loaded endpoint configs.addStaticEndpointConfigs(int index, EndpointsConfigDump.StaticEndpointConfig value) The statically loaded endpoint configs.addStaticEndpointConfigs(int index, EndpointsConfigDump.StaticEndpointConfig.Builder builderForValue) The statically loaded endpoint configs.The statically loaded endpoint configs.addStaticEndpointConfigs(EndpointsConfigDump.StaticEndpointConfig.Builder builderForValue) The statically loaded endpoint configs.The statically loaded endpoint configs.addStaticEndpointConfigsBuilder(int index) The statically loaded endpoint configs.build()private voidbuildPartial0(EndpointsConfigDump result) private voidclear()The dynamically loaded endpoint configs.The statically loaded endpoint configs.private voidprivate voidstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDynamicEndpointConfigs(int index) The dynamically loaded endpoint configs.getDynamicEndpointConfigsBuilder(int index) The dynamically loaded endpoint configs.The dynamically loaded endpoint configs.intThe dynamically loaded endpoint configs.The dynamically loaded endpoint configs.getDynamicEndpointConfigsOrBuilder(int index) The dynamically loaded endpoint configs.The dynamically loaded endpoint configs.getStaticEndpointConfigs(int index) The statically loaded endpoint configs.getStaticEndpointConfigsBuilder(int index) The statically loaded endpoint configs.The statically loaded endpoint configs.intThe statically loaded endpoint configs.The statically loaded endpoint configs.getStaticEndpointConfigsOrBuilder(int index) The statically loaded endpoint configs.The statically loaded endpoint configs.private com.google.protobuf.RepeatedFieldBuilder<EndpointsConfigDump.DynamicEndpointConfig, EndpointsConfigDump.DynamicEndpointConfig.Builder, EndpointsConfigDump.DynamicEndpointConfigOrBuilder> protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprivate com.google.protobuf.RepeatedFieldBuilder<EndpointsConfigDump.StaticEndpointConfig, EndpointsConfigDump.StaticEndpointConfig.Builder, EndpointsConfigDump.StaticEndpointConfigOrBuilder> final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(EndpointsConfigDump other) removeDynamicEndpointConfigs(int index) The dynamically loaded endpoint configs.removeStaticEndpointConfigs(int index) The statically loaded endpoint configs.setDynamicEndpointConfigs(int index, EndpointsConfigDump.DynamicEndpointConfig value) The dynamically loaded endpoint configs.setDynamicEndpointConfigs(int index, EndpointsConfigDump.DynamicEndpointConfig.Builder builderForValue) The dynamically loaded endpoint configs.setStaticEndpointConfigs(int index, EndpointsConfigDump.StaticEndpointConfig value) The statically loaded endpoint configs.setStaticEndpointConfigs(int index, EndpointsConfigDump.StaticEndpointConfig.Builder builderForValue) The statically loaded endpoint configs.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 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
-
Field Details
-
bitField0_
private int bitField0_ -
staticEndpointConfigs_
-
staticEndpointConfigsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<EndpointsConfigDump.StaticEndpointConfig,EndpointsConfigDump.StaticEndpointConfig.Builder, staticEndpointConfigsBuilder_EndpointsConfigDump.StaticEndpointConfigOrBuilder> -
dynamicEndpointConfigs_
-
dynamicEndpointConfigsBuilder_
private com.google.protobuf.RepeatedFieldBuilder<EndpointsConfigDump.DynamicEndpointConfig,EndpointsConfigDump.DynamicEndpointConfig.Builder, dynamicEndpointConfigsBuilder_EndpointsConfigDump.DynamicEndpointConfigOrBuilder>
-
-
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<EndpointsConfigDump.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<EndpointsConfigDump.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<EndpointsConfigDump.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<EndpointsConfigDump.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<EndpointsConfigDump.Builder>
-
mergeFrom
public EndpointsConfigDump.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<EndpointsConfigDump.Builder>- Throws:
IOException
-
ensureStaticEndpointConfigsIsMutable
private void ensureStaticEndpointConfigsIsMutable() -
getStaticEndpointConfigsList
The statically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2;- Specified by:
getStaticEndpointConfigsListin interfaceEndpointsConfigDumpOrBuilder
-
getStaticEndpointConfigsCount
public int getStaticEndpointConfigsCount()The statically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2;- Specified by:
getStaticEndpointConfigsCountin interfaceEndpointsConfigDumpOrBuilder
-
getStaticEndpointConfigs
The statically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2;- Specified by:
getStaticEndpointConfigsin interfaceEndpointsConfigDumpOrBuilder
-
setStaticEndpointConfigs
public EndpointsConfigDump.Builder setStaticEndpointConfigs(int index, EndpointsConfigDump.StaticEndpointConfig value) The statically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; -
setStaticEndpointConfigs
public EndpointsConfigDump.Builder setStaticEndpointConfigs(int index, EndpointsConfigDump.StaticEndpointConfig.Builder builderForValue) The statically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; -
addStaticEndpointConfigs
public EndpointsConfigDump.Builder addStaticEndpointConfigs(EndpointsConfigDump.StaticEndpointConfig value) The statically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; -
addStaticEndpointConfigs
public EndpointsConfigDump.Builder addStaticEndpointConfigs(int index, EndpointsConfigDump.StaticEndpointConfig value) The statically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; -
addStaticEndpointConfigs
public EndpointsConfigDump.Builder addStaticEndpointConfigs(EndpointsConfigDump.StaticEndpointConfig.Builder builderForValue) The statically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; -
addStaticEndpointConfigs
public EndpointsConfigDump.Builder addStaticEndpointConfigs(int index, EndpointsConfigDump.StaticEndpointConfig.Builder builderForValue) The statically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; -
addAllStaticEndpointConfigs
public EndpointsConfigDump.Builder addAllStaticEndpointConfigs(Iterable<? extends EndpointsConfigDump.StaticEndpointConfig> values) The statically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; -
clearStaticEndpointConfigs
The statically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; -
removeStaticEndpointConfigs
The statically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; -
getStaticEndpointConfigsBuilder
The statically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; -
getStaticEndpointConfigsOrBuilder
public EndpointsConfigDump.StaticEndpointConfigOrBuilder getStaticEndpointConfigsOrBuilder(int index) The statically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2;- Specified by:
getStaticEndpointConfigsOrBuilderin interfaceEndpointsConfigDumpOrBuilder
-
getStaticEndpointConfigsOrBuilderList
public List<? extends EndpointsConfigDump.StaticEndpointConfigOrBuilder> getStaticEndpointConfigsOrBuilderList()The statically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2;- Specified by:
getStaticEndpointConfigsOrBuilderListin interfaceEndpointsConfigDumpOrBuilder
-
addStaticEndpointConfigsBuilder
The statically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; -
addStaticEndpointConfigsBuilder
The statically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; -
getStaticEndpointConfigsBuilderList
The statically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.StaticEndpointConfig static_endpoint_configs = 2; -
internalGetStaticEndpointConfigsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<EndpointsConfigDump.StaticEndpointConfig,EndpointsConfigDump.StaticEndpointConfig.Builder, internalGetStaticEndpointConfigsFieldBuilder()EndpointsConfigDump.StaticEndpointConfigOrBuilder> -
ensureDynamicEndpointConfigsIsMutable
private void ensureDynamicEndpointConfigsIsMutable() -
getDynamicEndpointConfigsList
The dynamically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3;- Specified by:
getDynamicEndpointConfigsListin interfaceEndpointsConfigDumpOrBuilder
-
getDynamicEndpointConfigsCount
public int getDynamicEndpointConfigsCount()The dynamically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3;- Specified by:
getDynamicEndpointConfigsCountin interfaceEndpointsConfigDumpOrBuilder
-
getDynamicEndpointConfigs
The dynamically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3;- Specified by:
getDynamicEndpointConfigsin interfaceEndpointsConfigDumpOrBuilder
-
setDynamicEndpointConfigs
public EndpointsConfigDump.Builder setDynamicEndpointConfigs(int index, EndpointsConfigDump.DynamicEndpointConfig value) The dynamically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; -
setDynamicEndpointConfigs
public EndpointsConfigDump.Builder setDynamicEndpointConfigs(int index, EndpointsConfigDump.DynamicEndpointConfig.Builder builderForValue) The dynamically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; -
addDynamicEndpointConfigs
public EndpointsConfigDump.Builder addDynamicEndpointConfigs(EndpointsConfigDump.DynamicEndpointConfig value) The dynamically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; -
addDynamicEndpointConfigs
public EndpointsConfigDump.Builder addDynamicEndpointConfigs(int index, EndpointsConfigDump.DynamicEndpointConfig value) The dynamically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; -
addDynamicEndpointConfigs
public EndpointsConfigDump.Builder addDynamicEndpointConfigs(EndpointsConfigDump.DynamicEndpointConfig.Builder builderForValue) The dynamically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; -
addDynamicEndpointConfigs
public EndpointsConfigDump.Builder addDynamicEndpointConfigs(int index, EndpointsConfigDump.DynamicEndpointConfig.Builder builderForValue) The dynamically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; -
addAllDynamicEndpointConfigs
public EndpointsConfigDump.Builder addAllDynamicEndpointConfigs(Iterable<? extends EndpointsConfigDump.DynamicEndpointConfig> values) The dynamically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; -
clearDynamicEndpointConfigs
The dynamically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; -
removeDynamicEndpointConfigs
The dynamically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; -
getDynamicEndpointConfigsBuilder
public EndpointsConfigDump.DynamicEndpointConfig.Builder getDynamicEndpointConfigsBuilder(int index) The dynamically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; -
getDynamicEndpointConfigsOrBuilder
public EndpointsConfigDump.DynamicEndpointConfigOrBuilder getDynamicEndpointConfigsOrBuilder(int index) The dynamically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3;- Specified by:
getDynamicEndpointConfigsOrBuilderin interfaceEndpointsConfigDumpOrBuilder
-
getDynamicEndpointConfigsOrBuilderList
public List<? extends EndpointsConfigDump.DynamicEndpointConfigOrBuilder> getDynamicEndpointConfigsOrBuilderList()The dynamically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3;- Specified by:
getDynamicEndpointConfigsOrBuilderListin interfaceEndpointsConfigDumpOrBuilder
-
addDynamicEndpointConfigsBuilder
The dynamically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; -
addDynamicEndpointConfigsBuilder
public EndpointsConfigDump.DynamicEndpointConfig.Builder addDynamicEndpointConfigsBuilder(int index) The dynamically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; -
getDynamicEndpointConfigsBuilderList
public List<EndpointsConfigDump.DynamicEndpointConfig.Builder> getDynamicEndpointConfigsBuilderList()The dynamically loaded endpoint configs.
repeated .envoy.admin.v3.EndpointsConfigDump.DynamicEndpointConfig dynamic_endpoint_configs = 3; -
internalGetDynamicEndpointConfigsFieldBuilder
private com.google.protobuf.RepeatedFieldBuilder<EndpointsConfigDump.DynamicEndpointConfig,EndpointsConfigDump.DynamicEndpointConfig.Builder, internalGetDynamicEndpointConfigsFieldBuilder()EndpointsConfigDump.DynamicEndpointConfigOrBuilder>
-