public interface UrlFilterOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getFilteringAction()
public abstract UrlFilter.UrlFilteringAction getFilteringAction()Required. The action taken when this filter is applied.
.google.cloud.networksecurity.v1.UrlFilter.UrlFilteringAction filtering_action = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UrlFilter.UrlFilteringAction |
The filteringAction. |
getFilteringActionValue()
public abstract int getFilteringActionValue()Required. The action taken when this filter is applied.
.google.cloud.networksecurity.v1.UrlFilter.UrlFilteringAction filtering_action = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for filteringAction. |
getPriority()
public abstract int getPriority()Required. The priority of this filter within the URL Filtering Profile. Lower integers indicate higher priorities. The priority of a filter must be unique within a URL Filtering Profile.
optional int32 priority = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The priority. |
getUrls(int index)
public abstract String getUrls(int index)Required. The list of strings that a URL must match with for this filter to be applied.
repeated string urls = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The urls at the given index. |
getUrlsBytes(int index)
public abstract ByteString getUrlsBytes(int index)Required. The list of strings that a URL must match with for this filter to be applied.
repeated string urls = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the urls at the given index. |
getUrlsCount()
public abstract int getUrlsCount()Required. The list of strings that a URL must match with for this filter to be applied.
repeated string urls = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of urls. |
getUrlsList()
public abstract List<String> getUrlsList()Required. The list of strings that a URL must match with for this filter to be applied.
repeated string urls = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the urls. |
hasPriority()
public abstract boolean hasPriority()Required. The priority of this filter within the URL Filtering Profile. Lower integers indicate higher priorities. The priority of a filter must be unique within a URL Filtering Profile.
optional int32 priority = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the priority field is set. |