public static interface AuthzPolicy.AuthzRule.HeaderMatchOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getName()
public abstract String getName()Optional. Specifies the name of the header in the request.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Optional. Specifies the name of the header in the request.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getValue()
public abstract AuthzPolicy.AuthzRule.StringMatch getValue()Optional. Specifies how the header match will be performed.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.AuthzRule.StringMatch |
The value. |
getValueOrBuilder()
public abstract AuthzPolicy.AuthzRule.StringMatchOrBuilder getValueOrBuilder()Optional. Specifies how the header match will be performed.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AuthzPolicy.AuthzRule.StringMatchOrBuilder |
|
hasValue()
public abstract boolean hasValue()Optional. Specifies how the header match will be performed.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the value field is set. |