Package com.google.cloud.compute.v1
Interface SecurityPolicyAssociationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SecurityPolicyAssociation,SecurityPolicyAssociation.Builder
@Generated
public interface SecurityPolicyAssociationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe resource that the security policy is attached to.com.google.protobuf.ByteStringThe resource that the security policy is attached to.Output only.com.google.protobuf.ByteStringOutput only.getExcludedFolders(int index) A list of folders to exclude from the security policy.com.google.protobuf.ByteStringgetExcludedFoldersBytes(int index) A list of folders to exclude from the security policy.intA list of folders to exclude from the security policy.A list of folders to exclude from the security policy.getExcludedProjects(int index) A list of projects to exclude from the security policy.com.google.protobuf.ByteStringgetExcludedProjectsBytes(int index) A list of projects to exclude from the security policy.intA list of projects to exclude from the security policy.A list of projects to exclude from the security policy.getName()The name for an association.com.google.protobuf.ByteStringThe name for an association.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.booleanThe resource that the security policy is attached to.booleanOutput only.booleanhasName()The name for an association.booleanOutput only.booleanOutput only.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
-
hasAttachmentId
boolean hasAttachmentId()The resource that the security policy is attached to.
optional string attachment_id = 103768503;- Returns:
- Whether the attachmentId field is set.
-
getAttachmentId
String getAttachmentId()The resource that the security policy is attached to.
optional string attachment_id = 103768503;- Returns:
- The attachmentId.
-
getAttachmentIdBytes
com.google.protobuf.ByteString getAttachmentIdBytes()The resource that the security policy is attached to.
optional string attachment_id = 103768503;- Returns:
- The bytes for attachmentId.
-
hasDisplayName
boolean hasDisplayName()Output only. [Output Only] The display name of the security policy of the association.
optional string display_name = 4473832;- Returns:
- Whether the displayName field is set.
-
getDisplayName
String getDisplayName()Output only. [Output Only] The display name of the security policy of the association.
optional string display_name = 4473832;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()Output only. [Output Only] The display name of the security policy of the association.
optional string display_name = 4473832;- Returns:
- The bytes for displayName.
-
getExcludedFoldersList
A list of folders to exclude from the security policy.
repeated string excluded_folders = 310611024;- Returns:
- A list containing the excludedFolders.
-
getExcludedFoldersCount
int getExcludedFoldersCount()A list of folders to exclude from the security policy.
repeated string excluded_folders = 310611024;- Returns:
- The count of excludedFolders.
-
getExcludedFolders
A list of folders to exclude from the security policy.
repeated string excluded_folders = 310611024;- Parameters:
index- The index of the element to return.- Returns:
- The excludedFolders at the given index.
-
getExcludedFoldersBytes
com.google.protobuf.ByteString getExcludedFoldersBytes(int index) A list of folders to exclude from the security policy.
repeated string excluded_folders = 310611024;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludedFolders at the given index.
-
getExcludedProjectsList
A list of projects to exclude from the security policy.
repeated string excluded_projects = 283070287;- Returns:
- A list containing the excludedProjects.
-
getExcludedProjectsCount
int getExcludedProjectsCount()A list of projects to exclude from the security policy.
repeated string excluded_projects = 283070287;- Returns:
- The count of excludedProjects.
-
getExcludedProjects
A list of projects to exclude from the security policy.
repeated string excluded_projects = 283070287;- Parameters:
index- The index of the element to return.- Returns:
- The excludedProjects at the given index.
-
getExcludedProjectsBytes
com.google.protobuf.ByteString getExcludedProjectsBytes(int index) A list of projects to exclude from the security policy.
repeated string excluded_projects = 283070287;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludedProjects at the given index.
-
hasName
boolean hasName()The name for an association.
optional string name = 3373707;- Returns:
- Whether the name field is set.
-
getName
String getName()The name for an association.
optional string name = 3373707;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name for an association.
optional string name = 3373707;- Returns:
- The bytes for name.
-
hasSecurityPolicyId
boolean hasSecurityPolicyId()Output only. [Output Only] The security policy ID of the association.
optional string security_policy_id = 203671817;- Returns:
- Whether the securityPolicyId field is set.
-
getSecurityPolicyId
String getSecurityPolicyId()Output only. [Output Only] The security policy ID of the association.
optional string security_policy_id = 203671817;- Returns:
- The securityPolicyId.
-
getSecurityPolicyIdBytes
com.google.protobuf.ByteString getSecurityPolicyIdBytes()Output only. [Output Only] The security policy ID of the association.
optional string security_policy_id = 203671817;- Returns:
- The bytes for securityPolicyId.
-
hasShortName
boolean hasShortName()Output only. [Output Only] The short name of the security policy of the association.
optional string short_name = 492051566;- Returns:
- Whether the shortName field is set.
-
getShortName
String getShortName()Output only. [Output Only] The short name of the security policy of the association.
optional string short_name = 492051566;- Returns:
- The shortName.
-
getShortNameBytes
com.google.protobuf.ByteString getShortNameBytes()Output only. [Output Only] The short name of the security policy of the association.
optional string short_name = 492051566;- Returns:
- The bytes for shortName.
-