Class Config.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Config.Builder>
-
- io.envoyproxy.envoy.config.filter.http.aws_lambda.v2alpha.Config.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ConfigOrBuilder,Cloneable
- Enclosing class:
- Config
public static final class Config.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Config.Builder> implements ConfigOrBuilder
AWS Lambda filter config
Protobuf typeenvoy.config.filter.http.aws_lambda.v2alpha.Config
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Config.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Configbuild()ConfigbuildPartial()Config.Builderclear()Config.BuilderclearArn()The ARN of the AWS Lambda to invoke when the filter is engaged Must be in the following format: arn:<partition>:lambda:<region>:<account-number>:function:<function-name>Config.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Config.BuilderclearInvocationMode()Determines the way to invoke the Lambda function.Config.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Config.BuilderclearPayloadPassthrough()Whether to transform the request (headers and body) to a JSON payload or pass it as is.Config.Builderclone()StringgetArn()The ARN of the AWS Lambda to invoke when the filter is engaged Must be in the following format: arn:<partition>:lambda:<region>:<account-number>:function:<function-name>com.google.protobuf.ByteStringgetArnBytes()The ARN of the AWS Lambda to invoke when the filter is engaged Must be in the following format: arn:<partition>:lambda:<region>:<account-number>:function:<function-name>ConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Config.InvocationModegetInvocationMode()Determines the way to invoke the Lambda function.intgetInvocationModeValue()Determines the way to invoke the Lambda function.booleangetPayloadPassthrough()Whether to transform the request (headers and body) to a JSON payload or pass it as is.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Config.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Config.BuildermergeFrom(com.google.protobuf.Message other)Config.BuildermergeFrom(Config other)Config.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Config.BuildersetArn(String value)The ARN of the AWS Lambda to invoke when the filter is engaged Must be in the following format: arn:<partition>:lambda:<region>:<account-number>:function:<function-name>Config.BuildersetArnBytes(com.google.protobuf.ByteString value)The ARN of the AWS Lambda to invoke when the filter is engaged Must be in the following format: arn:<partition>:lambda:<region>:<account-number>:function:<function-name>Config.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Config.BuildersetInvocationMode(Config.InvocationMode value)Determines the way to invoke the Lambda function.Config.BuildersetInvocationModeValue(int value)Determines the way to invoke the Lambda function.Config.BuildersetPayloadPassthrough(boolean value)Whether to transform the request (headers and body) to a JSON payload or pass it as is.Config.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Config.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Config.Builder>
-
clear
public Config.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Config.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Config.Builder>
-
getDefaultInstanceForType
public Config getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Config build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Config buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Config.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Config.Builder>
-
setField
public Config.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Config.Builder>
-
clearField
public Config.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Config.Builder>
-
clearOneof
public Config.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Config.Builder>
-
setRepeatedField
public Config.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Config.Builder>
-
addRepeatedField
public Config.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Config.Builder>
-
mergeFrom
public Config.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Config.Builder>
-
mergeFrom
public Config.Builder mergeFrom(Config other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Config.Builder>
-
mergeFrom
public Config.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Config.Builder>- Throws:
IOException
-
getArn
public String getArn()
The ARN of the AWS Lambda to invoke when the filter is engaged Must be in the following format: arn:<partition>:lambda:<region>:<account-number>:function:<function-name>
string arn = 1 [(.validate.rules) = { ... }- Specified by:
getArnin interfaceConfigOrBuilder- Returns:
- The arn.
-
getArnBytes
public com.google.protobuf.ByteString getArnBytes()
The ARN of the AWS Lambda to invoke when the filter is engaged Must be in the following format: arn:<partition>:lambda:<region>:<account-number>:function:<function-name>
string arn = 1 [(.validate.rules) = { ... }- Specified by:
getArnBytesin interfaceConfigOrBuilder- Returns:
- The bytes for arn.
-
setArn
public Config.Builder setArn(String value)
The ARN of the AWS Lambda to invoke when the filter is engaged Must be in the following format: arn:<partition>:lambda:<region>:<account-number>:function:<function-name>
string arn = 1 [(.validate.rules) = { ... }- Parameters:
value- The arn to set.- Returns:
- This builder for chaining.
-
clearArn
public Config.Builder clearArn()
The ARN of the AWS Lambda to invoke when the filter is engaged Must be in the following format: arn:<partition>:lambda:<region>:<account-number>:function:<function-name>
string arn = 1 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setArnBytes
public Config.Builder setArnBytes(com.google.protobuf.ByteString value)
The ARN of the AWS Lambda to invoke when the filter is engaged Must be in the following format: arn:<partition>:lambda:<region>:<account-number>:function:<function-name>
string arn = 1 [(.validate.rules) = { ... }- Parameters:
value- The bytes for arn to set.- Returns:
- This builder for chaining.
-
getPayloadPassthrough
public boolean getPayloadPassthrough()
Whether to transform the request (headers and body) to a JSON payload or pass it as is.
bool payload_passthrough = 2;- Specified by:
getPayloadPassthroughin interfaceConfigOrBuilder- Returns:
- The payloadPassthrough.
-
setPayloadPassthrough
public Config.Builder setPayloadPassthrough(boolean value)
Whether to transform the request (headers and body) to a JSON payload or pass it as is.
bool payload_passthrough = 2;- Parameters:
value- The payloadPassthrough to set.- Returns:
- This builder for chaining.
-
clearPayloadPassthrough
public Config.Builder clearPayloadPassthrough()
Whether to transform the request (headers and body) to a JSON payload or pass it as is.
bool payload_passthrough = 2;- Returns:
- This builder for chaining.
-
getInvocationModeValue
public int getInvocationModeValue()
Determines the way to invoke the Lambda function.
.envoy.config.filter.http.aws_lambda.v2alpha.Config.InvocationMode invocation_mode = 3 [(.validate.rules) = { ... }- Specified by:
getInvocationModeValuein interfaceConfigOrBuilder- Returns:
- The enum numeric value on the wire for invocationMode.
-
setInvocationModeValue
public Config.Builder setInvocationModeValue(int value)
Determines the way to invoke the Lambda function.
.envoy.config.filter.http.aws_lambda.v2alpha.Config.InvocationMode invocation_mode = 3 [(.validate.rules) = { ... }- Parameters:
value- The enum numeric value on the wire for invocationMode to set.- Returns:
- This builder for chaining.
-
getInvocationMode
public Config.InvocationMode getInvocationMode()
Determines the way to invoke the Lambda function.
.envoy.config.filter.http.aws_lambda.v2alpha.Config.InvocationMode invocation_mode = 3 [(.validate.rules) = { ... }- Specified by:
getInvocationModein interfaceConfigOrBuilder- Returns:
- The invocationMode.
-
setInvocationMode
public Config.Builder setInvocationMode(Config.InvocationMode value)
Determines the way to invoke the Lambda function.
.envoy.config.filter.http.aws_lambda.v2alpha.Config.InvocationMode invocation_mode = 3 [(.validate.rules) = { ... }- Parameters:
value- The invocationMode to set.- Returns:
- This builder for chaining.
-
clearInvocationMode
public Config.Builder clearInvocationMode()
Determines the way to invoke the Lambda function.
.envoy.config.filter.http.aws_lambda.v2alpha.Config.InvocationMode invocation_mode = 3 [(.validate.rules) = { ... }- Returns:
- This builder for chaining.
-
setUnknownFields
public final Config.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Config.Builder>
-
mergeUnknownFields
public final Config.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Config.Builder>
-
-