Interface AuthzPolicy.AuthzRule.FromOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AuthzPolicy.AuthzRule.From,AuthzPolicy.AuthzRule.From.Builder
- Enclosing class:
- AuthzPolicy.AuthzRule
public static interface AuthzPolicy.AuthzRule.FromOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetNotSources(int index) Optional.intOptional.Optional.getNotSourcesOrBuilder(int index) Optional.Optional.getSources(int index) Optional.intOptional.Optional.getSourcesOrBuilder(int index) Optional.Optional.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
-
getSourcesList
List<AuthzPolicy.AuthzRule.From.RequestSource> getSourcesList()Optional. Describes the properties of a request's sources. At least one of sources or notSources must be specified. Limited to 1 source. A match occurs when ANY source (in sources or notSources) matches the request. Within a single source, the match follows AND semantics across fields and OR semantics within a single field, i.e. a match occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getSources
Optional. Describes the properties of a request's sources. At least one of sources or notSources must be specified. Limited to 1 source. A match occurs when ANY source (in sources or notSources) matches the request. Within a single source, the match follows AND semantics across fields and OR semantics within a single field, i.e. a match occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getSourcesCount
int getSourcesCount()Optional. Describes the properties of a request's sources. At least one of sources or notSources must be specified. Limited to 1 source. A match occurs when ANY source (in sources or notSources) matches the request. Within a single source, the match follows AND semantics across fields and OR semantics within a single field, i.e. a match occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getSourcesOrBuilderList
List<? extends AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder> getSourcesOrBuilderList()Optional. Describes the properties of a request's sources. At least one of sources or notSources must be specified. Limited to 1 source. A match occurs when ANY source (in sources or notSources) matches the request. Within a single source, the match follows AND semantics across fields and OR semantics within a single field, i.e. a match occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getSourcesOrBuilder
Optional. Describes the properties of a request's sources. At least one of sources or notSources must be specified. Limited to 1 source. A match occurs when ANY source (in sources or notSources) matches the request. Within a single source, the match follows AND semantics across fields and OR semantics within a single field, i.e. a match occurs when ANY principal matches AND ANY ipBlocks match.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource sources = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getNotSourcesList
List<AuthzPolicy.AuthzRule.From.RequestSource> getNotSourcesList()Optional. Describes the negated properties of request sources. Matches requests from sources that do not match the criteria specified in this field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getNotSources
Optional. Describes the negated properties of request sources. Matches requests from sources that do not match the criteria specified in this field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getNotSourcesCount
int getNotSourcesCount()Optional. Describes the negated properties of request sources. Matches requests from sources that do not match the criteria specified in this field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getNotSourcesOrBuilderList
List<? extends AuthzPolicy.AuthzRule.From.RequestSourceOrBuilder> getNotSourcesOrBuilderList()Optional. Describes the negated properties of request sources. Matches requests from sources that do not match the criteria specified in this field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getNotSourcesOrBuilder
Optional. Describes the negated properties of request sources. Matches requests from sources that do not match the criteria specified in this field. At least one of sources or notSources must be specified.
repeated .google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From.RequestSource not_sources = 2 [(.google.api.field_behavior) = OPTIONAL];
-