public static final class TlsRoute.RouteRule extends GeneratedMessageV3 implements TlsRoute.RouteRuleOrBuilder
Specifies how to match traffic and how to route traffic when traffic is
matched.
Protobuf type google.cloud.networkservices.v1.TlsRoute.RouteRule
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ACTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MATCHES_FIELD_NUMBER
public static final int MATCHES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static TlsRoute.RouteRule getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TlsRoute.RouteRule.Builder newBuilder()
newBuilder(TlsRoute.RouteRule prototype)
public static TlsRoute.RouteRule.Builder newBuilder(TlsRoute.RouteRule prototype)
public static TlsRoute.RouteRule parseDelimitedFrom(InputStream input)
public static TlsRoute.RouteRule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TlsRoute.RouteRule parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TlsRoute.RouteRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TlsRoute.RouteRule parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TlsRoute.RouteRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TlsRoute.RouteRule parseFrom(CodedInputStream input)
public static TlsRoute.RouteRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TlsRoute.RouteRule parseFrom(InputStream input)
public static TlsRoute.RouteRule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TlsRoute.RouteRule parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TlsRoute.RouteRule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TlsRoute.RouteRule> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAction()
public TlsRoute.RouteAction getAction()
Required. The detailed rule defining how to route matched traffic.
.google.cloud.networkservices.v1.TlsRoute.RouteAction action = 2 [(.google.api.field_behavior) = REQUIRED];
getActionOrBuilder()
public TlsRoute.RouteActionOrBuilder getActionOrBuilder()
Required. The detailed rule defining how to route matched traffic.
.google.cloud.networkservices.v1.TlsRoute.RouteAction action = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public TlsRoute.RouteRule getDefaultInstanceForType()
getMatches(int index)
public TlsRoute.RouteMatch getMatches(int index)
Required. RouteMatch defines the predicate used to match requests to a
given action. Multiple match types are "OR"ed for evaluation.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteMatch matches = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getMatchesCount()
public int getMatchesCount()
Required. RouteMatch defines the predicate used to match requests to a
given action. Multiple match types are "OR"ed for evaluation.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteMatch matches = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getMatchesList()
public List<TlsRoute.RouteMatch> getMatchesList()
Required. RouteMatch defines the predicate used to match requests to a
given action. Multiple match types are "OR"ed for evaluation.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteMatch matches = 1 [(.google.api.field_behavior) = REQUIRED];
getMatchesOrBuilder(int index)
public TlsRoute.RouteMatchOrBuilder getMatchesOrBuilder(int index)
Required. RouteMatch defines the predicate used to match requests to a
given action. Multiple match types are "OR"ed for evaluation.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteMatch matches = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getMatchesOrBuilderList()
public List<? extends TlsRoute.RouteMatchOrBuilder> getMatchesOrBuilderList()
Required. RouteMatch defines the predicate used to match requests to a
given action. Multiple match types are "OR"ed for evaluation.
repeated .google.cloud.networkservices.v1.TlsRoute.RouteMatch matches = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.networkservices.v1.TlsRoute.RouteMatchOrBuilder> |
|
getParserForType()
public Parser<TlsRoute.RouteRule> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasAction()
public boolean hasAction()
Required. The detailed rule defining how to route matched traffic.
.google.cloud.networkservices.v1.TlsRoute.RouteAction action = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the action field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TlsRoute.RouteRule.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TlsRoute.RouteRule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public TlsRoute.RouteRule.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides