- 0.86.0 (latest)
- 0.85.0
- 0.83.0
- 0.81.0
- 0.79.0
- 0.78.0
- 0.77.0
- 0.76.0
- 0.75.0
- 0.73.0
- 0.71.0
- 0.70.0
- 0.67.0
- 0.66.0
- 0.65.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.4
- 0.5.1
- 0.4.4
public static final class AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder extends GeneratedMessage.Builder<AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder> implements AuthorizationPolicy.Rule.Destination.HttpHeaderMatchOrBuilderSpecification of HTTP header match attributes.
Protobuf type
google.cloud.networksecurity.v1.AuthorizationPolicy.Rule.Destination.HttpHeaderMatch
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AuthorizationPolicy.Rule.Destination.HttpHeaderMatch build()| Returns | |
|---|---|
| Type | Description |
AuthorizationPolicy.Rule.Destination.HttpHeaderMatch |
|
buildPartial()
public AuthorizationPolicy.Rule.Destination.HttpHeaderMatch buildPartial()| Returns | |
|---|---|
| Type | Description |
AuthorizationPolicy.Rule.Destination.HttpHeaderMatch |
|
clear()
public AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder clear()| Returns | |
|---|---|
| Type | Description |
AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder |
|
clearHeaderName()
public AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder clearHeaderName()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 |
AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder |
This builder for chaining. |
clearRegexMatch()
public AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder clearRegexMatch()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 |
AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder |
This builder for chaining. |
clearType()
public AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder clearType()| Returns | |
|---|---|
| Type | Description |
AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder |
|
getDefaultInstanceForType()
public AuthorizationPolicy.Rule.Destination.HttpHeaderMatch getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AuthorizationPolicy.Rule.Destination.HttpHeaderMatch |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getHeaderName()
public String getHeaderName()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. |
getHeaderNameBytes()
public ByteString getHeaderNameBytes()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. |
getRegexMatch()
public String getRegexMatch()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. |
getRegexMatchBytes()
public ByteString getRegexMatchBytes()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. |
getTypeCase()
public AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.TypeCase getTypeCase()| Returns | |
|---|---|
| Type | Description |
AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.TypeCase |
|
hasRegexMatch()
public boolean hasRegexMatch()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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AuthorizationPolicy.Rule.Destination.HttpHeaderMatch other)
public AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder mergeFrom(AuthorizationPolicy.Rule.Destination.HttpHeaderMatch other)| Parameter | |
|---|---|
| Name | Description |
other |
AuthorizationPolicy.Rule.Destination.HttpHeaderMatch |
| Returns | |
|---|---|
| Type | Description |
AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder |
|
setHeaderName(String value)
public AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder setHeaderName(String value)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 |
StringThe headerName to set. |
| Returns | |
|---|---|
| Type | Description |
AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder |
This builder for chaining. |
setHeaderNameBytes(ByteString value)
public AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder setHeaderNameBytes(ByteString value)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 |
ByteStringThe bytes for headerName to set. |
| Returns | |
|---|---|
| Type | Description |
AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder |
This builder for chaining. |
setRegexMatch(String value)
public AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder setRegexMatch(String value)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 |
StringThe regexMatch to set. |
| Returns | |
|---|---|
| Type | Description |
AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder |
This builder for chaining. |
setRegexMatchBytes(ByteString value)
public AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder setRegexMatchBytes(ByteString value)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 |
ByteStringThe bytes for regexMatch to set. |
| Returns | |
|---|---|
| Type | Description |
AuthorizationPolicy.Rule.Destination.HttpHeaderMatch.Builder |
This builder for chaining. |