类 EnvoyFilterOuterClass.EnvoyFilter.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<EnvoyFilterOuterClass.EnvoyFilter.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<EnvoyFilterOuterClass.EnvoyFilter.Builder>
istio.networking.v1alpha3.EnvoyFilterOuterClass.EnvoyFilter.Builder
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,EnvoyFilterOuterClass.EnvoyFilterOrBuilder,Cloneable
public static final class EnvoyFilterOuterClass.EnvoyFilter.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<EnvoyFilterOuterClass.EnvoyFilter.Builder>
implements EnvoyFilterOuterClass.EnvoyFilterOrBuilder
EnvoyFilter provides a mechanism to customize the Envoy configuration generated by Istio Pilot. <!-- crd generation tags +cue-gen:EnvoyFilter:groupName:networking.istio.io +cue-gen:EnvoyFilter:version:v1alpha3 +cue-gen:EnvoyFilter:storageVersion +cue-gen:EnvoyFilter:annotations:helm.sh/resource-policy=keep +cue-gen:EnvoyFilter:labels:app=istio-pilot,chart=istio,heritage=Tiller,release=istio +cue-gen:EnvoyFilter:subresource:status +cue-gen:EnvoyFilter:scope:Namespaced +cue-gen:EnvoyFilter:resource:categories=istio-io,networking-istio-io +cue-gen:EnvoyFilter:preserveUnknownFields:true --> <!-- go code generation tags +kubetype-gen +kubetype-gen:groupVersion=networking.istio.io/v1alpha3 +genclient +k8s:deepcopy-gen=true -->Protobuf type
istio.networking.v1alpha3.EnvoyFilter-
方法概要
修饰符和类型方法说明addAllConfigPatches(Iterable<? extends EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch> values) One or more patches with match conditions.addConfigPatches(int index, EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch value) One or more patches with match conditions.addConfigPatches(int index, EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch.Builder builderForValue) One or more patches with match conditions.One or more patches with match conditions.One or more patches with match conditions.One or more patches with match conditions.addConfigPatchesBuilder(int index) One or more patches with match conditions.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()One or more patches with match conditions.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Criteria used to select the specific set of pods/VMs on which this patch configuration should be applied.clone()getConfigPatches(int index) One or more patches with match conditions.getConfigPatchesBuilder(int index) One or more patches with match conditions.One or more patches with match conditions.intOne or more patches with match conditions.One or more patches with match conditions.getConfigPatchesOrBuilder(int index) One or more patches with match conditions.One or more patches with match conditions.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorCriteria used to select the specific set of pods/VMs on which this patch configuration should be applied.Criteria used to select the specific set of pods/VMs on which this patch configuration should be applied.Criteria used to select the specific set of pods/VMs on which this patch configuration should be applied.booleanCriteria used to select the specific set of pods/VMs on which this patch configuration should be applied.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Criteria used to select the specific set of pods/VMs on which this patch configuration should be applied.removeConfigPatches(int index) One or more patches with match conditions.setConfigPatches(int index, EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch value) One or more patches with match conditions.setConfigPatches(int index, EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch.Builder builderForValue) One or more patches with match conditions.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Criteria used to select the specific set of pods/VMs on which this patch configuration should be applied.setWorkloadSelector(SidecarOuterClass.WorkloadSelector.Builder builderForValue) Criteria used to select the specific set of pods/VMs on which this patch configuration should be applied.从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString从类继承的方法 com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException从接口继承的方法 com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom从接口继承的方法 com.google.protobuf.MessageLite.Builder
mergeFrom从接口继承的方法 com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<EnvoyFilterOuterClass.EnvoyFilter.Builder>
-
clear
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<EnvoyFilterOuterClass.EnvoyFilter.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- 指定者:
getDescriptorForType在接口中com.google.protobuf.Message.Builder- 指定者:
getDescriptorForType在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getDescriptorForType在类中com.google.protobuf.GeneratedMessageV3.Builder<EnvoyFilterOuterClass.EnvoyFilter.Builder>
-
getDefaultInstanceForType
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<EnvoyFilterOuterClass.EnvoyFilter.Builder>
-
setField
public EnvoyFilterOuterClass.EnvoyFilter.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<EnvoyFilterOuterClass.EnvoyFilter.Builder>
-
clearField
public EnvoyFilterOuterClass.EnvoyFilter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<EnvoyFilterOuterClass.EnvoyFilter.Builder>
-
clearOneof
public EnvoyFilterOuterClass.EnvoyFilter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<EnvoyFilterOuterClass.EnvoyFilter.Builder>
-
setRepeatedField
public EnvoyFilterOuterClass.EnvoyFilter.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - 指定者:
setRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
setRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<EnvoyFilterOuterClass.EnvoyFilter.Builder>
-
addRepeatedField
public EnvoyFilterOuterClass.EnvoyFilter.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<EnvoyFilterOuterClass.EnvoyFilter.Builder>
-
mergeFrom
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<EnvoyFilterOuterClass.EnvoyFilter.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<EnvoyFilterOuterClass.EnvoyFilter.Builder>
-
mergeFrom
public EnvoyFilterOuterClass.EnvoyFilter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<EnvoyFilterOuterClass.EnvoyFilter.Builder>- 抛出:
IOException
-
hasWorkloadSelector
public boolean hasWorkloadSelector()Criteria used to select the specific set of pods/VMs on which this patch configuration should be applied. If omitted, the set of patches in this configuration will be applied to all workload instances in the same namespace. If omitted, the `EnvoyFilter` patches will be applied to all workloads in the same namespace. If the `EnvoyFilter` is present in the config root namespace, it will be applied to all applicable workloads in any namespace.
.istio.networking.v1alpha3.WorkloadSelector workload_selector = 3;- 指定者:
hasWorkloadSelector在接口中EnvoyFilterOuterClass.EnvoyFilterOrBuilder- 返回:
- Whether the workloadSelector field is set.
-
getWorkloadSelector
Criteria used to select the specific set of pods/VMs on which this patch configuration should be applied. If omitted, the set of patches in this configuration will be applied to all workload instances in the same namespace. If omitted, the `EnvoyFilter` patches will be applied to all workloads in the same namespace. If the `EnvoyFilter` is present in the config root namespace, it will be applied to all applicable workloads in any namespace.
.istio.networking.v1alpha3.WorkloadSelector workload_selector = 3;- 指定者:
getWorkloadSelector在接口中EnvoyFilterOuterClass.EnvoyFilterOrBuilder- 返回:
- The workloadSelector.
-
setWorkloadSelector
public EnvoyFilterOuterClass.EnvoyFilter.Builder setWorkloadSelector(SidecarOuterClass.WorkloadSelector value) Criteria used to select the specific set of pods/VMs on which this patch configuration should be applied. If omitted, the set of patches in this configuration will be applied to all workload instances in the same namespace. If omitted, the `EnvoyFilter` patches will be applied to all workloads in the same namespace. If the `EnvoyFilter` is present in the config root namespace, it will be applied to all applicable workloads in any namespace.
.istio.networking.v1alpha3.WorkloadSelector workload_selector = 3; -
setWorkloadSelector
public EnvoyFilterOuterClass.EnvoyFilter.Builder setWorkloadSelector(SidecarOuterClass.WorkloadSelector.Builder builderForValue) Criteria used to select the specific set of pods/VMs on which this patch configuration should be applied. If omitted, the set of patches in this configuration will be applied to all workload instances in the same namespace. If omitted, the `EnvoyFilter` patches will be applied to all workloads in the same namespace. If the `EnvoyFilter` is present in the config root namespace, it will be applied to all applicable workloads in any namespace.
.istio.networking.v1alpha3.WorkloadSelector workload_selector = 3; -
mergeWorkloadSelector
public EnvoyFilterOuterClass.EnvoyFilter.Builder mergeWorkloadSelector(SidecarOuterClass.WorkloadSelector value) Criteria used to select the specific set of pods/VMs on which this patch configuration should be applied. If omitted, the set of patches in this configuration will be applied to all workload instances in the same namespace. If omitted, the `EnvoyFilter` patches will be applied to all workloads in the same namespace. If the `EnvoyFilter` is present in the config root namespace, it will be applied to all applicable workloads in any namespace.
.istio.networking.v1alpha3.WorkloadSelector workload_selector = 3; -
clearWorkloadSelector
Criteria used to select the specific set of pods/VMs on which this patch configuration should be applied. If omitted, the set of patches in this configuration will be applied to all workload instances in the same namespace. If omitted, the `EnvoyFilter` patches will be applied to all workloads in the same namespace. If the `EnvoyFilter` is present in the config root namespace, it will be applied to all applicable workloads in any namespace.
.istio.networking.v1alpha3.WorkloadSelector workload_selector = 3; -
getWorkloadSelectorBuilder
Criteria used to select the specific set of pods/VMs on which this patch configuration should be applied. If omitted, the set of patches in this configuration will be applied to all workload instances in the same namespace. If omitted, the `EnvoyFilter` patches will be applied to all workloads in the same namespace. If the `EnvoyFilter` is present in the config root namespace, it will be applied to all applicable workloads in any namespace.
.istio.networking.v1alpha3.WorkloadSelector workload_selector = 3; -
getWorkloadSelectorOrBuilder
Criteria used to select the specific set of pods/VMs on which this patch configuration should be applied. If omitted, the set of patches in this configuration will be applied to all workload instances in the same namespace. If omitted, the `EnvoyFilter` patches will be applied to all workloads in the same namespace. If the `EnvoyFilter` is present in the config root namespace, it will be applied to all applicable workloads in any namespace.
.istio.networking.v1alpha3.WorkloadSelector workload_selector = 3; -
getConfigPatchesList
One or more patches with match conditions.
repeated .istio.networking.v1alpha3.EnvoyFilter.EnvoyConfigObjectPatch config_patches = 4 [(.google.api.field_behavior) = REQUIRED]; -
getConfigPatchesCount
public int getConfigPatchesCount()One or more patches with match conditions.
repeated .istio.networking.v1alpha3.EnvoyFilter.EnvoyConfigObjectPatch config_patches = 4 [(.google.api.field_behavior) = REQUIRED]; -
getConfigPatches
One or more patches with match conditions.
repeated .istio.networking.v1alpha3.EnvoyFilter.EnvoyConfigObjectPatch config_patches = 4 [(.google.api.field_behavior) = REQUIRED]; -
setConfigPatches
public EnvoyFilterOuterClass.EnvoyFilter.Builder setConfigPatches(int index, EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch value) One or more patches with match conditions.
repeated .istio.networking.v1alpha3.EnvoyFilter.EnvoyConfigObjectPatch config_patches = 4 [(.google.api.field_behavior) = REQUIRED]; -
setConfigPatches
public EnvoyFilterOuterClass.EnvoyFilter.Builder setConfigPatches(int index, EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch.Builder builderForValue) One or more patches with match conditions.
repeated .istio.networking.v1alpha3.EnvoyFilter.EnvoyConfigObjectPatch config_patches = 4 [(.google.api.field_behavior) = REQUIRED]; -
addConfigPatches
public EnvoyFilterOuterClass.EnvoyFilter.Builder addConfigPatches(EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch value) One or more patches with match conditions.
repeated .istio.networking.v1alpha3.EnvoyFilter.EnvoyConfigObjectPatch config_patches = 4 [(.google.api.field_behavior) = REQUIRED]; -
addConfigPatches
public EnvoyFilterOuterClass.EnvoyFilter.Builder addConfigPatches(int index, EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch value) One or more patches with match conditions.
repeated .istio.networking.v1alpha3.EnvoyFilter.EnvoyConfigObjectPatch config_patches = 4 [(.google.api.field_behavior) = REQUIRED]; -
addConfigPatches
public EnvoyFilterOuterClass.EnvoyFilter.Builder addConfigPatches(EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch.Builder builderForValue) One or more patches with match conditions.
repeated .istio.networking.v1alpha3.EnvoyFilter.EnvoyConfigObjectPatch config_patches = 4 [(.google.api.field_behavior) = REQUIRED]; -
addConfigPatches
public EnvoyFilterOuterClass.EnvoyFilter.Builder addConfigPatches(int index, EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch.Builder builderForValue) One or more patches with match conditions.
repeated .istio.networking.v1alpha3.EnvoyFilter.EnvoyConfigObjectPatch config_patches = 4 [(.google.api.field_behavior) = REQUIRED]; -
addAllConfigPatches
public EnvoyFilterOuterClass.EnvoyFilter.Builder addAllConfigPatches(Iterable<? extends EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch> values) One or more patches with match conditions.
repeated .istio.networking.v1alpha3.EnvoyFilter.EnvoyConfigObjectPatch config_patches = 4 [(.google.api.field_behavior) = REQUIRED]; -
clearConfigPatches
One or more patches with match conditions.
repeated .istio.networking.v1alpha3.EnvoyFilter.EnvoyConfigObjectPatch config_patches = 4 [(.google.api.field_behavior) = REQUIRED]; -
removeConfigPatches
One or more patches with match conditions.
repeated .istio.networking.v1alpha3.EnvoyFilter.EnvoyConfigObjectPatch config_patches = 4 [(.google.api.field_behavior) = REQUIRED]; -
getConfigPatchesBuilder
public EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch.Builder getConfigPatchesBuilder(int index) One or more patches with match conditions.
repeated .istio.networking.v1alpha3.EnvoyFilter.EnvoyConfigObjectPatch config_patches = 4 [(.google.api.field_behavior) = REQUIRED]; -
getConfigPatchesOrBuilder
public EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatchOrBuilder getConfigPatchesOrBuilder(int index) One or more patches with match conditions.
repeated .istio.networking.v1alpha3.EnvoyFilter.EnvoyConfigObjectPatch config_patches = 4 [(.google.api.field_behavior) = REQUIRED]; -
getConfigPatchesOrBuilderList
public List<? extends EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatchOrBuilder> getConfigPatchesOrBuilderList()One or more patches with match conditions.
repeated .istio.networking.v1alpha3.EnvoyFilter.EnvoyConfigObjectPatch config_patches = 4 [(.google.api.field_behavior) = REQUIRED]; -
addConfigPatchesBuilder
One or more patches with match conditions.
repeated .istio.networking.v1alpha3.EnvoyFilter.EnvoyConfigObjectPatch config_patches = 4 [(.google.api.field_behavior) = REQUIRED]; -
addConfigPatchesBuilder
public EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch.Builder addConfigPatchesBuilder(int index) One or more patches with match conditions.
repeated .istio.networking.v1alpha3.EnvoyFilter.EnvoyConfigObjectPatch config_patches = 4 [(.google.api.field_behavior) = REQUIRED]; -
getConfigPatchesBuilderList
public List<EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch.Builder> getConfigPatchesBuilderList()One or more patches with match conditions.
repeated .istio.networking.v1alpha3.EnvoyFilter.EnvoyConfigObjectPatch config_patches = 4 [(.google.api.field_behavior) = REQUIRED]; -
setUnknownFields
public final EnvoyFilterOuterClass.EnvoyFilter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<EnvoyFilterOuterClass.EnvoyFilter.Builder>
-
mergeUnknownFields
public final EnvoyFilterOuterClass.EnvoyFilter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<EnvoyFilterOuterClass.EnvoyFilter.Builder>
-