Class AlternateProtocolsCacheOptions
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- io.envoyproxy.envoy.config.core.v3.AlternateProtocolsCacheOptions
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,AlternateProtocolsCacheOptionsOrBuilder
,java.io.Serializable
public final class AlternateProtocolsCacheOptions extends com.google.protobuf.GeneratedMessage implements AlternateProtocolsCacheOptionsOrBuilder
Configures the alternate protocols cache which tracks alternate protocols that can be used to make an HTTP connection to an origin server. See https://tools.ietf.org/html/rfc7838 for HTTP Alternative Services and https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-svcb-https-04 for the "HTTPS" DNS resource record. [#next-free-field: 6]
Protobuf typeenvoy.config.core.v3.AlternateProtocolsCacheOptions
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry
Allows pre-populating the cache with HTTP/3 alternate protocols entries with a 7 day lifetime.static interface
AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntryOrBuilder
static class
AlternateProtocolsCacheOptions.Builder
Configures the alternate protocols cache which tracks alternate protocols that can be used to make an HTTP connection to an origin server.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description private int
bitField0_
static int
CANONICAL_SUFFIXES_FIELD_NUMBER
private com.google.protobuf.LazyStringArrayList
canonicalSuffixes_
private static AlternateProtocolsCacheOptions
DEFAULT_INSTANCE
static int
KEY_VALUE_STORE_CONFIG_FIELD_NUMBER
private TypedExtensionConfig
keyValueStoreConfig_
static int
MAX_ENTRIES_FIELD_NUMBER
private com.google.protobuf.UInt32Value
maxEntries_
private byte
memoizedIsInitialized
private java.lang.Object
name_
static int
NAME_FIELD_NUMBER
private static com.google.protobuf.Parser<AlternateProtocolsCacheOptions>
PARSER
static int
PREPOPULATED_ENTRIES_FIELD_NUMBER
private java.util.List<AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry>
prepopulatedEntries_
private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description private
AlternateProtocolsCacheOptions()
private
AlternateProtocolsCacheOptions(com.google.protobuf.GeneratedMessage.Builder<?> builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getCanonicalSuffixes(int index)
Optional list of hostnames suffixes for which Alt-Svc entries can be shared.com.google.protobuf.ByteString
getCanonicalSuffixesBytes(int index)
Optional list of hostnames suffixes for which Alt-Svc entries can be shared.int
getCanonicalSuffixesCount()
Optional list of hostnames suffixes for which Alt-Svc entries can be shared.com.google.protobuf.ProtocolStringList
getCanonicalSuffixesList()
Optional list of hostnames suffixes for which Alt-Svc entries can be shared.static AlternateProtocolsCacheOptions
getDefaultInstance()
AlternateProtocolsCacheOptions
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
TypedExtensionConfig
getKeyValueStoreConfig()
Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk.TypedExtensionConfigOrBuilder
getKeyValueStoreConfigOrBuilder()
Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk.com.google.protobuf.UInt32Value
getMaxEntries()
The maximum number of entries that the cache will hold.com.google.protobuf.UInt32ValueOrBuilder
getMaxEntriesOrBuilder()
The maximum number of entries that the cache will hold.java.lang.String
getName()
The name of the cache.com.google.protobuf.ByteString
getNameBytes()
The name of the cache.com.google.protobuf.Parser<AlternateProtocolsCacheOptions>
getParserForType()
AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry
getPrepopulatedEntries(int index)
Allows pre-populating the cache with entries, as described above.int
getPrepopulatedEntriesCount()
Allows pre-populating the cache with entries, as described above.java.util.List<AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry>
getPrepopulatedEntriesList()
Allows pre-populating the cache with entries, as described above.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntryOrBuilder
getPrepopulatedEntriesOrBuilder(int index)
Allows pre-populating the cache with entries, as described above.java.util.List<? extends AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntryOrBuilder>
getPrepopulatedEntriesOrBuilderList()
Allows pre-populating the cache with entries, as described above.int
getSerializedSize()
int
hashCode()
boolean
hasKeyValueStoreConfig()
Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk.boolean
hasMaxEntries()
The maximum number of entries that the cache will hold.protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static AlternateProtocolsCacheOptions.Builder
newBuilder()
static AlternateProtocolsCacheOptions.Builder
newBuilder(AlternateProtocolsCacheOptions prototype)
AlternateProtocolsCacheOptions.Builder
newBuilderForType()
protected AlternateProtocolsCacheOptions.Builder
newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
static AlternateProtocolsCacheOptions
parseDelimitedFrom(java.io.InputStream input)
static AlternateProtocolsCacheOptions
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AlternateProtocolsCacheOptions
parseFrom(byte[] data)
static AlternateProtocolsCacheOptions
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AlternateProtocolsCacheOptions
parseFrom(com.google.protobuf.ByteString data)
static AlternateProtocolsCacheOptions
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AlternateProtocolsCacheOptions
parseFrom(com.google.protobuf.CodedInputStream input)
static AlternateProtocolsCacheOptions
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AlternateProtocolsCacheOptions
parseFrom(java.io.InputStream input)
static AlternateProtocolsCacheOptions
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AlternateProtocolsCacheOptions
parseFrom(java.nio.ByteBuffer data)
static AlternateProtocolsCacheOptions
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<AlternateProtocolsCacheOptions>
parser()
AlternateProtocolsCacheOptions.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
bitField0_
private int bitField0_
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
name_
private volatile java.lang.Object name_
-
MAX_ENTRIES_FIELD_NUMBER
public static final int MAX_ENTRIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
maxEntries_
private com.google.protobuf.UInt32Value maxEntries_
-
KEY_VALUE_STORE_CONFIG_FIELD_NUMBER
public static final int KEY_VALUE_STORE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
keyValueStoreConfig_
private TypedExtensionConfig keyValueStoreConfig_
-
PREPOPULATED_ENTRIES_FIELD_NUMBER
public static final int PREPOPULATED_ENTRIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
prepopulatedEntries_
private java.util.List<AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry> prepopulatedEntries_
-
CANONICAL_SUFFIXES_FIELD_NUMBER
public static final int CANONICAL_SUFFIXES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
canonicalSuffixes_
private com.google.protobuf.LazyStringArrayList canonicalSuffixes_
-
memoizedIsInitialized
private byte memoizedIsInitialized
-
DEFAULT_INSTANCE
private static final AlternateProtocolsCacheOptions DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<AlternateProtocolsCacheOptions> PARSER
-
-
Method Detail
-
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
-
getName
public java.lang.String getName()
The name of the cache. Multiple named caches allow independent alternate protocols cache configurations to operate within a single Envoy process using different configurations. All alternate protocols cache options with the same name *must* be equal in all fields when referenced from different configuration components. Configuration will fail to load if this is not the case.
string name = 1 [(.validate.rules) = { ... }
- Specified by:
getName
in interfaceAlternateProtocolsCacheOptionsOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of the cache. Multiple named caches allow independent alternate protocols cache configurations to operate within a single Envoy process using different configurations. All alternate protocols cache options with the same name *must* be equal in all fields when referenced from different configuration components. Configuration will fail to load if this is not the case.
string name = 1 [(.validate.rules) = { ... }
- Specified by:
getNameBytes
in interfaceAlternateProtocolsCacheOptionsOrBuilder
- Returns:
- The bytes for name.
-
hasMaxEntries
public boolean hasMaxEntries()
The maximum number of entries that the cache will hold. If not specified defaults to 1024. .. note: The implementation is approximate and enforced independently on each worker thread, thus it is possible for the maximum entries in the cache to go slightly above the configured value depending on timing. This is similar to how other circuit breakers work.
.google.protobuf.UInt32Value max_entries = 2 [(.validate.rules) = { ... }
- Specified by:
hasMaxEntries
in interfaceAlternateProtocolsCacheOptionsOrBuilder
- Returns:
- Whether the maxEntries field is set.
-
getMaxEntries
public com.google.protobuf.UInt32Value getMaxEntries()
The maximum number of entries that the cache will hold. If not specified defaults to 1024. .. note: The implementation is approximate and enforced independently on each worker thread, thus it is possible for the maximum entries in the cache to go slightly above the configured value depending on timing. This is similar to how other circuit breakers work.
.google.protobuf.UInt32Value max_entries = 2 [(.validate.rules) = { ... }
- Specified by:
getMaxEntries
in interfaceAlternateProtocolsCacheOptionsOrBuilder
- Returns:
- The maxEntries.
-
getMaxEntriesOrBuilder
public com.google.protobuf.UInt32ValueOrBuilder getMaxEntriesOrBuilder()
The maximum number of entries that the cache will hold. If not specified defaults to 1024. .. note: The implementation is approximate and enforced independently on each worker thread, thus it is possible for the maximum entries in the cache to go slightly above the configured value depending on timing. This is similar to how other circuit breakers work.
.google.protobuf.UInt32Value max_entries = 2 [(.validate.rules) = { ... }
- Specified by:
getMaxEntriesOrBuilder
in interfaceAlternateProtocolsCacheOptionsOrBuilder
-
hasKeyValueStoreConfig
public boolean hasKeyValueStoreConfig()
Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk. This function is currently only supported if concurrency is 1 Cached entries will take precedence over pre-populated entries below.
.envoy.config.core.v3.TypedExtensionConfig key_value_store_config = 3;
- Specified by:
hasKeyValueStoreConfig
in interfaceAlternateProtocolsCacheOptionsOrBuilder
- Returns:
- Whether the keyValueStoreConfig field is set.
-
getKeyValueStoreConfig
public TypedExtensionConfig getKeyValueStoreConfig()
Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk. This function is currently only supported if concurrency is 1 Cached entries will take precedence over pre-populated entries below.
.envoy.config.core.v3.TypedExtensionConfig key_value_store_config = 3;
- Specified by:
getKeyValueStoreConfig
in interfaceAlternateProtocolsCacheOptionsOrBuilder
- Returns:
- The keyValueStoreConfig.
-
getKeyValueStoreConfigOrBuilder
public TypedExtensionConfigOrBuilder getKeyValueStoreConfigOrBuilder()
Allows configuring a persistent :ref:`key value store <envoy_v3_api_msg_config.common.key_value.v3.KeyValueStoreConfig>` to flush alternate protocols entries to disk. This function is currently only supported if concurrency is 1 Cached entries will take precedence over pre-populated entries below.
.envoy.config.core.v3.TypedExtensionConfig key_value_store_config = 3;
- Specified by:
getKeyValueStoreConfigOrBuilder
in interfaceAlternateProtocolsCacheOptionsOrBuilder
-
getPrepopulatedEntriesList
public java.util.List<AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry> getPrepopulatedEntriesList()
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
- Specified by:
getPrepopulatedEntriesList
in interfaceAlternateProtocolsCacheOptionsOrBuilder
-
getPrepopulatedEntriesOrBuilderList
public java.util.List<? extends AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntryOrBuilder> getPrepopulatedEntriesOrBuilderList()
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
- Specified by:
getPrepopulatedEntriesOrBuilderList
in interfaceAlternateProtocolsCacheOptionsOrBuilder
-
getPrepopulatedEntriesCount
public int getPrepopulatedEntriesCount()
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
- Specified by:
getPrepopulatedEntriesCount
in interfaceAlternateProtocolsCacheOptionsOrBuilder
-
getPrepopulatedEntries
public AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry getPrepopulatedEntries(int index)
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
- Specified by:
getPrepopulatedEntries
in interfaceAlternateProtocolsCacheOptionsOrBuilder
-
getPrepopulatedEntriesOrBuilder
public AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntryOrBuilder getPrepopulatedEntriesOrBuilder(int index)
Allows pre-populating the cache with entries, as described above.
repeated .envoy.config.core.v3.AlternateProtocolsCacheOptions.AlternateProtocolsCacheEntry prepopulated_entries = 4;
- Specified by:
getPrepopulatedEntriesOrBuilder
in interfaceAlternateProtocolsCacheOptionsOrBuilder
-
getCanonicalSuffixesList
public com.google.protobuf.ProtocolStringList getCanonicalSuffixesList()
Optional list of hostnames suffixes for which Alt-Svc entries can be shared. For example, if this list contained the value ``.c.example.com``, then an Alt-Svc entry for ``foo.c.example.com`` could be shared with ``bar.c.example.com`` but would not be shared with ``baz.example.com``. On the other hand, if the list contained the value ``.example.com`` then all three hosts could share Alt-Svc entries. Each entry must start with ``.``. If a hostname matches multiple suffixes, the first listed suffix will be used. Since lookup in this list is O(n), it is recommended that the number of suffixes be limited. [#not-implemented-hide:]
repeated string canonical_suffixes = 5;
- Specified by:
getCanonicalSuffixesList
in interfaceAlternateProtocolsCacheOptionsOrBuilder
- Returns:
- A list containing the canonicalSuffixes.
-
getCanonicalSuffixesCount
public int getCanonicalSuffixesCount()
Optional list of hostnames suffixes for which Alt-Svc entries can be shared. For example, if this list contained the value ``.c.example.com``, then an Alt-Svc entry for ``foo.c.example.com`` could be shared with ``bar.c.example.com`` but would not be shared with ``baz.example.com``. On the other hand, if the list contained the value ``.example.com`` then all three hosts could share Alt-Svc entries. Each entry must start with ``.``. If a hostname matches multiple suffixes, the first listed suffix will be used. Since lookup in this list is O(n), it is recommended that the number of suffixes be limited. [#not-implemented-hide:]
repeated string canonical_suffixes = 5;
- Specified by:
getCanonicalSuffixesCount
in interfaceAlternateProtocolsCacheOptionsOrBuilder
- Returns:
- The count of canonicalSuffixes.
-
getCanonicalSuffixes
public java.lang.String getCanonicalSuffixes(int index)
Optional list of hostnames suffixes for which Alt-Svc entries can be shared. For example, if this list contained the value ``.c.example.com``, then an Alt-Svc entry for ``foo.c.example.com`` could be shared with ``bar.c.example.com`` but would not be shared with ``baz.example.com``. On the other hand, if the list contained the value ``.example.com`` then all three hosts could share Alt-Svc entries. Each entry must start with ``.``. If a hostname matches multiple suffixes, the first listed suffix will be used. Since lookup in this list is O(n), it is recommended that the number of suffixes be limited. [#not-implemented-hide:]
repeated string canonical_suffixes = 5;
- Specified by:
getCanonicalSuffixes
in interfaceAlternateProtocolsCacheOptionsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The canonicalSuffixes at the given index.
-
getCanonicalSuffixesBytes
public com.google.protobuf.ByteString getCanonicalSuffixesBytes(int index)
Optional list of hostnames suffixes for which Alt-Svc entries can be shared. For example, if this list contained the value ``.c.example.com``, then an Alt-Svc entry for ``foo.c.example.com`` could be shared with ``bar.c.example.com`` but would not be shared with ``baz.example.com``. On the other hand, if the list contained the value ``.example.com`` then all three hosts could share Alt-Svc entries. Each entry must start with ``.``. If a hostname matches multiple suffixes, the first listed suffix will be used. Since lookup in this list is O(n), it is recommended that the number of suffixes be limited. [#not-implemented-hide:]
repeated string canonical_suffixes = 5;
- Specified by:
getCanonicalSuffixesBytes
in interfaceAlternateProtocolsCacheOptionsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the canonicalSuffixes at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessage
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AlternateProtocolsCacheOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AlternateProtocolsCacheOptions parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AlternateProtocolsCacheOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AlternateProtocolsCacheOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AlternateProtocolsCacheOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AlternateProtocolsCacheOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AlternateProtocolsCacheOptions parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AlternateProtocolsCacheOptions parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AlternateProtocolsCacheOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AlternateProtocolsCacheOptions parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AlternateProtocolsCacheOptions parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AlternateProtocolsCacheOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public AlternateProtocolsCacheOptions.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AlternateProtocolsCacheOptions.Builder newBuilder()
-
newBuilder
public static AlternateProtocolsCacheOptions.Builder newBuilder(AlternateProtocolsCacheOptions prototype)
-
toBuilder
public AlternateProtocolsCacheOptions.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AlternateProtocolsCacheOptions.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForType
in classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static AlternateProtocolsCacheOptions getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AlternateProtocolsCacheOptions> parser()
-
getParserForType
public com.google.protobuf.Parser<AlternateProtocolsCacheOptions> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public AlternateProtocolsCacheOptions getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-