Class Maglev.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, MaglevOrBuilder, java.lang.Cloneable
    Enclosing class:
    Maglev

    public static final class Maglev.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Maglev.Builder>
    implements MaglevOrBuilder
     This configuration allows the built-in Maglev LB policy to be configured via the LB policy
     extension point. See the :ref:`load balancing architecture overview
     <arch_overview_load_balancing_types>` and :ref:`Maglev<arch_overview_load_balancing_types_maglev>` for more information.
     [#extension: envoy.load_balancing_policies]
     
    Protobuf type envoy.extensions.load_balancing_policies.maglev.v3.Maglev
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Maglev.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)  
      Maglev build()  
      Maglev buildPartial()  
      Maglev.Builder clear()  
      Maglev.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)  
      Maglev.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)  
      Maglev.Builder clearTableSize()
      The table size for Maglev hashing.
      Maglev.Builder clone()  
      Maglev getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      com.google.protobuf.UInt64Value getTableSize()
      The table size for Maglev hashing.
      com.google.protobuf.UInt64Value.Builder getTableSizeBuilder()
      The table size for Maglev hashing.
      com.google.protobuf.UInt64ValueOrBuilder getTableSizeOrBuilder()
      The table size for Maglev hashing.
      boolean hasTableSize()
      The table size for Maglev hashing.
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      Maglev.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      Maglev.Builder mergeFrom​(com.google.protobuf.Message other)  
      Maglev.Builder mergeFrom​(Maglev other)  
      Maglev.Builder mergeTableSize​(com.google.protobuf.UInt64Value value)
      The table size for Maglev hashing.
      Maglev.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      Maglev.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)  
      Maglev.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)  
      Maglev.Builder setTableSize​(com.google.protobuf.UInt64Value value)
      The table size for Maglev hashing.
      Maglev.Builder setTableSize​(com.google.protobuf.UInt64Value.Builder builderForValue)
      The table size for Maglev hashing.
      Maglev.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      • Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

        getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
      • Methods inherited from class com.google.protobuf.AbstractMessage.Builder

        findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, 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.MessageLite.Builder

        mergeFrom
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Maglev.Builder>
      • clear

        public Maglev.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Maglev.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Maglev.Builder>
      • getDefaultInstanceForType

        public Maglev getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Maglev build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Maglev buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Maglev.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Maglev.Builder>
      • setField

        public Maglev.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                       java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Maglev.Builder>
      • clearField

        public Maglev.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Maglev.Builder>
      • clearOneof

        public Maglev.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Maglev.Builder>
      • setRepeatedField

        public Maglev.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                               int index,
                                               java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Maglev.Builder>
      • addRepeatedField

        public Maglev.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                               java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Maglev.Builder>
      • mergeFrom

        public Maglev.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Maglev.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Maglev.Builder>
      • mergeFrom

        public Maglev.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                 throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Maglev.Builder>
        Throws:
        java.io.IOException
      • hasTableSize

        public boolean hasTableSize()
         The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee.
         Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same
         upstream as it was before. Increasing the table size reduces the amount of disruption.
         The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
         
        .google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
        Specified by:
        hasTableSize in interface MaglevOrBuilder
        Returns:
        Whether the tableSize field is set.
      • getTableSize

        public com.google.protobuf.UInt64Value getTableSize()
         The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee.
         Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same
         upstream as it was before. Increasing the table size reduces the amount of disruption.
         The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
         
        .google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
        Specified by:
        getTableSize in interface MaglevOrBuilder
        Returns:
        The tableSize.
      • setTableSize

        public Maglev.Builder setTableSize​(com.google.protobuf.UInt64Value value)
         The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee.
         Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same
         upstream as it was before. Increasing the table size reduces the amount of disruption.
         The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
         
        .google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
      • setTableSize

        public Maglev.Builder setTableSize​(com.google.protobuf.UInt64Value.Builder builderForValue)
         The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee.
         Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same
         upstream as it was before. Increasing the table size reduces the amount of disruption.
         The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
         
        .google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
      • mergeTableSize

        public Maglev.Builder mergeTableSize​(com.google.protobuf.UInt64Value value)
         The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee.
         Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same
         upstream as it was before. Increasing the table size reduces the amount of disruption.
         The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
         
        .google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
      • clearTableSize

        public Maglev.Builder clearTableSize()
         The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee.
         Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same
         upstream as it was before. Increasing the table size reduces the amount of disruption.
         The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
         
        .google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
      • getTableSizeBuilder

        public com.google.protobuf.UInt64Value.Builder getTableSizeBuilder()
         The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee.
         Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same
         upstream as it was before. Increasing the table size reduces the amount of disruption.
         The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
         
        .google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
      • getTableSizeOrBuilder

        public com.google.protobuf.UInt64ValueOrBuilder getTableSizeOrBuilder()
         The table size for Maglev hashing. Maglev aims for "minimal disruption" rather than an absolute guarantee.
         Minimal disruption means that when the set of upstream hosts change, a connection will likely be sent to the same
         upstream as it was before. Increasing the table size reduces the amount of disruption.
         The table size must be prime number limited to 5000011. If it is not specified, the default is 65537.
         
        .google.protobuf.UInt64Value table_size = 1 [(.validate.rules) = { ... }
        Specified by:
        getTableSizeOrBuilder in interface MaglevOrBuilder
      • setUnknownFields

        public final Maglev.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Maglev.Builder>
      • mergeUnknownFields

        public final Maglev.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Maglev.Builder>