Package com.google.cloud.compute.v1
Interface GetRuleSecurityPolicyRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GetRuleSecurityPolicyRequest,GetRuleSecurityPolicyRequest.Builder
@Generated
public interface GetRuleSecurityPolicyRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintThe priority of the rule to get from the security policy.Project ID for this request.com.google.protobuf.ByteStringProject ID for this request.Name of the security policy to which the queried rule belongs.com.google.protobuf.ByteStringName of the security policy to which the queried rule belongs.booleanThe priority of the rule to get from the security policy.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
-
hasPriority
boolean hasPriority()The priority of the rule to get from the security policy.
optional int32 priority = 445151652;- Returns:
- Whether the priority field is set.
-
getPriority
int getPriority()The priority of the rule to get from the security policy.
optional int32 priority = 445151652;- Returns:
- The priority.
-
getProject
String getProject()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The project.
-
getProjectBytes
com.google.protobuf.ByteString getProjectBytes()Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for project.
-
getSecurityPolicy
String getSecurityPolicy()Name of the security policy to which the queried rule belongs.
string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The securityPolicy.
-
getSecurityPolicyBytes
com.google.protobuf.ByteString getSecurityPolicyBytes()Name of the security policy to which the queried rule belongs.
string security_policy = 171082513 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for securityPolicy.
-