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 type istio.networking.v1alpha3.TCPRoute| 限定符和类型 | 方法和说明 |
|---|---|
VirtualServiceOuterClass.TCPRoute.Builder |
addAllMatch(Iterable<? extends VirtualServiceOuterClass.L4MatchAttributes> values)
Match conditions to be satisfied for the rule to be
activated.
|
VirtualServiceOuterClass.TCPRoute.Builder |
addAllRoute(Iterable<? extends VirtualServiceOuterClass.RouteDestination> values)
The destination to which the connection should be forwarded to.
|
VirtualServiceOuterClass.TCPRoute.Builder |
addMatch(int index,
VirtualServiceOuterClass.L4MatchAttributes.Builder builderForValue)
Match conditions to be satisfied for the rule to be
activated.
|
VirtualServiceOuterClass.TCPRoute.Builder |
addMatch(int index,
VirtualServiceOuterClass.L4MatchAttributes value)
Match conditions to be satisfied for the rule to be
activated.
|
VirtualServiceOuterClass.TCPRoute.Builder |
addMatch(VirtualServiceOuterClass.L4MatchAttributes.Builder builderForValue)
Match conditions to be satisfied for the rule to be
activated.
|
VirtualServiceOuterClass.TCPRoute.Builder |
addMatch(VirtualServiceOuterClass.L4MatchAttributes value)
Match conditions to be satisfied for the rule to be
activated.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
addMatchBuilder()
Match conditions to be satisfied for the rule to be
activated.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
addMatchBuilder(int index)
Match conditions to be satisfied for the rule to be
activated.
|
VirtualServiceOuterClass.TCPRoute.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VirtualServiceOuterClass.TCPRoute.Builder |
addRoute(int index,
VirtualServiceOuterClass.RouteDestination.Builder builderForValue)
The destination to which the connection should be forwarded to.
|
VirtualServiceOuterClass.TCPRoute.Builder |
addRoute(int index,
VirtualServiceOuterClass.RouteDestination value)
The destination to which the connection should be forwarded to.
|
VirtualServiceOuterClass.TCPRoute.Builder |
addRoute(VirtualServiceOuterClass.RouteDestination.Builder builderForValue)
The destination to which the connection should be forwarded to.
|
VirtualServiceOuterClass.TCPRoute.Builder |
addRoute(VirtualServiceOuterClass.RouteDestination value)
The destination to which the connection should be forwarded to.
|
VirtualServiceOuterClass.RouteDestination.Builder |
addRouteBuilder()
The destination to which the connection should be forwarded to.
|
VirtualServiceOuterClass.RouteDestination.Builder |
addRouteBuilder(int index)
The destination to which the connection should be forwarded to.
|
VirtualServiceOuterClass.TCPRoute |
build() |
VirtualServiceOuterClass.TCPRoute |
buildPartial() |
VirtualServiceOuterClass.TCPRoute.Builder |
clear() |
VirtualServiceOuterClass.TCPRoute.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
VirtualServiceOuterClass.TCPRoute.Builder |
clearMatch()
Match conditions to be satisfied for the rule to be
activated.
|
VirtualServiceOuterClass.TCPRoute.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
VirtualServiceOuterClass.TCPRoute.Builder |
clearRoute()
The destination to which the connection should be forwarded to.
|
VirtualServiceOuterClass.TCPRoute.Builder |
clone() |
VirtualServiceOuterClass.TCPRoute |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
VirtualServiceOuterClass.L4MatchAttributes |
getMatch(int index)
Match conditions to be satisfied for the rule to be
activated.
|
VirtualServiceOuterClass.L4MatchAttributes.Builder |
getMatchBuilder(int index)
Match conditions to be satisfied for the rule to be
activated.
|
List<VirtualServiceOuterClass.L4MatchAttributes.Builder> |
getMatchBuilderList()
Match conditions to be satisfied for the rule to be
activated.
|
int |
getMatchCount()
Match conditions to be satisfied for the rule to be
activated.
|
List<VirtualServiceOuterClass.L4MatchAttributes> |
getMatchList()
Match conditions to be satisfied for the rule to be
activated.
|
VirtualServiceOuterClass.L4MatchAttributesOrBuilder |
getMatchOrBuilder(int index)
Match conditions to be satisfied for the rule to be
activated.
|
List<? extends VirtualServiceOuterClass.L4MatchAttributesOrBuilder> |
getMatchOrBuilderList()
Match conditions to be satisfied for the rule to be
activated.
|
VirtualServiceOuterClass.RouteDestination |
getRoute(int index)
The destination to which the connection should be forwarded to.
|
VirtualServiceOuterClass.RouteDestination.Builder |
getRouteBuilder(int index)
The destination to which the connection should be forwarded to.
|
List<VirtualServiceOuterClass.RouteDestination.Builder> |
getRouteBuilderList()
The destination to which the connection should be forwarded to.
|
int |
getRouteCount()
The destination to which the connection should be forwarded to.
|
List<VirtualServiceOuterClass.RouteDestination> |
getRouteList()
The destination to which the connection should be forwarded to.
|
VirtualServiceOuterClass.RouteDestinationOrBuilder |
getRouteOrBuilder(int index)
The destination to which the connection should be forwarded to.
|
List<? extends VirtualServiceOuterClass.RouteDestinationOrBuilder> |
getRouteOrBuilderList()
The destination to which the connection should be forwarded to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
VirtualServiceOuterClass.TCPRoute.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
VirtualServiceOuterClass.TCPRoute.Builder |
mergeFrom(com.google.protobuf.Message other) |
VirtualServiceOuterClass.TCPRoute.Builder |
mergeFrom(VirtualServiceOuterClass.TCPRoute other) |
VirtualServiceOuterClass.TCPRoute.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
VirtualServiceOuterClass.TCPRoute.Builder |
removeMatch(int index)
Match conditions to be satisfied for the rule to be
activated.
|
VirtualServiceOuterClass.TCPRoute.Builder |
removeRoute(int index)
The destination to which the connection should be forwarded to.
|
VirtualServiceOuterClass.TCPRoute.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
VirtualServiceOuterClass.TCPRoute.Builder |
setMatch(int index,
VirtualServiceOuterClass.L4MatchAttributes.Builder builderForValue)
Match conditions to be satisfied for the rule to be
activated.
|
VirtualServiceOuterClass.TCPRoute.Builder |
setMatch(int index,
VirtualServiceOuterClass.L4MatchAttributes value)
Match conditions to be satisfied for the rule to be
activated.
|
VirtualServiceOuterClass.TCPRoute.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
VirtualServiceOuterClass.TCPRoute.Builder |
setRoute(int index,
VirtualServiceOuterClass.RouteDestination.Builder builderForValue)
The destination to which the connection should be forwarded to.
|
VirtualServiceOuterClass.TCPRoute.Builder |
setRoute(int index,
VirtualServiceOuterClass.RouteDestination value)
The destination to which the connection should be forwarded to.
|
VirtualServiceOuterClass.TCPRoute.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>public VirtualServiceOuterClass.TCPRoute.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>public VirtualServiceOuterClass.TCPRoute getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic VirtualServiceOuterClass.TCPRoute build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic VirtualServiceOuterClass.TCPRoute buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic VirtualServiceOuterClass.TCPRoute.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>public VirtualServiceOuterClass.TCPRoute.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>public VirtualServiceOuterClass.TCPRoute.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>public VirtualServiceOuterClass.TCPRoute.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>public VirtualServiceOuterClass.TCPRoute.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>public VirtualServiceOuterClass.TCPRoute.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>public VirtualServiceOuterClass.TCPRoute.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<VirtualServiceOuterClass.TCPRoute.Builder>public VirtualServiceOuterClass.TCPRoute.Builder mergeFrom(VirtualServiceOuterClass.TCPRoute other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>public VirtualServiceOuterClass.TCPRoute.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<VirtualServiceOuterClass.TCPRoute.Builder>IOExceptionpublic 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;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;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;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;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;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;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;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;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;public VirtualServiceOuterClass.TCPRoute.Builder addAllMatch(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;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;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;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;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;public 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;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;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;public 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;public List<VirtualServiceOuterClass.RouteDestination> getRouteList()
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;public int getRouteCount()
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;public VirtualServiceOuterClass.RouteDestination getRoute(int index)
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;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;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;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;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;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;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;public VirtualServiceOuterClass.TCPRoute.Builder addAllRoute(Iterable<? extends VirtualServiceOuterClass.RouteDestination> values)
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;public VirtualServiceOuterClass.TCPRoute.Builder clearRoute()
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;public VirtualServiceOuterClass.TCPRoute.Builder removeRoute(int index)
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;public VirtualServiceOuterClass.RouteDestination.Builder getRouteBuilder(int index)
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;public VirtualServiceOuterClass.RouteDestinationOrBuilder getRouteOrBuilder(int index)
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;public List<? extends VirtualServiceOuterClass.RouteDestinationOrBuilder> getRouteOrBuilderList()
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;public VirtualServiceOuterClass.RouteDestination.Builder addRouteBuilder()
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;public VirtualServiceOuterClass.RouteDestination.Builder addRouteBuilder(int index)
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;public List<VirtualServiceOuterClass.RouteDestination.Builder> getRouteBuilderList()
The destination to which the connection should be forwarded to.
repeated .istio.networking.v1alpha3.RouteDestination route = 2;public final VirtualServiceOuterClass.TCPRoute.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>public final VirtualServiceOuterClass.TCPRoute.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<VirtualServiceOuterClass.TCPRoute.Builder>Copyright © 2018–2023 Alibaba Group. All rights reserved.