publicstaticfinalclass AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.BuilderextendsGeneratedMessageV3.Builder<AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder>implementsAuthorizationPolicy.Rule.Destination.HttpHeaderMatchOrBuilder
Specification of HTTP header match attributes.
Protobuf type
google.cloud.networksecurity.v1.AuthorizationPolicy.Rule.Destination.HttpHeaderMatch
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
publicAuthorizationPolicy.Rule.Destination.HttpHeaderMatch.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
publicAuthorizationPolicy.Rule.Destination.HttpHeaderMatchbuild()
publicAuthorizationPolicy.Rule.Destination.HttpHeaderMatchbuildPartial()
publicAuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builderclear()
Overrides
publicAuthorizationPolicy.Rule.Destination.HttpHeaderMatch.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
publicAuthorizationPolicy.Rule.Destination.HttpHeaderMatch.BuilderclearHeaderName()
Required. The name of the HTTP header to match. For matching
against the HTTP request's authority, use a headerMatch
with the header name ":authority". For matching a
request's method, use the headerName ":method".
string header_name = 1 [(.google.api.field_behavior) = REQUIRED];
publicAuthorizationPolicy.Rule.Destination.HttpHeaderMatch.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
publicAuthorizationPolicy.Rule.Destination.HttpHeaderMatch.BuilderclearRegexMatch()
Required. The value of the header must match the regular expression
specified in regexMatch. For regular expression grammar,
please see: en.cppreference.com/w/cpp/regex/ecmascript
For matching against a port specified in the HTTP
request, use a headerMatch with headerName set to Host
and a regular expression that satisfies the RFC2616 Host
header's port specifier.
string regex_match = 2 [(.google.api.field_behavior) = REQUIRED];
publicAuthorizationPolicy.Rule.Destination.HttpHeaderMatch.BuilderclearType()
publicAuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builderclone()
Overrides
publicAuthorizationPolicy.Rule.Destination.HttpHeaderMatchgetDefaultInstanceForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
publicStringgetHeaderName()
Required. The name of the HTTP header to match. For matching
against the HTTP request's authority, use a headerMatch
with the header name ":authority". For matching a
request's method, use the headerName ":method".
string header_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The headerName.
|
publicByteStringgetHeaderNameBytes()
Required. The name of the HTTP header to match. For matching
against the HTTP request's authority, use a headerMatch
with the header name ":authority". For matching a
request's method, use the headerName ":method".
string header_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for headerName.
|
publicStringgetRegexMatch()
Required. The value of the header must match the regular expression
specified in regexMatch. For regular expression grammar,
please see: en.cppreference.com/w/cpp/regex/ecmascript
For matching against a port specified in the HTTP
request, use a headerMatch with headerName set to Host
and a regular expression that satisfies the RFC2616 Host
header's port specifier.
string regex_match = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The regexMatch.
|
publicByteStringgetRegexMatchBytes()
Required. The value of the header must match the regular expression
specified in regexMatch. For regular expression grammar,
please see: en.cppreference.com/w/cpp/regex/ecmascript
For matching against a port specified in the HTTP
request, use a headerMatch with headerName set to Host
and a regular expression that satisfies the RFC2616 Host
header's port specifier.
string regex_match = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ByteString |
The bytes for regexMatch.
|
publicAuthorizationPolicy.Rule.Destination.HttpHeaderMatch.TypeCasegetTypeCase()
publicbooleanhasRegexMatch()
Required. The value of the header must match the regular expression
specified in regexMatch. For regular expression grammar,
please see: en.cppreference.com/w/cpp/regex/ecmascript
For matching against a port specified in the HTTP
request, use a headerMatch with headerName set to Host
and a regular expression that satisfies the RFC2616 Host
header's port specifier.
string regex_match = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the regexMatch field is set.
|
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
publicfinalbooleanisInitialized()
Overrides
publicAuthorizationPolicy.Rule.Destination.HttpHeaderMatch.BuildermergeFrom(AuthorizationPolicy.Rule.Destination.HttpHeaderMatchother)
publicAuthorizationPolicy.Rule.Destination.HttpHeaderMatch.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
publicAuthorizationPolicy.Rule.Destination.HttpHeaderMatch.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
publicfinalAuthorizationPolicy.Rule.Destination.HttpHeaderMatch.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
publicAuthorizationPolicy.Rule.Destination.HttpHeaderMatch.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
publicAuthorizationPolicy.Rule.Destination.HttpHeaderMatch.BuildersetHeaderName(Stringvalue)
Required. The name of the HTTP header to match. For matching
against the HTTP request's authority, use a headerMatch
with the header name ":authority". For matching a
request's method, use the headerName ":method".
string header_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
String
The headerName to set.
|
publicAuthorizationPolicy.Rule.Destination.HttpHeaderMatch.BuildersetHeaderNameBytes(ByteStringvalue)
Required. The name of the HTTP header to match. For matching
against the HTTP request's authority, use a headerMatch
with the header name ":authority". For matching a
request's method, use the headerName ":method".
string header_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for headerName to set.
|
publicAuthorizationPolicy.Rule.Destination.HttpHeaderMatch.BuildersetRegexMatch(Stringvalue)
Required. The value of the header must match the regular expression
specified in regexMatch. For regular expression grammar,
please see: en.cppreference.com/w/cpp/regex/ecmascript
For matching against a port specified in the HTTP
request, use a headerMatch with headerName set to Host
and a regular expression that satisfies the RFC2616 Host
header's port specifier.
string regex_match = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
String
The regexMatch to set.
|
publicAuthorizationPolicy.Rule.Destination.HttpHeaderMatch.BuildersetRegexMatchBytes(ByteStringvalue)
Required. The value of the header must match the regular expression
specified in regexMatch. For regular expression grammar,
please see: en.cppreference.com/w/cpp/regex/ecmascript
For matching against a port specified in the HTTP
request, use a headerMatch with headerName set to Host
and a regular expression that satisfies the RFC2616 Host
header's port specifier.
string regex_match = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for regexMatch to set.
|
publicAuthorizationPolicy.Rule.Destination.HttpHeaderMatch.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
publicfinalAuthorizationPolicy.Rule.Destination.HttpHeaderMatch.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides