Interface UrlFilterOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UrlFilter,UrlFilter.Builder
@Generated
public interface UrlFilterOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.intRequired.intRequired.getUrls(int index) Required.com.google.protobuf.ByteStringgetUrlsBytes(int index) Required.intRequired.Required.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getFilteringActionValue
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:
- The enum numeric value on the wire for filteringAction.
-
getFilteringAction
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:
- The filteringAction.
-
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:
- A list containing the urls.
-
getUrlsCount
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:
- The count of urls.
-
getUrls
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];- Parameters:
index- The index of the element to return.- Returns:
- The urls at the given index.
-
getUrlsBytes
com.google.protobuf.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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the urls at the given index.
-
hasPriority
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:
- Whether the priority field is set.
-
getPriority
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:
- The priority.
-