类 VirtualServiceOuterClass.TCPRoute.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>
-
- istio.networking.v1alpha3.VirtualServiceOuterClass.TCPRoute.Builder
-
- 所有已实现的接口:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,VirtualServiceOuterClass.TCPRouteOrBuilder,java.lang.Cloneable
public static final class VirtualServiceOuterClass.TCPRoute.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder> implements VirtualServiceOuterClass.TCPRouteOrBuilder
Describes match conditions and actions for routing TCP traffic. The following routing rule forwards traffic arriving at port 27017 for mongo.prod.svc.cluster.local to another Mongo server on port 5555. {{<tabset category-name="example">}} {{<tab name="v1alpha3" category-value="v1alpha3">}} ```yaml apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: bookinfo-mongo spec: hosts: - mongo.prod.svc.cluster.local tcp: - match: - port: 27017 route: - destination: host: mongo.backup.svc.cluster.local port: number: 5555 ``` {{</tab>}} {{<tab name="v1beta1" category-value="v1beta1">}} ```yaml apiVersion: networking.istio.io/v1beta1 kind: VirtualService metadata: name: bookinfo-mongo spec: hosts: - mongo.prod.svc.cluster.local tcp: - match: - port: 27017 route: - destination: host: mongo.backup.svc.cluster.local port: number: 5555 ``` {{</tab>}} {{</tabset>}}Protobuf typeistio.networking.v1alpha3.TCPRoute
-
-
字段概要
字段 修饰符和类型 字段 说明 private intbitField0_private java.util.List<VirtualServiceOuterClass.L4MatchAttributes>match_private com.google.protobuf.RepeatedFieldBuilderV3<VirtualServiceOuterClass.L4MatchAttributes,VirtualServiceOuterClass.L4MatchAttributes.Builder,VirtualServiceOuterClass.L4MatchAttributesOrBuilder>matchBuilder_private java.util.List<VirtualServiceOuterClass.RouteDestination>route_private com.google.protobuf.RepeatedFieldBuilderV3<VirtualServiceOuterClass.RouteDestination,VirtualServiceOuterClass.RouteDestination.Builder,VirtualServiceOuterClass.RouteDestinationOrBuilder>routeBuilder_
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 VirtualServiceOuterClass.TCPRoute.BuilderaddAllMatch(java.lang.Iterable<? extends VirtualServiceOuterClass.L4MatchAttributes> values)Match conditions to be satisfied for the rule to be activated.VirtualServiceOuterClass.TCPRoute.BuilderaddAllRoute(java.lang.Iterable<? extends VirtualServiceOuterClass.RouteDestination> values)The destination to which the connection should be forwarded to.VirtualServiceOuterClass.TCPRoute.BuilderaddMatch(int index, VirtualServiceOuterClass.L4MatchAttributes value)Match conditions to be satisfied for the rule to be activated.VirtualServiceOuterClass.TCPRoute.BuilderaddMatch(int index, VirtualServiceOuterClass.L4MatchAttributes.Builder builderForValue)Match conditions to be satisfied for the rule to be activated.VirtualServiceOuterClass.TCPRoute.BuilderaddMatch(VirtualServiceOuterClass.L4MatchAttributes value)Match conditions to be satisfied for the rule to be activated.VirtualServiceOuterClass.TCPRoute.BuilderaddMatch(VirtualServiceOuterClass.L4MatchAttributes.Builder builderForValue)Match conditions to be satisfied for the rule to be activated.VirtualServiceOuterClass.L4MatchAttributes.BuilderaddMatchBuilder()Match conditions to be satisfied for the rule to be activated.VirtualServiceOuterClass.L4MatchAttributes.BuilderaddMatchBuilder(int index)Match conditions to be satisfied for the rule to be activated.VirtualServiceOuterClass.TCPRoute.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)VirtualServiceOuterClass.TCPRoute.BuilderaddRoute(int index, VirtualServiceOuterClass.RouteDestination value)The destination to which the connection should be forwarded to.VirtualServiceOuterClass.TCPRoute.BuilderaddRoute(int index, VirtualServiceOuterClass.RouteDestination.Builder builderForValue)The destination to which the connection should be forwarded to.VirtualServiceOuterClass.TCPRoute.BuilderaddRoute(VirtualServiceOuterClass.RouteDestination value)The destination to which the connection should be forwarded to.VirtualServiceOuterClass.TCPRoute.BuilderaddRoute(VirtualServiceOuterClass.RouteDestination.Builder builderForValue)The destination to which the connection should be forwarded to.VirtualServiceOuterClass.RouteDestination.BuilderaddRouteBuilder()The destination to which the connection should be forwarded to.VirtualServiceOuterClass.RouteDestination.BuilderaddRouteBuilder(int index)The destination to which the connection should be forwarded to.VirtualServiceOuterClass.TCPRoutebuild()VirtualServiceOuterClass.TCPRoutebuildPartial()private voidbuildPartial0(VirtualServiceOuterClass.TCPRoute result)private voidbuildPartialRepeatedFields(VirtualServiceOuterClass.TCPRoute result)VirtualServiceOuterClass.TCPRoute.Builderclear()VirtualServiceOuterClass.TCPRoute.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)VirtualServiceOuterClass.TCPRoute.BuilderclearMatch()Match conditions to be satisfied for the rule to be activated.VirtualServiceOuterClass.TCPRoute.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)VirtualServiceOuterClass.TCPRoute.BuilderclearRoute()The destination to which the connection should be forwarded to.VirtualServiceOuterClass.TCPRoute.Builderclone()private voidensureMatchIsMutable()private voidensureRouteIsMutable()VirtualServiceOuterClass.TCPRoutegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()VirtualServiceOuterClass.L4MatchAttributesgetMatch(int index)Match conditions to be satisfied for the rule to be activated.VirtualServiceOuterClass.L4MatchAttributes.BuildergetMatchBuilder(int index)Match conditions to be satisfied for the rule to be activated.java.util.List<VirtualServiceOuterClass.L4MatchAttributes.Builder>getMatchBuilderList()Match conditions to be satisfied for the rule to be activated.intgetMatchCount()Match conditions to be satisfied for the rule to be activated.private com.google.protobuf.RepeatedFieldBuilderV3<VirtualServiceOuterClass.L4MatchAttributes,VirtualServiceOuterClass.L4MatchAttributes.Builder,VirtualServiceOuterClass.L4MatchAttributesOrBuilder>getMatchFieldBuilder()java.util.List<VirtualServiceOuterClass.L4MatchAttributes>getMatchList()Match conditions to be satisfied for the rule to be activated.VirtualServiceOuterClass.L4MatchAttributesOrBuildergetMatchOrBuilder(int index)Match conditions to be satisfied for the rule to be activated.java.util.List<? extends VirtualServiceOuterClass.L4MatchAttributesOrBuilder>getMatchOrBuilderList()Match conditions to be satisfied for the rule to be activated.VirtualServiceOuterClass.RouteDestinationgetRoute(int index)The destination to which the connection should be forwarded to.VirtualServiceOuterClass.RouteDestination.BuildergetRouteBuilder(int index)The destination to which the connection should be forwarded to.java.util.List<VirtualServiceOuterClass.RouteDestination.Builder>getRouteBuilderList()The destination to which the connection should be forwarded to.intgetRouteCount()The destination to which the connection should be forwarded to.private com.google.protobuf.RepeatedFieldBuilderV3<VirtualServiceOuterClass.RouteDestination,VirtualServiceOuterClass.RouteDestination.Builder,VirtualServiceOuterClass.RouteDestinationOrBuilder>getRouteFieldBuilder()java.util.List<VirtualServiceOuterClass.RouteDestination>getRouteList()The destination to which the connection should be forwarded to.VirtualServiceOuterClass.RouteDestinationOrBuildergetRouteOrBuilder(int index)The destination to which the connection should be forwarded to.java.util.List<? extends VirtualServiceOuterClass.RouteDestinationOrBuilder>getRouteOrBuilderList()The destination to which the connection should be forwarded to.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()VirtualServiceOuterClass.TCPRoute.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)VirtualServiceOuterClass.TCPRoute.BuildermergeFrom(com.google.protobuf.Message other)VirtualServiceOuterClass.TCPRoute.BuildermergeFrom(VirtualServiceOuterClass.TCPRoute other)VirtualServiceOuterClass.TCPRoute.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)VirtualServiceOuterClass.TCPRoute.BuilderremoveMatch(int index)Match conditions to be satisfied for the rule to be activated.VirtualServiceOuterClass.TCPRoute.BuilderremoveRoute(int index)The destination to which the connection should be forwarded to.VirtualServiceOuterClass.TCPRoute.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)VirtualServiceOuterClass.TCPRoute.BuildersetMatch(int index, VirtualServiceOuterClass.L4MatchAttributes value)Match conditions to be satisfied for the rule to be activated.VirtualServiceOuterClass.TCPRoute.BuildersetMatch(int index, VirtualServiceOuterClass.L4MatchAttributes.Builder builderForValue)Match conditions to be satisfied for the rule to be activated.VirtualServiceOuterClass.TCPRoute.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)VirtualServiceOuterClass.TCPRoute.BuildersetRoute(int index, VirtualServiceOuterClass.RouteDestination value)The destination to which the connection should be forwarded to.VirtualServiceOuterClass.TCPRoute.BuildersetRoute(int index, VirtualServiceOuterClass.RouteDestination.Builder builderForValue)The destination to which the connection should be forwarded to.VirtualServiceOuterClass.TCPRoute.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
从类继承的方法 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, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
-
-
-
字段详细资料
-
bitField0_
private int bitField0_
-
match_
private java.util.List<VirtualServiceOuterClass.L4MatchAttributes> match_
-
matchBuilder_
private com.google.protobuf.RepeatedFieldBuilderV3<VirtualServiceOuterClass.L4MatchAttributes,VirtualServiceOuterClass.L4MatchAttributes.Builder,VirtualServiceOuterClass.L4MatchAttributesOrBuilder> matchBuilder_
-
route_
private java.util.List<VirtualServiceOuterClass.RouteDestination> route_
-
routeBuilder_
private com.google.protobuf.RepeatedFieldBuilderV3<VirtualServiceOuterClass.RouteDestination,VirtualServiceOuterClass.RouteDestination.Builder,VirtualServiceOuterClass.RouteDestinationOrBuilder> routeBuilder_
-
-
方法详细资料
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>
-
clear
public VirtualServiceOuterClass.TCPRoute.Builder clear()
- 指定者:
clear在接口中com.google.protobuf.Message.Builder- 指定者:
clear在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clear在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.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<VirtualServiceOuterClass.TCPRoute.Builder>
-
getDefaultInstanceForType
public VirtualServiceOuterClass.TCPRoute getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
build
public VirtualServiceOuterClass.TCPRoute build()
- 指定者:
build在接口中com.google.protobuf.Message.Builder- 指定者:
build在接口中com.google.protobuf.MessageLite.Builder
-
buildPartial
public VirtualServiceOuterClass.TCPRoute buildPartial()
- 指定者:
buildPartial在接口中com.google.protobuf.Message.Builder- 指定者:
buildPartial在接口中com.google.protobuf.MessageLite.Builder
-
buildPartialRepeatedFields
private void buildPartialRepeatedFields(VirtualServiceOuterClass.TCPRoute result)
-
buildPartial0
private void buildPartial0(VirtualServiceOuterClass.TCPRoute result)
-
clone
public VirtualServiceOuterClass.TCPRoute.Builder clone()
- 指定者:
clone在接口中com.google.protobuf.Message.Builder- 指定者:
clone在接口中com.google.protobuf.MessageLite.Builder- 覆盖:
clone在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>
-
setField
public VirtualServiceOuterClass.TCPRoute.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- 指定者:
setField在接口中com.google.protobuf.Message.Builder- 覆盖:
setField在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>
-
clearField
public VirtualServiceOuterClass.TCPRoute.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- 指定者:
clearField在接口中com.google.protobuf.Message.Builder- 覆盖:
clearField在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>
-
clearOneof
public VirtualServiceOuterClass.TCPRoute.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 指定者:
clearOneof在接口中com.google.protobuf.Message.Builder- 覆盖:
clearOneof在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>
-
setRepeatedField
public VirtualServiceOuterClass.TCPRoute.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<VirtualServiceOuterClass.TCPRoute.Builder>
-
addRepeatedField
public VirtualServiceOuterClass.TCPRoute.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- 指定者:
addRepeatedField在接口中com.google.protobuf.Message.Builder- 覆盖:
addRepeatedField在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>
-
mergeFrom
public VirtualServiceOuterClass.TCPRoute.Builder mergeFrom(com.google.protobuf.Message other)
- 指定者:
mergeFrom在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeFrom在类中com.google.protobuf.AbstractMessage.Builder<VirtualServiceOuterClass.TCPRoute.Builder>
-
mergeFrom
public VirtualServiceOuterClass.TCPRoute.Builder mergeFrom(VirtualServiceOuterClass.TCPRoute other)
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>
-
mergeFrom
public VirtualServiceOuterClass.TCPRoute.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<VirtualServiceOuterClass.TCPRoute.Builder>- 抛出:
java.io.IOException
-
ensureMatchIsMutable
private void ensureMatchIsMutable()
-
getMatchList
public java.util.List<VirtualServiceOuterClass.L4MatchAttributes> getMatchList()
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.L4MatchAttributes match = 1;
-
getMatchCount
public int getMatchCount()
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.L4MatchAttributes match = 1;
-
getMatch
public VirtualServiceOuterClass.L4MatchAttributes getMatch(int index)
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.L4MatchAttributes match = 1;
-
setMatch
public VirtualServiceOuterClass.TCPRoute.Builder setMatch(int index, VirtualServiceOuterClass.L4MatchAttributes value)
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.L4MatchAttributes match = 1;
-
setMatch
public VirtualServiceOuterClass.TCPRoute.Builder setMatch(int index, VirtualServiceOuterClass.L4MatchAttributes.Builder builderForValue)
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.L4MatchAttributes match = 1;
-
addMatch
public VirtualServiceOuterClass.TCPRoute.Builder addMatch(VirtualServiceOuterClass.L4MatchAttributes value)
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.L4MatchAttributes match = 1;
-
addMatch
public VirtualServiceOuterClass.TCPRoute.Builder addMatch(int index, VirtualServiceOuterClass.L4MatchAttributes value)
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.L4MatchAttributes match = 1;
-
addMatch
public VirtualServiceOuterClass.TCPRoute.Builder addMatch(VirtualServiceOuterClass.L4MatchAttributes.Builder builderForValue)
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.L4MatchAttributes match = 1;
-
addMatch
public VirtualServiceOuterClass.TCPRoute.Builder addMatch(int index, VirtualServiceOuterClass.L4MatchAttributes.Builder builderForValue)
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.L4MatchAttributes match = 1;
-
addAllMatch
public VirtualServiceOuterClass.TCPRoute.Builder addAllMatch(java.lang.Iterable<? extends VirtualServiceOuterClass.L4MatchAttributes> values)
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.L4MatchAttributes match = 1;
-
clearMatch
public VirtualServiceOuterClass.TCPRoute.Builder clearMatch()
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.L4MatchAttributes match = 1;
-
removeMatch
public VirtualServiceOuterClass.TCPRoute.Builder removeMatch(int index)
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.L4MatchAttributes match = 1;
-
getMatchBuilder
public VirtualServiceOuterClass.L4MatchAttributes.Builder getMatchBuilder(int index)
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.L4MatchAttributes match = 1;
-
getMatchOrBuilder
public VirtualServiceOuterClass.L4MatchAttributesOrBuilder getMatchOrBuilder(int index)
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.L4MatchAttributes match = 1;
-
getMatchOrBuilderList
public java.util.List<? extends VirtualServiceOuterClass.L4MatchAttributesOrBuilder> getMatchOrBuilderList()
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.L4MatchAttributes match = 1;
-
addMatchBuilder
public VirtualServiceOuterClass.L4MatchAttributes.Builder addMatchBuilder()
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.L4MatchAttributes match = 1;
-
addMatchBuilder
public VirtualServiceOuterClass.L4MatchAttributes.Builder addMatchBuilder(int index)
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.L4MatchAttributes match = 1;
-
getMatchBuilderList
public java.util.List<VirtualServiceOuterClass.L4MatchAttributes.Builder> getMatchBuilderList()
Match conditions to be satisfied for the rule to be activated. All conditions inside a single match block have AND semantics, while the list of match blocks have OR semantics. The rule is matched if any one of the match blocks succeed.
repeated .istio.networking.v1alpha3.L4MatchAttributes match = 1;
-
getMatchFieldBuilder
private com.google.protobuf.RepeatedFieldBuilderV3<VirtualServiceOuterClass.L4MatchAttributes,VirtualServiceOuterClass.L4MatchAttributes.Builder,VirtualServiceOuterClass.L4MatchAttributesOrBuilder> getMatchFieldBuilder()
-
ensureRouteIsMutable
private void ensureRouteIsMutable()
-
getRouteList
public java.util.List<VirtualServiceOuterClass.RouteDestination> getRouteList()
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;
-
getRouteCount
public int getRouteCount()
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;
-
getRoute
public VirtualServiceOuterClass.RouteDestination getRoute(int index)
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;
-
setRoute
public VirtualServiceOuterClass.TCPRoute.Builder setRoute(int index, VirtualServiceOuterClass.RouteDestination value)
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;
-
setRoute
public VirtualServiceOuterClass.TCPRoute.Builder setRoute(int index, VirtualServiceOuterClass.RouteDestination.Builder builderForValue)
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;
-
addRoute
public VirtualServiceOuterClass.TCPRoute.Builder addRoute(VirtualServiceOuterClass.RouteDestination value)
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;
-
addRoute
public VirtualServiceOuterClass.TCPRoute.Builder addRoute(int index, VirtualServiceOuterClass.RouteDestination value)
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;
-
addRoute
public VirtualServiceOuterClass.TCPRoute.Builder addRoute(VirtualServiceOuterClass.RouteDestination.Builder builderForValue)
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;
-
addRoute
public VirtualServiceOuterClass.TCPRoute.Builder addRoute(int index, VirtualServiceOuterClass.RouteDestination.Builder builderForValue)
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;
-
addAllRoute
public VirtualServiceOuterClass.TCPRoute.Builder addAllRoute(java.lang.Iterable<? extends VirtualServiceOuterClass.RouteDestination> values)
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;
-
clearRoute
public VirtualServiceOuterClass.TCPRoute.Builder clearRoute()
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;
-
removeRoute
public VirtualServiceOuterClass.TCPRoute.Builder removeRoute(int index)
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;
-
getRouteBuilder
public VirtualServiceOuterClass.RouteDestination.Builder getRouteBuilder(int index)
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;
-
getRouteOrBuilder
public VirtualServiceOuterClass.RouteDestinationOrBuilder getRouteOrBuilder(int index)
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;
-
getRouteOrBuilderList
public java.util.List<? extends VirtualServiceOuterClass.RouteDestinationOrBuilder> getRouteOrBuilderList()
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;
-
addRouteBuilder
public VirtualServiceOuterClass.RouteDestination.Builder addRouteBuilder()
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;
-
addRouteBuilder
public VirtualServiceOuterClass.RouteDestination.Builder addRouteBuilder(int index)
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;
-
getRouteBuilderList
public java.util.List<VirtualServiceOuterClass.RouteDestination.Builder> getRouteBuilderList()
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;
-
getRouteFieldBuilder
private com.google.protobuf.RepeatedFieldBuilderV3<VirtualServiceOuterClass.RouteDestination,VirtualServiceOuterClass.RouteDestination.Builder,VirtualServiceOuterClass.RouteDestinationOrBuilder> getRouteFieldBuilder()
-
setUnknownFields
public final VirtualServiceOuterClass.TCPRoute.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
setUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
setUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>
-
mergeUnknownFields
public final VirtualServiceOuterClass.TCPRoute.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- 指定者:
mergeUnknownFields在接口中com.google.protobuf.Message.Builder- 覆盖:
mergeUnknownFields在类中com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>
-
-