public static final class Check.RouteDirective.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Check.RouteDirective.Builder> 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.RouteDirectivegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Check.RouteDirective.Builder>public Check.RouteDirective.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Check.RouteDirective.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Check.RouteDirective.Builder>public Check.RouteDirective getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Check.RouteDirective build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Check.RouteDirective buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Check.RouteDirective.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Check.RouteDirective.Builder>public Check.RouteDirective.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Check.RouteDirective.Builder>public Check.RouteDirective.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Check.RouteDirective.Builder>public Check.RouteDirective.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Check.RouteDirective.Builder>public Check.RouteDirective.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Check.RouteDirective.Builder>public Check.RouteDirective.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Check.RouteDirective.Builder>public Check.RouteDirective.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Check.RouteDirective.Builder>public Check.RouteDirective.Builder mergeFrom(Check.RouteDirective other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Check.RouteDirective.Builder>public Check.RouteDirective.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Check.RouteDirective.Builder>IOExceptionpublic 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 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.RouteDirective.Builder setRequestHeaderOperations(int index, Check.HeaderOperation value)
Operations on the request headers.
repeated .istio.mixer.v1.HeaderOperation request_header_operations = 1 [(.gogoproto.nullable) = false];public Check.RouteDirective.Builder setRequestHeaderOperations(int index, Check.HeaderOperation.Builder builderForValue)
Operations on the request headers.
repeated .istio.mixer.v1.HeaderOperation request_header_operations = 1 [(.gogoproto.nullable) = false];public Check.RouteDirective.Builder addRequestHeaderOperations(Check.HeaderOperation value)
Operations on the request headers.
repeated .istio.mixer.v1.HeaderOperation request_header_operations = 1 [(.gogoproto.nullable) = false];public Check.RouteDirective.Builder addRequestHeaderOperations(int index, Check.HeaderOperation value)
Operations on the request headers.
repeated .istio.mixer.v1.HeaderOperation request_header_operations = 1 [(.gogoproto.nullable) = false];public Check.RouteDirective.Builder addRequestHeaderOperations(Check.HeaderOperation.Builder builderForValue)
Operations on the request headers.
repeated .istio.mixer.v1.HeaderOperation request_header_operations = 1 [(.gogoproto.nullable) = false];public Check.RouteDirective.Builder addRequestHeaderOperations(int index, Check.HeaderOperation.Builder builderForValue)
Operations on the request headers.
repeated .istio.mixer.v1.HeaderOperation request_header_operations = 1 [(.gogoproto.nullable) = false];public Check.RouteDirective.Builder addAllRequestHeaderOperations(Iterable<? extends Check.HeaderOperation> values)
Operations on the request headers.
repeated .istio.mixer.v1.HeaderOperation request_header_operations = 1 [(.gogoproto.nullable) = false];public Check.RouteDirective.Builder clearRequestHeaderOperations()
Operations on the request headers.
repeated .istio.mixer.v1.HeaderOperation request_header_operations = 1 [(.gogoproto.nullable) = false];public Check.RouteDirective.Builder removeRequestHeaderOperations(int index)
Operations on the request headers.
repeated .istio.mixer.v1.HeaderOperation request_header_operations = 1 [(.gogoproto.nullable) = false];public Check.HeaderOperation.Builder getRequestHeaderOperationsBuilder(int index)
Operations on the request headers.
repeated .istio.mixer.v1.HeaderOperation request_header_operations = 1 [(.gogoproto.nullable) = false];public 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<? 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 Check.HeaderOperation.Builder addRequestHeaderOperationsBuilder()
Operations on the request headers.
repeated .istio.mixer.v1.HeaderOperation request_header_operations = 1 [(.gogoproto.nullable) = false];public Check.HeaderOperation.Builder addRequestHeaderOperationsBuilder(int index)
Operations on the request headers.
repeated .istio.mixer.v1.HeaderOperation request_header_operations = 1 [(.gogoproto.nullable) = false];public List<Check.HeaderOperation.Builder> getRequestHeaderOperationsBuilderList()
Operations on the request headers.
repeated .istio.mixer.v1.HeaderOperation request_header_operations = 1 [(.gogoproto.nullable) = false];public 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 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.RouteDirective.Builder setResponseHeaderOperations(int index, Check.HeaderOperation value)
Operations on the response headers.
repeated .istio.mixer.v1.HeaderOperation response_header_operations = 2 [(.gogoproto.nullable) = false];public Check.RouteDirective.Builder setResponseHeaderOperations(int index, Check.HeaderOperation.Builder builderForValue)
Operations on the response headers.
repeated .istio.mixer.v1.HeaderOperation response_header_operations = 2 [(.gogoproto.nullable) = false];public Check.RouteDirective.Builder addResponseHeaderOperations(Check.HeaderOperation value)
Operations on the response headers.
repeated .istio.mixer.v1.HeaderOperation response_header_operations = 2 [(.gogoproto.nullable) = false];public Check.RouteDirective.Builder addResponseHeaderOperations(int index, Check.HeaderOperation value)
Operations on the response headers.
repeated .istio.mixer.v1.HeaderOperation response_header_operations = 2 [(.gogoproto.nullable) = false];public Check.RouteDirective.Builder addResponseHeaderOperations(Check.HeaderOperation.Builder builderForValue)
Operations on the response headers.
repeated .istio.mixer.v1.HeaderOperation response_header_operations = 2 [(.gogoproto.nullable) = false];public Check.RouteDirective.Builder addResponseHeaderOperations(int index, Check.HeaderOperation.Builder builderForValue)
Operations on the response headers.
repeated .istio.mixer.v1.HeaderOperation response_header_operations = 2 [(.gogoproto.nullable) = false];public Check.RouteDirective.Builder addAllResponseHeaderOperations(Iterable<? extends Check.HeaderOperation> values)
Operations on the response headers.
repeated .istio.mixer.v1.HeaderOperation response_header_operations = 2 [(.gogoproto.nullable) = false];public Check.RouteDirective.Builder clearResponseHeaderOperations()
Operations on the response headers.
repeated .istio.mixer.v1.HeaderOperation response_header_operations = 2 [(.gogoproto.nullable) = false];public Check.RouteDirective.Builder removeResponseHeaderOperations(int index)
Operations on the response headers.
repeated .istio.mixer.v1.HeaderOperation response_header_operations = 2 [(.gogoproto.nullable) = false];public Check.HeaderOperation.Builder getResponseHeaderOperationsBuilder(int index)
Operations on the response headers.
repeated .istio.mixer.v1.HeaderOperation response_header_operations = 2 [(.gogoproto.nullable) = false];public 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 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 Check.HeaderOperation.Builder addResponseHeaderOperationsBuilder()
Operations on the response headers.
repeated .istio.mixer.v1.HeaderOperation response_header_operations = 2 [(.gogoproto.nullable) = false];public Check.HeaderOperation.Builder addResponseHeaderOperationsBuilder(int index)
Operations on the response headers.
repeated .istio.mixer.v1.HeaderOperation response_header_operations = 2 [(.gogoproto.nullable) = false];public List<Check.HeaderOperation.Builder> getResponseHeaderOperationsBuilderList()
Operations on the response headers.
repeated .istio.mixer.v1.HeaderOperation response_header_operations = 2 [(.gogoproto.nullable) = false];public 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 Check.RouteDirective.Builder setDirectResponseCode(int value)
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;public Check.RouteDirective.Builder clearDirectResponseCode()
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;public 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 Check.RouteDirective.Builder setDirectResponseBody(String value)
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;public Check.RouteDirective.Builder clearDirectResponseBody()
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;public Check.RouteDirective.Builder setDirectResponseBodyBytes(com.google.protobuf.ByteString value)
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;public final Check.RouteDirective.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Check.RouteDirective.Builder>public final Check.RouteDirective.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Check.RouteDirective.Builder>Copyright © 2019 WSO2. All rights reserved.