public static final class CdnLoopConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CdnLoopConfig.Builder> implements CdnLoopConfigOrBuilder
CDN-Loop Header filter config. See the :ref:`configuration overview <config_http_filters_cdn_loop>` for more information.Protobuf type
envoy.extensions.filters.http.cdn_loop.v3alpha.CdnLoopConfig| Modifier and Type | Method and Description |
|---|---|
CdnLoopConfig.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CdnLoopConfig |
build() |
CdnLoopConfig |
buildPartial() |
CdnLoopConfig.Builder |
clear() |
CdnLoopConfig.Builder |
clearCdnId()
The CDN identifier to use for loop checks and to append to the
CDN-Loop header.
|
CdnLoopConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CdnLoopConfig.Builder |
clearMaxAllowedOccurrences()
The maximum allowed count of cdn_id in the downstream CDN-Loop
request header.
|
CdnLoopConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CdnLoopConfig.Builder |
clone() |
String |
getCdnId()
The CDN identifier to use for loop checks and to append to the
CDN-Loop header.
|
com.google.protobuf.ByteString |
getCdnIdBytes()
The CDN identifier to use for loop checks and to append to the
CDN-Loop header.
|
CdnLoopConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getMaxAllowedOccurrences()
The maximum allowed count of cdn_id in the downstream CDN-Loop
request header.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CdnLoopConfig.Builder |
mergeFrom(CdnLoopConfig other) |
CdnLoopConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CdnLoopConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
CdnLoopConfig.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CdnLoopConfig.Builder |
setCdnId(String value)
The CDN identifier to use for loop checks and to append to the
CDN-Loop header.
|
CdnLoopConfig.Builder |
setCdnIdBytes(com.google.protobuf.ByteString value)
The CDN identifier to use for loop checks and to append to the
CDN-Loop header.
|
CdnLoopConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CdnLoopConfig.Builder |
setMaxAllowedOccurrences(int value)
The maximum allowed count of cdn_id in the downstream CDN-Loop
request header.
|
CdnLoopConfig.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CdnLoopConfig.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CdnLoopConfig.Builder>public CdnLoopConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CdnLoopConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CdnLoopConfig.Builder>public CdnLoopConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CdnLoopConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CdnLoopConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CdnLoopConfig.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CdnLoopConfig.Builder>public CdnLoopConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CdnLoopConfig.Builder>public CdnLoopConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CdnLoopConfig.Builder>public CdnLoopConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CdnLoopConfig.Builder>public CdnLoopConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CdnLoopConfig.Builder>public CdnLoopConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CdnLoopConfig.Builder>public CdnLoopConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CdnLoopConfig.Builder>public CdnLoopConfig.Builder mergeFrom(CdnLoopConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CdnLoopConfig.Builder>public CdnLoopConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CdnLoopConfig.Builder>IOExceptionpublic String getCdnId()
The CDN identifier to use for loop checks and to append to the CDN-Loop header. RFC 8586 calls this the cdn-id. The cdn-id can either be a pseudonym or hostname the CDN is in control of. cdn_id must not be empty.
string cdn_id = 1 [(.validate.rules) = { ... }getCdnId in interface CdnLoopConfigOrBuilderpublic com.google.protobuf.ByteString getCdnIdBytes()
The CDN identifier to use for loop checks and to append to the CDN-Loop header. RFC 8586 calls this the cdn-id. The cdn-id can either be a pseudonym or hostname the CDN is in control of. cdn_id must not be empty.
string cdn_id = 1 [(.validate.rules) = { ... }getCdnIdBytes in interface CdnLoopConfigOrBuilderpublic CdnLoopConfig.Builder setCdnId(String value)
The CDN identifier to use for loop checks and to append to the CDN-Loop header. RFC 8586 calls this the cdn-id. The cdn-id can either be a pseudonym or hostname the CDN is in control of. cdn_id must not be empty.
string cdn_id = 1 [(.validate.rules) = { ... }public CdnLoopConfig.Builder clearCdnId()
The CDN identifier to use for loop checks and to append to the CDN-Loop header. RFC 8586 calls this the cdn-id. The cdn-id can either be a pseudonym or hostname the CDN is in control of. cdn_id must not be empty.
string cdn_id = 1 [(.validate.rules) = { ... }public CdnLoopConfig.Builder setCdnIdBytes(com.google.protobuf.ByteString value)
The CDN identifier to use for loop checks and to append to the CDN-Loop header. RFC 8586 calls this the cdn-id. The cdn-id can either be a pseudonym or hostname the CDN is in control of. cdn_id must not be empty.
string cdn_id = 1 [(.validate.rules) = { ... }public int getMaxAllowedOccurrences()
The maximum allowed count of cdn_id in the downstream CDN-Loop request header. The default of 0 means a request can transit the CdnLoopFilter once. A value of 1 means that a request can transit the CdnLoopFilter twice and so on.
uint32 max_allowed_occurrences = 2;getMaxAllowedOccurrences in interface CdnLoopConfigOrBuilderpublic CdnLoopConfig.Builder setMaxAllowedOccurrences(int value)
The maximum allowed count of cdn_id in the downstream CDN-Loop request header. The default of 0 means a request can transit the CdnLoopFilter once. A value of 1 means that a request can transit the CdnLoopFilter twice and so on.
uint32 max_allowed_occurrences = 2;public CdnLoopConfig.Builder clearMaxAllowedOccurrences()
The maximum allowed count of cdn_id in the downstream CDN-Loop request header. The default of 0 means a request can transit the CdnLoopFilter once. A value of 1 means that a request can transit the CdnLoopFilter twice and so on.
uint32 max_allowed_occurrences = 2;public final CdnLoopConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CdnLoopConfig.Builder>public final CdnLoopConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CdnLoopConfig.Builder>Copyright © 2018–2021 The Envoy Project. All rights reserved.