java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Zstd.Builder>
io.envoyproxy.envoy.extensions.compression.zstd.decompressor.v3.Zstd.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ZstdOrBuilder, Cloneable
Enclosing class:
Zstd

public static final class Zstd.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Zstd.Builder> implements ZstdOrBuilder
Protobuf type envoy.extensions.compression.zstd.decompressor.v3.Zstd
  • Method Details

    • 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<Zstd.Builder>
    • clear

      public Zstd.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<Zstd.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<Zstd.Builder>
    • getDefaultInstanceForType

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

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

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

      public Zstd.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<Zstd.Builder>
    • setField

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

      public Zstd.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<Zstd.Builder>
    • clearOneof

      public Zstd.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<Zstd.Builder>
    • setRepeatedField

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

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

      public Zstd.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<Zstd.Builder>
    • mergeFrom

      public Zstd.Builder mergeFrom(Zstd other)
    • isInitialized

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

      public Zstd.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<Zstd.Builder>
      Throws:
      IOException
    • getDictionariesList

      public List<DataSource> getDictionariesList()
       Dictionaries for decompression. Zstd offers dictionary compression, which greatly improves
       efficiency on small files and messages. It is necessary to ensure that the dictionary used for
       decompression is the same as the compression dictionary. Multiple dictionaries can be set, and the
       dictionary will be automatically selected for decompression according to the dictionary ID in the
       source content.
       Please refer to `zstd manual <https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md#dictionary-builder>`_
       to train specific dictionaries for decompression.
       
      repeated .envoy.config.core.v3.DataSource dictionaries = 1;
      Specified by:
      getDictionariesList in interface ZstdOrBuilder
    • getDictionariesCount

      public int getDictionariesCount()
       Dictionaries for decompression. Zstd offers dictionary compression, which greatly improves
       efficiency on small files and messages. It is necessary to ensure that the dictionary used for
       decompression is the same as the compression dictionary. Multiple dictionaries can be set, and the
       dictionary will be automatically selected for decompression according to the dictionary ID in the
       source content.
       Please refer to `zstd manual <https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md#dictionary-builder>`_
       to train specific dictionaries for decompression.
       
      repeated .envoy.config.core.v3.DataSource dictionaries = 1;
      Specified by:
      getDictionariesCount in interface ZstdOrBuilder
    • getDictionaries

      public DataSource getDictionaries(int index)
       Dictionaries for decompression. Zstd offers dictionary compression, which greatly improves
       efficiency on small files and messages. It is necessary to ensure that the dictionary used for
       decompression is the same as the compression dictionary. Multiple dictionaries can be set, and the
       dictionary will be automatically selected for decompression according to the dictionary ID in the
       source content.
       Please refer to `zstd manual <https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md#dictionary-builder>`_
       to train specific dictionaries for decompression.
       
      repeated .envoy.config.core.v3.DataSource dictionaries = 1;
      Specified by:
      getDictionaries in interface ZstdOrBuilder
    • setDictionaries

      public Zstd.Builder setDictionaries(int index, DataSource value)
       Dictionaries for decompression. Zstd offers dictionary compression, which greatly improves
       efficiency on small files and messages. It is necessary to ensure that the dictionary used for
       decompression is the same as the compression dictionary. Multiple dictionaries can be set, and the
       dictionary will be automatically selected for decompression according to the dictionary ID in the
       source content.
       Please refer to `zstd manual <https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md#dictionary-builder>`_
       to train specific dictionaries for decompression.
       
      repeated .envoy.config.core.v3.DataSource dictionaries = 1;
    • setDictionaries

      public Zstd.Builder setDictionaries(int index, DataSource.Builder builderForValue)
       Dictionaries for decompression. Zstd offers dictionary compression, which greatly improves
       efficiency on small files and messages. It is necessary to ensure that the dictionary used for
       decompression is the same as the compression dictionary. Multiple dictionaries can be set, and the
       dictionary will be automatically selected for decompression according to the dictionary ID in the
       source content.
       Please refer to `zstd manual <https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md#dictionary-builder>`_
       to train specific dictionaries for decompression.
       
      repeated .envoy.config.core.v3.DataSource dictionaries = 1;
    • addDictionaries

      public Zstd.Builder addDictionaries(DataSource value)
       Dictionaries for decompression. Zstd offers dictionary compression, which greatly improves
       efficiency on small files and messages. It is necessary to ensure that the dictionary used for
       decompression is the same as the compression dictionary. Multiple dictionaries can be set, and the
       dictionary will be automatically selected for decompression according to the dictionary ID in the
       source content.
       Please refer to `zstd manual <https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md#dictionary-builder>`_
       to train specific dictionaries for decompression.
       
      repeated .envoy.config.core.v3.DataSource dictionaries = 1;
    • addDictionaries

      public Zstd.Builder addDictionaries(int index, DataSource value)
       Dictionaries for decompression. Zstd offers dictionary compression, which greatly improves
       efficiency on small files and messages. It is necessary to ensure that the dictionary used for
       decompression is the same as the compression dictionary. Multiple dictionaries can be set, and the
       dictionary will be automatically selected for decompression according to the dictionary ID in the
       source content.
       Please refer to `zstd manual <https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md#dictionary-builder>`_
       to train specific dictionaries for decompression.
       
      repeated .envoy.config.core.v3.DataSource dictionaries = 1;
    • addDictionaries

      public Zstd.Builder addDictionaries(DataSource.Builder builderForValue)
       Dictionaries for decompression. Zstd offers dictionary compression, which greatly improves
       efficiency on small files and messages. It is necessary to ensure that the dictionary used for
       decompression is the same as the compression dictionary. Multiple dictionaries can be set, and the
       dictionary will be automatically selected for decompression according to the dictionary ID in the
       source content.
       Please refer to `zstd manual <https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md#dictionary-builder>`_
       to train specific dictionaries for decompression.
       
      repeated .envoy.config.core.v3.DataSource dictionaries = 1;
    • addDictionaries

      public Zstd.Builder addDictionaries(int index, DataSource.Builder builderForValue)
       Dictionaries for decompression. Zstd offers dictionary compression, which greatly improves
       efficiency on small files and messages. It is necessary to ensure that the dictionary used for
       decompression is the same as the compression dictionary. Multiple dictionaries can be set, and the
       dictionary will be automatically selected for decompression according to the dictionary ID in the
       source content.
       Please refer to `zstd manual <https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md#dictionary-builder>`_
       to train specific dictionaries for decompression.
       
      repeated .envoy.config.core.v3.DataSource dictionaries = 1;
    • addAllDictionaries

      public Zstd.Builder addAllDictionaries(Iterable<? extends DataSource> values)
       Dictionaries for decompression. Zstd offers dictionary compression, which greatly improves
       efficiency on small files and messages. It is necessary to ensure that the dictionary used for
       decompression is the same as the compression dictionary. Multiple dictionaries can be set, and the
       dictionary will be automatically selected for decompression according to the dictionary ID in the
       source content.
       Please refer to `zstd manual <https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md#dictionary-builder>`_
       to train specific dictionaries for decompression.
       
      repeated .envoy.config.core.v3.DataSource dictionaries = 1;
    • clearDictionaries

      public Zstd.Builder clearDictionaries()
       Dictionaries for decompression. Zstd offers dictionary compression, which greatly improves
       efficiency on small files and messages. It is necessary to ensure that the dictionary used for
       decompression is the same as the compression dictionary. Multiple dictionaries can be set, and the
       dictionary will be automatically selected for decompression according to the dictionary ID in the
       source content.
       Please refer to `zstd manual <https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md#dictionary-builder>`_
       to train specific dictionaries for decompression.
       
      repeated .envoy.config.core.v3.DataSource dictionaries = 1;
    • removeDictionaries

      public Zstd.Builder removeDictionaries(int index)
       Dictionaries for decompression. Zstd offers dictionary compression, which greatly improves
       efficiency on small files and messages. It is necessary to ensure that the dictionary used for
       decompression is the same as the compression dictionary. Multiple dictionaries can be set, and the
       dictionary will be automatically selected for decompression according to the dictionary ID in the
       source content.
       Please refer to `zstd manual <https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md#dictionary-builder>`_
       to train specific dictionaries for decompression.
       
      repeated .envoy.config.core.v3.DataSource dictionaries = 1;
    • getDictionariesBuilder

      public DataSource.Builder getDictionariesBuilder(int index)
       Dictionaries for decompression. Zstd offers dictionary compression, which greatly improves
       efficiency on small files and messages. It is necessary to ensure that the dictionary used for
       decompression is the same as the compression dictionary. Multiple dictionaries can be set, and the
       dictionary will be automatically selected for decompression according to the dictionary ID in the
       source content.
       Please refer to `zstd manual <https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md#dictionary-builder>`_
       to train specific dictionaries for decompression.
       
      repeated .envoy.config.core.v3.DataSource dictionaries = 1;
    • getDictionariesOrBuilder

      public DataSourceOrBuilder getDictionariesOrBuilder(int index)
       Dictionaries for decompression. Zstd offers dictionary compression, which greatly improves
       efficiency on small files and messages. It is necessary to ensure that the dictionary used for
       decompression is the same as the compression dictionary. Multiple dictionaries can be set, and the
       dictionary will be automatically selected for decompression according to the dictionary ID in the
       source content.
       Please refer to `zstd manual <https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md#dictionary-builder>`_
       to train specific dictionaries for decompression.
       
      repeated .envoy.config.core.v3.DataSource dictionaries = 1;
      Specified by:
      getDictionariesOrBuilder in interface ZstdOrBuilder
    • getDictionariesOrBuilderList

      public List<? extends DataSourceOrBuilder> getDictionariesOrBuilderList()
       Dictionaries for decompression. Zstd offers dictionary compression, which greatly improves
       efficiency on small files and messages. It is necessary to ensure that the dictionary used for
       decompression is the same as the compression dictionary. Multiple dictionaries can be set, and the
       dictionary will be automatically selected for decompression according to the dictionary ID in the
       source content.
       Please refer to `zstd manual <https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md#dictionary-builder>`_
       to train specific dictionaries for decompression.
       
      repeated .envoy.config.core.v3.DataSource dictionaries = 1;
      Specified by:
      getDictionariesOrBuilderList in interface ZstdOrBuilder
    • addDictionariesBuilder

      public DataSource.Builder addDictionariesBuilder()
       Dictionaries for decompression. Zstd offers dictionary compression, which greatly improves
       efficiency on small files and messages. It is necessary to ensure that the dictionary used for
       decompression is the same as the compression dictionary. Multiple dictionaries can be set, and the
       dictionary will be automatically selected for decompression according to the dictionary ID in the
       source content.
       Please refer to `zstd manual <https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md#dictionary-builder>`_
       to train specific dictionaries for decompression.
       
      repeated .envoy.config.core.v3.DataSource dictionaries = 1;
    • addDictionariesBuilder

      public DataSource.Builder addDictionariesBuilder(int index)
       Dictionaries for decompression. Zstd offers dictionary compression, which greatly improves
       efficiency on small files and messages. It is necessary to ensure that the dictionary used for
       decompression is the same as the compression dictionary. Multiple dictionaries can be set, and the
       dictionary will be automatically selected for decompression according to the dictionary ID in the
       source content.
       Please refer to `zstd manual <https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md#dictionary-builder>`_
       to train specific dictionaries for decompression.
       
      repeated .envoy.config.core.v3.DataSource dictionaries = 1;
    • getDictionariesBuilderList

      public List<DataSource.Builder> getDictionariesBuilderList()
       Dictionaries for decompression. Zstd offers dictionary compression, which greatly improves
       efficiency on small files and messages. It is necessary to ensure that the dictionary used for
       decompression is the same as the compression dictionary. Multiple dictionaries can be set, and the
       dictionary will be automatically selected for decompression according to the dictionary ID in the
       source content.
       Please refer to `zstd manual <https://github.com/facebook/zstd/blob/dev/programs/zstd.1.md#dictionary-builder>`_
       to train specific dictionaries for decompression.
       
      repeated .envoy.config.core.v3.DataSource dictionaries = 1;
    • hasChunkSize

      public boolean hasChunkSize()
       Value for decompressor's next output buffer. If not set, defaults to 4096.
       
      .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
      Specified by:
      hasChunkSize in interface ZstdOrBuilder
      Returns:
      Whether the chunkSize field is set.
    • getChunkSize

      public com.google.protobuf.UInt32Value getChunkSize()
       Value for decompressor's next output buffer. If not set, defaults to 4096.
       
      .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
      Specified by:
      getChunkSize in interface ZstdOrBuilder
      Returns:
      The chunkSize.
    • setChunkSize

      public Zstd.Builder setChunkSize(com.google.protobuf.UInt32Value value)
       Value for decompressor's next output buffer. If not set, defaults to 4096.
       
      .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
    • setChunkSize

      public Zstd.Builder setChunkSize(com.google.protobuf.UInt32Value.Builder builderForValue)
       Value for decompressor's next output buffer. If not set, defaults to 4096.
       
      .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
    • mergeChunkSize

      public Zstd.Builder mergeChunkSize(com.google.protobuf.UInt32Value value)
       Value for decompressor's next output buffer. If not set, defaults to 4096.
       
      .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
    • clearChunkSize

      public Zstd.Builder clearChunkSize()
       Value for decompressor's next output buffer. If not set, defaults to 4096.
       
      .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
    • getChunkSizeBuilder

      public com.google.protobuf.UInt32Value.Builder getChunkSizeBuilder()
       Value for decompressor's next output buffer. If not set, defaults to 4096.
       
      .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
    • getChunkSizeOrBuilder

      public com.google.protobuf.UInt32ValueOrBuilder getChunkSizeOrBuilder()
       Value for decompressor's next output buffer. If not set, defaults to 4096.
       
      .google.protobuf.UInt32Value chunk_size = 2 [(.validate.rules) = { ... }
      Specified by:
      getChunkSizeOrBuilder in interface ZstdOrBuilder
    • setUnknownFields

      public final Zstd.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<Zstd.Builder>
    • mergeUnknownFields

      public final Zstd.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<Zstd.Builder>