Package com.google.cloud.compute.v1
Class SecurityPolicyAssociation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.SecurityPolicyAssociation
- All Implemented Interfaces:
SecurityPolicyAssociationOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class SecurityPolicyAssociation
extends com.google.protobuf.GeneratedMessage
implements SecurityPolicyAssociationOrBuilder
Protobuf type
google.cloud.compute.v1.SecurityPolicyAssociation- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe resource that the security policy is attached to.com.google.protobuf.ByteStringThe resource that the security policy is attached to.static SecurityPolicyAssociationstatic final com.google.protobuf.Descriptors.DescriptorOutput 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.com.google.protobuf.ProtocolStringListA 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.com.google.protobuf.ProtocolStringListA list of projects to exclude from the security policy.getName()The name for an association.com.google.protobuf.ByteStringThe name for an association.com.google.protobuf.Parser<SecurityPolicyAssociation>Output only.com.google.protobuf.ByteStringOutput only.intOutput only.com.google.protobuf.ByteStringOutput only.booleanThe resource that the security policy is attached to.booleanOutput only.inthashCode()booleanhasName()The name for an association.booleanOutput only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(SecurityPolicyAssociation prototype) protected SecurityPolicyAssociation.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static SecurityPolicyAssociationparseDelimitedFrom(InputStream input) static SecurityPolicyAssociationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SecurityPolicyAssociationparseFrom(byte[] data) static SecurityPolicyAssociationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SecurityPolicyAssociationparseFrom(com.google.protobuf.ByteString data) static SecurityPolicyAssociationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SecurityPolicyAssociationparseFrom(com.google.protobuf.CodedInputStream input) static SecurityPolicyAssociationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SecurityPolicyAssociationparseFrom(InputStream input) static SecurityPolicyAssociationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SecurityPolicyAssociationparseFrom(ByteBuffer data) static SecurityPolicyAssociationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SecurityPolicyAssociation>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ATTACHMENT_ID_FIELD_NUMBER
public static final int ATTACHMENT_ID_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
EXCLUDED_FOLDERS_FIELD_NUMBER
public static final int EXCLUDED_FOLDERS_FIELD_NUMBER- See Also:
-
EXCLUDED_PROJECTS_FIELD_NUMBER
public static final int EXCLUDED_PROJECTS_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
SECURITY_POLICY_ID_FIELD_NUMBER
public static final int SECURITY_POLICY_ID_FIELD_NUMBER- See Also:
-
SHORT_NAME_FIELD_NUMBER
public static final int SHORT_NAME_FIELD_NUMBER- See Also:
-
-
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
-
hasAttachmentId
public boolean hasAttachmentId()The resource that the security policy is attached to.
optional string attachment_id = 103768503;- Specified by:
hasAttachmentIdin interfaceSecurityPolicyAssociationOrBuilder- Returns:
- Whether the attachmentId field is set.
-
getAttachmentId
The resource that the security policy is attached to.
optional string attachment_id = 103768503;- Specified by:
getAttachmentIdin interfaceSecurityPolicyAssociationOrBuilder- Returns:
- The attachmentId.
-
getAttachmentIdBytes
public com.google.protobuf.ByteString getAttachmentIdBytes()The resource that the security policy is attached to.
optional string attachment_id = 103768503;- Specified by:
getAttachmentIdBytesin interfaceSecurityPolicyAssociationOrBuilder- Returns:
- The bytes for attachmentId.
-
hasDisplayName
public boolean hasDisplayName()Output only. [Output Only] The display name of the security policy of the association.
optional string display_name = 4473832;- Specified by:
hasDisplayNamein interfaceSecurityPolicyAssociationOrBuilder- Returns:
- Whether the displayName field is set.
-
getDisplayName
Output only. [Output Only] The display name of the security policy of the association.
optional string display_name = 4473832;- Specified by:
getDisplayNamein interfaceSecurityPolicyAssociationOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Output only. [Output Only] The display name of the security policy of the association.
optional string display_name = 4473832;- Specified by:
getDisplayNameBytesin interfaceSecurityPolicyAssociationOrBuilder- Returns:
- The bytes for displayName.
-
getExcludedFoldersList
public com.google.protobuf.ProtocolStringList getExcludedFoldersList()A list of folders to exclude from the security policy.
repeated string excluded_folders = 310611024;- Specified by:
getExcludedFoldersListin interfaceSecurityPolicyAssociationOrBuilder- Returns:
- A list containing the excludedFolders.
-
getExcludedFoldersCount
public int getExcludedFoldersCount()A list of folders to exclude from the security policy.
repeated string excluded_folders = 310611024;- Specified by:
getExcludedFoldersCountin interfaceSecurityPolicyAssociationOrBuilder- Returns:
- The count of excludedFolders.
-
getExcludedFolders
A list of folders to exclude from the security policy.
repeated string excluded_folders = 310611024;- Specified by:
getExcludedFoldersin interfaceSecurityPolicyAssociationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The excludedFolders at the given index.
-
getExcludedFoldersBytes
public com.google.protobuf.ByteString getExcludedFoldersBytes(int index) A list of folders to exclude from the security policy.
repeated string excluded_folders = 310611024;- Specified by:
getExcludedFoldersBytesin interfaceSecurityPolicyAssociationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludedFolders at the given index.
-
getExcludedProjectsList
public com.google.protobuf.ProtocolStringList getExcludedProjectsList()A list of projects to exclude from the security policy.
repeated string excluded_projects = 283070287;- Specified by:
getExcludedProjectsListin interfaceSecurityPolicyAssociationOrBuilder- Returns:
- A list containing the excludedProjects.
-
getExcludedProjectsCount
public int getExcludedProjectsCount()A list of projects to exclude from the security policy.
repeated string excluded_projects = 283070287;- Specified by:
getExcludedProjectsCountin interfaceSecurityPolicyAssociationOrBuilder- Returns:
- The count of excludedProjects.
-
getExcludedProjects
A list of projects to exclude from the security policy.
repeated string excluded_projects = 283070287;- Specified by:
getExcludedProjectsin interfaceSecurityPolicyAssociationOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The excludedProjects at the given index.
-
getExcludedProjectsBytes
public com.google.protobuf.ByteString getExcludedProjectsBytes(int index) A list of projects to exclude from the security policy.
repeated string excluded_projects = 283070287;- Specified by:
getExcludedProjectsBytesin interfaceSecurityPolicyAssociationOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludedProjects at the given index.
-
hasName
public boolean hasName()The name for an association.
optional string name = 3373707;- Specified by:
hasNamein interfaceSecurityPolicyAssociationOrBuilder- Returns:
- Whether the name field is set.
-
getName
The name for an association.
optional string name = 3373707;- Specified by:
getNamein interfaceSecurityPolicyAssociationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name for an association.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceSecurityPolicyAssociationOrBuilder- Returns:
- The bytes for name.
-
hasSecurityPolicyId
public boolean hasSecurityPolicyId()Output only. [Output Only] The security policy ID of the association.
optional string security_policy_id = 203671817;- Specified by:
hasSecurityPolicyIdin interfaceSecurityPolicyAssociationOrBuilder- Returns:
- Whether the securityPolicyId field is set.
-
getSecurityPolicyId
Output only. [Output Only] The security policy ID of the association.
optional string security_policy_id = 203671817;- Specified by:
getSecurityPolicyIdin interfaceSecurityPolicyAssociationOrBuilder- Returns:
- The securityPolicyId.
-
getSecurityPolicyIdBytes
public com.google.protobuf.ByteString getSecurityPolicyIdBytes()Output only. [Output Only] The security policy ID of the association.
optional string security_policy_id = 203671817;- Specified by:
getSecurityPolicyIdBytesin interfaceSecurityPolicyAssociationOrBuilder- Returns:
- The bytes for securityPolicyId.
-
hasShortName
public boolean hasShortName()Output only. [Output Only] The short name of the security policy of the association.
optional string short_name = 492051566;- Specified by:
hasShortNamein interfaceSecurityPolicyAssociationOrBuilder- Returns:
- Whether the shortName field is set.
-
getShortName
Output only. [Output Only] The short name of the security policy of the association.
optional string short_name = 492051566;- Specified by:
getShortNamein interfaceSecurityPolicyAssociationOrBuilder- Returns:
- The shortName.
-
getShortNameBytes
public com.google.protobuf.ByteString getShortNameBytes()Output only. [Output Only] The short name of the security policy of the association.
optional string short_name = 492051566;- Specified by:
getShortNameBytesin interfaceSecurityPolicyAssociationOrBuilder- Returns:
- The bytes for shortName.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SecurityPolicyAssociation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityPolicyAssociation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityPolicyAssociation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityPolicyAssociation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityPolicyAssociation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SecurityPolicyAssociation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SecurityPolicyAssociation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SecurityPolicyAssociation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SecurityPolicyAssociation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SecurityPolicyAssociation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SecurityPolicyAssociation.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-