Class AuthzPolicy.AuthzRule.To.RequestOperation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AuthzPolicy.AuthzRule.To.RequestOperation.Builder>
com.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.Builder
- All Implemented Interfaces:
AuthzPolicy.AuthzRule.To.RequestOperationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AuthzPolicy.AuthzRule.To.RequestOperation
public static final class AuthzPolicy.AuthzRule.To.RequestOperation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<AuthzPolicy.AuthzRule.To.RequestOperation.Builder>
implements AuthzPolicy.AuthzRule.To.RequestOperationOrBuilder
Describes properties of one or more targets of a request.Protobuf type
google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation-
Method Summary
Modifier and TypeMethodDescriptionaddAllHosts(Iterable<? extends AuthzPolicy.AuthzRule.StringMatch> values) Optional.addAllMethods(Iterable<String> values) Optional.addAllPaths(Iterable<? extends AuthzPolicy.AuthzRule.StringMatch> values) Optional.addHosts(int index, AuthzPolicy.AuthzRule.StringMatch value) Optional.addHosts(int index, AuthzPolicy.AuthzRule.StringMatch.Builder builderForValue) Optional.Optional.addHosts(AuthzPolicy.AuthzRule.StringMatch.Builder builderForValue) Optional.Optional.addHostsBuilder(int index) Optional.addMethods(String value) Optional.addMethodsBytes(com.google.protobuf.ByteString value) Optional.addPaths(int index, AuthzPolicy.AuthzRule.StringMatch value) Optional.addPaths(int index, AuthzPolicy.AuthzRule.StringMatch.Builder builderForValue) Optional.Optional.addPaths(AuthzPolicy.AuthzRule.StringMatch.Builder builderForValue) Optional.Optional.addPathsBuilder(int index) Optional.build()clear()Optional.Optional.clearMcp()Optional.Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.Optional.Optional.getHosts(int index) Optional.getHostsBuilder(int index) Optional.Optional.intOptional.Optional.getHostsOrBuilder(int index) Optional.List<? extends AuthzPolicy.AuthzRule.StringMatchOrBuilder>Optional.getMcp()Optional.Optional.Optional.getMethods(int index) Optional.com.google.protobuf.ByteStringgetMethodsBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.getPaths(int index) Optional.getPathsBuilder(int index) Optional.Optional.intOptional.Optional.getPathsOrBuilder(int index) Optional.List<? extends AuthzPolicy.AuthzRule.StringMatchOrBuilder>Optional.booleanOptional.booleanhasMcp()Optional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Optional.Optional.removeHosts(int index) Optional.removePaths(int index) Optional.Optional.setHeaderSet(AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.Builder builderForValue) Optional.setHosts(int index, AuthzPolicy.AuthzRule.StringMatch value) Optional.setHosts(int index, AuthzPolicy.AuthzRule.StringMatch.Builder builderForValue) Optional.Optional.setMcp(AuthzPolicy.AuthzRule.To.RequestOperation.MCP.Builder builderForValue) Optional.setMethods(int index, String value) Optional.setPaths(int index, AuthzPolicy.AuthzRule.StringMatch value) Optional.setPaths(int index, AuthzPolicy.AuthzRule.StringMatch.Builder builderForValue) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AuthzPolicy.AuthzRule.To.RequestOperation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AuthzPolicy.AuthzRule.To.RequestOperation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AuthzPolicy.AuthzRule.To.RequestOperation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AuthzPolicy.AuthzRule.To.RequestOperation.Builder>
-
mergeFrom
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder mergeFrom(AuthzPolicy.AuthzRule.To.RequestOperation other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<AuthzPolicy.AuthzRule.To.RequestOperation.Builder>
-
mergeFrom
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AuthzPolicy.AuthzRule.To.RequestOperation.Builder>- Throws:
IOException
-
hasHeaderSet
public boolean hasHeaderSet()Optional. A list of headers to match against in http header.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet header_set = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasHeaderSetin interfaceAuthzPolicy.AuthzRule.To.RequestOperationOrBuilder- Returns:
- Whether the headerSet field is set.
-
getHeaderSet
Optional. A list of headers to match against in http header.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet header_set = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHeaderSetin interfaceAuthzPolicy.AuthzRule.To.RequestOperationOrBuilder- Returns:
- The headerSet.
-
setHeaderSet
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder setHeaderSet(AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet value) Optional. A list of headers to match against in http header.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet header_set = 1 [(.google.api.field_behavior) = OPTIONAL]; -
setHeaderSet
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder setHeaderSet(AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet.Builder builderForValue) Optional. A list of headers to match against in http header.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet header_set = 1 [(.google.api.field_behavior) = OPTIONAL]; -
mergeHeaderSet
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder mergeHeaderSet(AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet value) Optional. A list of headers to match against in http header.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet header_set = 1 [(.google.api.field_behavior) = OPTIONAL]; -
clearHeaderSet
Optional. A list of headers to match against in http header.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet header_set = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getHeaderSetBuilder
Optional. A list of headers to match against in http header.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet header_set = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getHeaderSetOrBuilder
Optional. A list of headers to match against in http header.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.HeaderSet header_set = 1 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHeaderSetOrBuilderin interfaceAuthzPolicy.AuthzRule.To.RequestOperationOrBuilder
-
getHostsList
Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHostsListin interfaceAuthzPolicy.AuthzRule.To.RequestOperationOrBuilder
-
getHostsCount
public int getHostsCount()Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHostsCountin interfaceAuthzPolicy.AuthzRule.To.RequestOperationOrBuilder
-
getHosts
Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHostsin interfaceAuthzPolicy.AuthzRule.To.RequestOperationOrBuilder
-
setHosts
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder setHosts(int index, AuthzPolicy.AuthzRule.StringMatch value) Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL]; -
setHosts
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder setHosts(int index, AuthzPolicy.AuthzRule.StringMatch.Builder builderForValue) Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL]; -
addHosts
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder addHosts(AuthzPolicy.AuthzRule.StringMatch value) Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL]; -
addHosts
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder addHosts(int index, AuthzPolicy.AuthzRule.StringMatch value) Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL]; -
addHosts
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder addHosts(AuthzPolicy.AuthzRule.StringMatch.Builder builderForValue) Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL]; -
addHosts
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder addHosts(int index, AuthzPolicy.AuthzRule.StringMatch.Builder builderForValue) Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL]; -
addAllHosts
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder addAllHosts(Iterable<? extends AuthzPolicy.AuthzRule.StringMatch> values) Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL]; -
clearHosts
Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL]; -
removeHosts
Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getHostsBuilder
Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getHostsOrBuilder
Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHostsOrBuilderin interfaceAuthzPolicy.AuthzRule.To.RequestOperationOrBuilder
-
getHostsOrBuilderList
Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHostsOrBuilderListin interfaceAuthzPolicy.AuthzRule.To.RequestOperationOrBuilder
-
addHostsBuilder
Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL]; -
addHostsBuilder
Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getHostsBuilderList
Optional. A list of HTTP Hosts to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 hosts per Authorization Policy.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch hosts = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getPathsList
Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPathsListin interfaceAuthzPolicy.AuthzRule.To.RequestOperationOrBuilder
-
getPathsCount
public int getPathsCount()Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPathsCountin interfaceAuthzPolicy.AuthzRule.To.RequestOperationOrBuilder
-
getPaths
Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPathsin interfaceAuthzPolicy.AuthzRule.To.RequestOperationOrBuilder
-
setPaths
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder setPaths(int index, AuthzPolicy.AuthzRule.StringMatch value) Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL]; -
setPaths
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder setPaths(int index, AuthzPolicy.AuthzRule.StringMatch.Builder builderForValue) Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addPaths
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder addPaths(AuthzPolicy.AuthzRule.StringMatch value) Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addPaths
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder addPaths(int index, AuthzPolicy.AuthzRule.StringMatch value) Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addPaths
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder addPaths(AuthzPolicy.AuthzRule.StringMatch.Builder builderForValue) Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addPaths
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder addPaths(int index, AuthzPolicy.AuthzRule.StringMatch.Builder builderForValue) Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addAllPaths
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder addAllPaths(Iterable<? extends AuthzPolicy.AuthzRule.StringMatch> values) Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL]; -
clearPaths
Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL]; -
removePaths
Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getPathsBuilder
Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getPathsOrBuilder
Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPathsOrBuilderin interfaceAuthzPolicy.AuthzRule.To.RequestOperationOrBuilder
-
getPathsOrBuilderList
Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getPathsOrBuilderListin interfaceAuthzPolicy.AuthzRule.To.RequestOperationOrBuilder
-
addPathsBuilder
Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL]; -
addPathsBuilder
Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getPathsBuilderList
Optional. A list of paths to match against. The match can be one of exact, prefix, suffix, or contains (substring match). Matches are always case sensitive unless the ignoreCase is set. Limited to 10 paths per Authorization Policy. Note that this path match includes the query parameters. For gRPC services, this should be a fully-qualified name of the form /package.service/method.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.StringMatch paths = 3 [(.google.api.field_behavior) = OPTIONAL]; -
getMethodsList
public com.google.protobuf.ProtocolStringList getMethodsList()Optional. A list of HTTP methods to match against. Each entry must be a valid HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It only allows exact match and is always case sensitive. Limited to 10 methods per Authorization Policy.
repeated string methods = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMethodsListin interfaceAuthzPolicy.AuthzRule.To.RequestOperationOrBuilder- Returns:
- A list containing the methods.
-
getMethodsCount
public int getMethodsCount()Optional. A list of HTTP methods to match against. Each entry must be a valid HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It only allows exact match and is always case sensitive. Limited to 10 methods per Authorization Policy.
repeated string methods = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMethodsCountin interfaceAuthzPolicy.AuthzRule.To.RequestOperationOrBuilder- Returns:
- The count of methods.
-
getMethods
Optional. A list of HTTP methods to match against. Each entry must be a valid HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It only allows exact match and is always case sensitive. Limited to 10 methods per Authorization Policy.
repeated string methods = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMethodsin interfaceAuthzPolicy.AuthzRule.To.RequestOperationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The methods at the given index.
-
getMethodsBytes
public com.google.protobuf.ByteString getMethodsBytes(int index) Optional. A list of HTTP methods to match against. Each entry must be a valid HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It only allows exact match and is always case sensitive. Limited to 10 methods per Authorization Policy.
repeated string methods = 4 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMethodsBytesin interfaceAuthzPolicy.AuthzRule.To.RequestOperationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the methods at the given index.
-
setMethods
Optional. A list of HTTP methods to match against. Each entry must be a valid HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It only allows exact match and is always case sensitive. Limited to 10 methods per Authorization Policy.
repeated string methods = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The methods to set.- Returns:
- This builder for chaining.
-
addMethods
Optional. A list of HTTP methods to match against. Each entry must be a valid HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It only allows exact match and is always case sensitive. Limited to 10 methods per Authorization Policy.
repeated string methods = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The methods to add.- Returns:
- This builder for chaining.
-
addAllMethods
Optional. A list of HTTP methods to match against. Each entry must be a valid HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It only allows exact match and is always case sensitive. Limited to 10 methods per Authorization Policy.
repeated string methods = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The methods to add.- Returns:
- This builder for chaining.
-
clearMethods
Optional. A list of HTTP methods to match against. Each entry must be a valid HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It only allows exact match and is always case sensitive. Limited to 10 methods per Authorization Policy.
repeated string methods = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addMethodsBytes
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder addMethodsBytes(com.google.protobuf.ByteString value) Optional. A list of HTTP methods to match against. Each entry must be a valid HTTP method name (GET, PUT, POST, HEAD, PATCH, DELETE, OPTIONS). It only allows exact match and is always case sensitive. Limited to 10 methods per Authorization Policy.
repeated string methods = 4 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the methods to add.- Returns:
- This builder for chaining.
-
hasMcp
public boolean hasMcp()Optional. Defines the MCP protocol attributes to match on. If the MCP payload in the request body cannot be successfully parsed, the request will be denied. This field can be set only for AuthzPolicies targeting AgentGateway resources.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.MCP mcp = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasMcpin interfaceAuthzPolicy.AuthzRule.To.RequestOperationOrBuilder- Returns:
- Whether the mcp field is set.
-
getMcp
Optional. Defines the MCP protocol attributes to match on. If the MCP payload in the request body cannot be successfully parsed, the request will be denied. This field can be set only for AuthzPolicies targeting AgentGateway resources.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.MCP mcp = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMcpin interfaceAuthzPolicy.AuthzRule.To.RequestOperationOrBuilder- Returns:
- The mcp.
-
setMcp
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder setMcp(AuthzPolicy.AuthzRule.To.RequestOperation.MCP value) Optional. Defines the MCP protocol attributes to match on. If the MCP payload in the request body cannot be successfully parsed, the request will be denied. This field can be set only for AuthzPolicies targeting AgentGateway resources.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.MCP mcp = 5 [(.google.api.field_behavior) = OPTIONAL]; -
setMcp
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder setMcp(AuthzPolicy.AuthzRule.To.RequestOperation.MCP.Builder builderForValue) Optional. Defines the MCP protocol attributes to match on. If the MCP payload in the request body cannot be successfully parsed, the request will be denied. This field can be set only for AuthzPolicies targeting AgentGateway resources.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.MCP mcp = 5 [(.google.api.field_behavior) = OPTIONAL]; -
mergeMcp
public AuthzPolicy.AuthzRule.To.RequestOperation.Builder mergeMcp(AuthzPolicy.AuthzRule.To.RequestOperation.MCP value) Optional. Defines the MCP protocol attributes to match on. If the MCP payload in the request body cannot be successfully parsed, the request will be denied. This field can be set only for AuthzPolicies targeting AgentGateway resources.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.MCP mcp = 5 [(.google.api.field_behavior) = OPTIONAL]; -
clearMcp
Optional. Defines the MCP protocol attributes to match on. If the MCP payload in the request body cannot be successfully parsed, the request will be denied. This field can be set only for AuthzPolicies targeting AgentGateway resources.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.MCP mcp = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getMcpBuilder
Optional. Defines the MCP protocol attributes to match on. If the MCP payload in the request body cannot be successfully parsed, the request will be denied. This field can be set only for AuthzPolicies targeting AgentGateway resources.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.MCP mcp = 5 [(.google.api.field_behavior) = OPTIONAL]; -
getMcpOrBuilder
Optional. Defines the MCP protocol attributes to match on. If the MCP payload in the request body cannot be successfully parsed, the request will be denied. This field can be set only for AuthzPolicies targeting AgentGateway resources.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To.RequestOperation.MCP mcp = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getMcpOrBuilderin interfaceAuthzPolicy.AuthzRule.To.RequestOperationOrBuilder
-