public static final class Check.RouteDirective extends com.google.protobuf.GeneratedMessageV3 implements Check.RouteDirectiveOrBuilder
Expresses the routing manipulation actions to be performed on behalf of Mixer in response to a successful precondition check.Protobuf type
istio.mixer.v1.RouteDirective| Modifier and Type | Class and Description |
|---|---|
static class |
Check.RouteDirective.Builder
Expresses the routing manipulation actions to be performed on behalf of
Mixer in response to a successful precondition check.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
DIRECT_RESPONSE_BODY_FIELD_NUMBER |
static int |
DIRECT_RESPONSE_CODE_FIELD_NUMBER |
static int |
REQUEST_HEADER_OPERATIONS_FIELD_NUMBER |
static int |
RESPONSE_HEADER_OPERATIONS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Check.RouteDirective |
getDefaultInstance() |
Check.RouteDirective |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDirectResponseBody()
Supplies the response body for the direct response.
|
com.google.protobuf.ByteString |
getDirectResponseBodyBytes()
Supplies the response body for the direct response.
|
int |
getDirectResponseCode()
If set, enables a direct response without proxying the request to the routing
destination.
|
com.google.protobuf.Parser<Check.RouteDirective> |
getParserForType() |
Check.HeaderOperation |
getRequestHeaderOperations(int index)
Operations on the request headers.
|
int |
getRequestHeaderOperationsCount()
Operations on the request headers.
|
List<Check.HeaderOperation> |
getRequestHeaderOperationsList()
Operations on the request headers.
|
Check.HeaderOperationOrBuilder |
getRequestHeaderOperationsOrBuilder(int index)
Operations on the request headers.
|
List<? extends Check.HeaderOperationOrBuilder> |
getRequestHeaderOperationsOrBuilderList()
Operations on the request headers.
|
Check.HeaderOperation |
getResponseHeaderOperations(int index)
Operations on the response headers.
|
int |
getResponseHeaderOperationsCount()
Operations on the response headers.
|
List<Check.HeaderOperation> |
getResponseHeaderOperationsList()
Operations on the response headers.
|
Check.HeaderOperationOrBuilder |
getResponseHeaderOperationsOrBuilder(int index)
Operations on the response headers.
|
List<? extends Check.HeaderOperationOrBuilder> |
getResponseHeaderOperationsOrBuilderList()
Operations on the response headers.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Check.RouteDirective.Builder |
newBuilder() |
static Check.RouteDirective.Builder |
newBuilder(Check.RouteDirective prototype) |
Check.RouteDirective.Builder |
newBuilderForType() |
protected Check.RouteDirective.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Check.RouteDirective |
parseDelimitedFrom(InputStream input) |
static Check.RouteDirective |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Check.RouteDirective |
parseFrom(byte[] data) |
static Check.RouteDirective |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Check.RouteDirective |
parseFrom(ByteBuffer data) |
static Check.RouteDirective |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Check.RouteDirective |
parseFrom(com.google.protobuf.ByteString data) |
static Check.RouteDirective |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Check.RouteDirective |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Check.RouteDirective |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Check.RouteDirective |
parseFrom(InputStream input) |
static Check.RouteDirective |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Check.RouteDirective> |
parser() |
Check.RouteDirective.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int REQUEST_HEADER_OPERATIONS_FIELD_NUMBER
public static final int RESPONSE_HEADER_OPERATIONS_FIELD_NUMBER
public static final int DIRECT_RESPONSE_CODE_FIELD_NUMBER
public static final int DIRECT_RESPONSE_BODY_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<Check.HeaderOperation> getRequestHeaderOperationsList()
Operations on the request headers.
repeated .istio.mixer.v1.HeaderOperation request_header_operations = 1 [(.gogoproto.nullable) = false];getRequestHeaderOperationsList in interface Check.RouteDirectiveOrBuilderpublic List<? extends Check.HeaderOperationOrBuilder> getRequestHeaderOperationsOrBuilderList()
Operations on the request headers.
repeated .istio.mixer.v1.HeaderOperation request_header_operations = 1 [(.gogoproto.nullable) = false];getRequestHeaderOperationsOrBuilderList in interface Check.RouteDirectiveOrBuilderpublic int getRequestHeaderOperationsCount()
Operations on the request headers.
repeated .istio.mixer.v1.HeaderOperation request_header_operations = 1 [(.gogoproto.nullable) = false];getRequestHeaderOperationsCount in interface Check.RouteDirectiveOrBuilderpublic Check.HeaderOperation getRequestHeaderOperations(int index)
Operations on the request headers.
repeated .istio.mixer.v1.HeaderOperation request_header_operations = 1 [(.gogoproto.nullable) = false];getRequestHeaderOperations in interface Check.RouteDirectiveOrBuilderpublic Check.HeaderOperationOrBuilder getRequestHeaderOperationsOrBuilder(int index)
Operations on the request headers.
repeated .istio.mixer.v1.HeaderOperation request_header_operations = 1 [(.gogoproto.nullable) = false];getRequestHeaderOperationsOrBuilder in interface Check.RouteDirectiveOrBuilderpublic List<Check.HeaderOperation> getResponseHeaderOperationsList()
Operations on the response headers.
repeated .istio.mixer.v1.HeaderOperation response_header_operations = 2 [(.gogoproto.nullable) = false];getResponseHeaderOperationsList in interface Check.RouteDirectiveOrBuilderpublic List<? extends Check.HeaderOperationOrBuilder> getResponseHeaderOperationsOrBuilderList()
Operations on the response headers.
repeated .istio.mixer.v1.HeaderOperation response_header_operations = 2 [(.gogoproto.nullable) = false];getResponseHeaderOperationsOrBuilderList in interface Check.RouteDirectiveOrBuilderpublic int getResponseHeaderOperationsCount()
Operations on the response headers.
repeated .istio.mixer.v1.HeaderOperation response_header_operations = 2 [(.gogoproto.nullable) = false];getResponseHeaderOperationsCount in interface Check.RouteDirectiveOrBuilderpublic Check.HeaderOperation getResponseHeaderOperations(int index)
Operations on the response headers.
repeated .istio.mixer.v1.HeaderOperation response_header_operations = 2 [(.gogoproto.nullable) = false];getResponseHeaderOperations in interface Check.RouteDirectiveOrBuilderpublic Check.HeaderOperationOrBuilder getResponseHeaderOperationsOrBuilder(int index)
Operations on the response headers.
repeated .istio.mixer.v1.HeaderOperation response_header_operations = 2 [(.gogoproto.nullable) = false];getResponseHeaderOperationsOrBuilder in interface Check.RouteDirectiveOrBuilderpublic int getDirectResponseCode()
If set, enables a direct response without proxying the request to the routing destination. Required to be a value in the 2xx or 3xx range.
uint32 direct_response_code = 3;getDirectResponseCode in interface Check.RouteDirectiveOrBuilderpublic String getDirectResponseBody()
Supplies the response body for the direct response. If this setting is omitted, no body is included in the generated response.
string direct_response_body = 4;getDirectResponseBody in interface Check.RouteDirectiveOrBuilderpublic com.google.protobuf.ByteString getDirectResponseBodyBytes()
Supplies the response body for the direct response. If this setting is omitted, no body is included in the generated response.
string direct_response_body = 4;getDirectResponseBodyBytes in interface Check.RouteDirectiveOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Check.RouteDirective parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.RouteDirective parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.RouteDirective parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.RouteDirective parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.RouteDirective parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.RouteDirective parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Check.RouteDirective parseFrom(InputStream input) throws IOException
IOExceptionpublic static Check.RouteDirective parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Check.RouteDirective parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Check.RouteDirective parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Check.RouteDirective parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Check.RouteDirective parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Check.RouteDirective.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Check.RouteDirective.Builder newBuilder()
public static Check.RouteDirective.Builder newBuilder(Check.RouteDirective prototype)
public Check.RouteDirective.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Check.RouteDirective.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Check.RouteDirective getDefaultInstance()
public static com.google.protobuf.Parser<Check.RouteDirective> parser()
public com.google.protobuf.Parser<Check.RouteDirective> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Check.RouteDirective getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 WSO2. All rights reserved.