类 EnvoyFilterOuterClass.EnvoyFilter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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,java.lang.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 typeistio.networking.v1alpha3.EnvoyFilter
-
-
字段概要
字段 修饰符和类型 字段 说明 private intbitField0_private java.util.List<EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch>configPatches_private com.google.protobuf.RepeatedFieldBuilderV3<EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch,EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch.Builder,EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatchOrBuilder>configPatchesBuilder_private SidecarOuterClass.WorkloadSelectorworkloadSelector_private com.google.protobuf.SingleFieldBuilderV3<SidecarOuterClass.WorkloadSelector,SidecarOuterClass.WorkloadSelector.Builder,SidecarOuterClass.WorkloadSelectorOrBuilder>workloadSelectorBuilder_
-
方法概要
-
从类继承的方法 com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
从类继承的方法 com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
-
-
-
字段详细资料
-
bitField0_
private int bitField0_
-
workloadSelector_
private SidecarOuterClass.WorkloadSelector workloadSelector_
-
workloadSelectorBuilder_
private com.google.protobuf.SingleFieldBuilderV3<SidecarOuterClass.WorkloadSelector,SidecarOuterClass.WorkloadSelector.Builder,SidecarOuterClass.WorkloadSelectorOrBuilder> workloadSelectorBuilder_
-
configPatches_
private java.util.List<EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch> configPatches_
-
configPatchesBuilder_
private com.google.protobuf.RepeatedFieldBuilderV3<EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch,EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch.Builder,EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatchOrBuilder> configPatchesBuilder_
-
-
方法详细资料
-
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
public 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
public EnvoyFilterOuterClass.EnvoyFilter getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
public EnvoyFilterOuterClass.EnvoyFilter build()
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
public EnvoyFilterOuterClass.EnvoyFilter buildPartial()
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
clone
public EnvoyFilterOuterClass.EnvoyFilter.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, java.lang.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, java.lang.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, java.lang.Object value)
- 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<EnvoyFilterOuterClass.EnvoyFilter.Builder>
-
mergeFrom
public EnvoyFilterOuterClass.EnvoyFilter.Builder mergeFrom(com.google.protobuf.Message other)
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<EnvoyFilterOuterClass.EnvoyFilter.Builder>
-
mergeFrom
public EnvoyFilterOuterClass.EnvoyFilter.Builder mergeFrom(EnvoyFilterOuterClass.EnvoyFilter other)
-
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 java.io.IOException
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 指定者:
mergeFrom在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<EnvoyFilterOuterClass.EnvoyFilter.Builder>- 抛出:
java.io.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
public SidecarOuterClass.WorkloadSelector 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
public EnvoyFilterOuterClass.EnvoyFilter.Builder 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
public SidecarOuterClass.WorkloadSelector.Builder 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
public SidecarOuterClass.WorkloadSelectorOrBuilder 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;
-
getWorkloadSelectorFieldBuilder
private com.google.protobuf.SingleFieldBuilderV3<SidecarOuterClass.WorkloadSelector,SidecarOuterClass.WorkloadSelector.Builder,SidecarOuterClass.WorkloadSelectorOrBuilder> getWorkloadSelectorFieldBuilder()
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;
-
ensureConfigPatchesIsMutable
private void ensureConfigPatchesIsMutable()
-
getConfigPatchesList
public java.util.List<EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch> 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
public EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch getConfigPatches(int index)
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(java.lang.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
public EnvoyFilterOuterClass.EnvoyFilter.Builder clearConfigPatches()
One or more patches with match conditions.
repeated .istio.networking.v1alpha3.EnvoyFilter.EnvoyConfigObjectPatch config_patches = 4 [(.google.api.field_behavior) = REQUIRED];
-
removeConfigPatches
public EnvoyFilterOuterClass.EnvoyFilter.Builder removeConfigPatches(int index)
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 java.util.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
public EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch.Builder 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 java.util.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];
-
getConfigPatchesFieldBuilder
private com.google.protobuf.RepeatedFieldBuilderV3<EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch,EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatch.Builder,EnvoyFilterOuterClass.EnvoyFilter.EnvoyConfigObjectPatchOrBuilder> getConfigPatchesFieldBuilder()
-
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>
-
-