Interface AuthzPolicy.AuthzRuleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AuthzPolicy.AuthzRule,AuthzPolicy.AuthzRule.Builder
- Enclosing class:
- AuthzPolicy
public static interface AuthzPolicy.AuthzRuleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
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
-
hasFrom
boolean hasFrom()Optional. Describes properties of a source of a request.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From from = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the from field is set.
-
getFrom
AuthzPolicy.AuthzRule.From getFrom()Optional. Describes properties of a source of a request.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From from = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The from.
-
getFromOrBuilder
AuthzPolicy.AuthzRule.FromOrBuilder getFromOrBuilder()Optional. Describes properties of a source of a request.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.From from = 1 [(.google.api.field_behavior) = OPTIONAL]; -
hasTo
boolean hasTo()Optional. Describes properties of a target of a request.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To to = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the to field is set.
-
getTo
AuthzPolicy.AuthzRule.To getTo()Optional. Describes properties of a target of a request.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To to = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The to.
-
getToOrBuilder
AuthzPolicy.AuthzRule.ToOrBuilder getToOrBuilder()Optional. Describes properties of a target of a request.
.google.cloud.networksecurity.v1.AuthzPolicy.AuthzRule.To to = 2 [(.google.api.field_behavior) = OPTIONAL]; -
getWhen
String getWhen()Optional. CEL expression that describes the conditions to be satisfied for the action. The result of the CEL expression is ANDed with the from and to. Refer to the CEL language reference for a list of available attributes.
string when = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The when.
-
getWhenBytes
com.google.protobuf.ByteString getWhenBytes()Optional. CEL expression that describes the conditions to be satisfied for the action. The result of the CEL expression is ANDed with the from and to. Refer to the CEL language reference for a list of available attributes.
string when = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for when.
-