public final class SecurityPolicyAssociation extends com.google.protobuf.GeneratedMessageV3 implements SecurityPolicyAssociationOrBuilder
Protobuf type
google.cloud.compute.v1.SecurityPolicyAssociation| Modifier and Type | Class and Description |
|---|---|
static class |
SecurityPolicyAssociation.Builder
Protobuf type
google.cloud.compute.v1.SecurityPolicyAssociation |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ATTACHMENT_ID_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
EXCLUDED_FOLDERS_FIELD_NUMBER |
static int |
EXCLUDED_PROJECTS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SECURITY_POLICY_ID_FIELD_NUMBER |
static int |
SHORT_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAttachmentId()
The resource that the security policy is attached to.
|
com.google.protobuf.ByteString |
getAttachmentIdBytes()
The resource that the security policy is attached to.
|
static SecurityPolicyAssociation |
getDefaultInstance() |
SecurityPolicyAssociation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
[Output Only] The display name of the security policy of the association.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
[Output Only] The display name of the security policy of the association.
|
String |
getExcludedFolders(int index)
A list of folders to exclude from the security policy.
|
com.google.protobuf.ByteString |
getExcludedFoldersBytes(int index)
A list of folders to exclude from the security policy.
|
int |
getExcludedFoldersCount()
A list of folders to exclude from the security policy.
|
com.google.protobuf.ProtocolStringList |
getExcludedFoldersList()
A list of folders to exclude from the security policy.
|
String |
getExcludedProjects(int index)
A list of projects to exclude from the security policy.
|
com.google.protobuf.ByteString |
getExcludedProjectsBytes(int index)
A list of projects to exclude from the security policy.
|
int |
getExcludedProjectsCount()
A list of projects to exclude from the security policy.
|
com.google.protobuf.ProtocolStringList |
getExcludedProjectsList()
A list of projects to exclude from the security policy.
|
String |
getName()
The name for an association.
|
com.google.protobuf.ByteString |
getNameBytes()
The name for an association.
|
com.google.protobuf.Parser<SecurityPolicyAssociation> |
getParserForType() |
String |
getSecurityPolicyId()
[Output Only] The security policy ID of the association.
|
com.google.protobuf.ByteString |
getSecurityPolicyIdBytes()
[Output Only] The security policy ID of the association.
|
int |
getSerializedSize() |
String |
getShortName()
[Output Only] The short name of the security policy of the association.
|
com.google.protobuf.ByteString |
getShortNameBytes()
[Output Only] The short name of the security policy of the association.
|
boolean |
hasAttachmentId()
The resource that the security policy is attached to.
|
boolean |
hasDisplayName()
[Output Only] The display name of the security policy of the association.
|
int |
hashCode() |
boolean |
hasName()
The name for an association.
|
boolean |
hasSecurityPolicyId()
[Output Only] The security policy ID of the association.
|
boolean |
hasShortName()
[Output Only] The short name of the security policy of the association.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SecurityPolicyAssociation.Builder |
newBuilder() |
static SecurityPolicyAssociation.Builder |
newBuilder(SecurityPolicyAssociation prototype) |
SecurityPolicyAssociation.Builder |
newBuilderForType() |
protected SecurityPolicyAssociation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SecurityPolicyAssociation |
parseDelimitedFrom(InputStream input) |
static SecurityPolicyAssociation |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SecurityPolicyAssociation |
parseFrom(byte[] data) |
static SecurityPolicyAssociation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SecurityPolicyAssociation |
parseFrom(ByteBuffer data) |
static SecurityPolicyAssociation |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SecurityPolicyAssociation |
parseFrom(com.google.protobuf.ByteString data) |
static SecurityPolicyAssociation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SecurityPolicyAssociation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SecurityPolicyAssociation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SecurityPolicyAssociation |
parseFrom(InputStream input) |
static SecurityPolicyAssociation |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SecurityPolicyAssociation> |
parser() |
SecurityPolicyAssociation.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ATTACHMENT_ID_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int EXCLUDED_FOLDERS_FIELD_NUMBER
public static final int EXCLUDED_PROJECTS_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int SECURITY_POLICY_ID_FIELD_NUMBER
public static final int SHORT_NAME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasAttachmentId()
The resource that the security policy is attached to.
optional string attachment_id = 103768503;hasAttachmentId in interface SecurityPolicyAssociationOrBuilderpublic String getAttachmentId()
The resource that the security policy is attached to.
optional string attachment_id = 103768503;getAttachmentId in interface SecurityPolicyAssociationOrBuilderpublic com.google.protobuf.ByteString getAttachmentIdBytes()
The resource that the security policy is attached to.
optional string attachment_id = 103768503;getAttachmentIdBytes in interface SecurityPolicyAssociationOrBuilderpublic boolean hasDisplayName()
[Output Only] The display name of the security policy of the association.
optional string display_name = 4473832;hasDisplayName in interface SecurityPolicyAssociationOrBuilderpublic String getDisplayName()
[Output Only] The display name of the security policy of the association.
optional string display_name = 4473832;getDisplayName in interface SecurityPolicyAssociationOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
[Output Only] The display name of the security policy of the association.
optional string display_name = 4473832;getDisplayNameBytes in interface SecurityPolicyAssociationOrBuilderpublic com.google.protobuf.ProtocolStringList getExcludedFoldersList()
A list of folders to exclude from the security policy.
repeated string excluded_folders = 310611024;getExcludedFoldersList in interface SecurityPolicyAssociationOrBuilderpublic int getExcludedFoldersCount()
A list of folders to exclude from the security policy.
repeated string excluded_folders = 310611024;getExcludedFoldersCount in interface SecurityPolicyAssociationOrBuilderpublic String getExcludedFolders(int index)
A list of folders to exclude from the security policy.
repeated string excluded_folders = 310611024;getExcludedFolders in interface SecurityPolicyAssociationOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getExcludedFoldersBytes(int index)
A list of folders to exclude from the security policy.
repeated string excluded_folders = 310611024;getExcludedFoldersBytes in interface SecurityPolicyAssociationOrBuilderindex - The index of the value to return.public com.google.protobuf.ProtocolStringList getExcludedProjectsList()
A list of projects to exclude from the security policy.
repeated string excluded_projects = 283070287;getExcludedProjectsList in interface SecurityPolicyAssociationOrBuilderpublic int getExcludedProjectsCount()
A list of projects to exclude from the security policy.
repeated string excluded_projects = 283070287;getExcludedProjectsCount in interface SecurityPolicyAssociationOrBuilderpublic String getExcludedProjects(int index)
A list of projects to exclude from the security policy.
repeated string excluded_projects = 283070287;getExcludedProjects in interface SecurityPolicyAssociationOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getExcludedProjectsBytes(int index)
A list of projects to exclude from the security policy.
repeated string excluded_projects = 283070287;getExcludedProjectsBytes in interface SecurityPolicyAssociationOrBuilderindex - The index of the value to return.public boolean hasName()
The name for an association.
optional string name = 3373707;hasName in interface SecurityPolicyAssociationOrBuilderpublic String getName()
The name for an association.
optional string name = 3373707;getName in interface SecurityPolicyAssociationOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name for an association.
optional string name = 3373707;getNameBytes in interface SecurityPolicyAssociationOrBuilderpublic boolean hasSecurityPolicyId()
[Output Only] The security policy ID of the association.
optional string security_policy_id = 203671817;hasSecurityPolicyId in interface SecurityPolicyAssociationOrBuilderpublic String getSecurityPolicyId()
[Output Only] The security policy ID of the association.
optional string security_policy_id = 203671817;getSecurityPolicyId in interface SecurityPolicyAssociationOrBuilderpublic com.google.protobuf.ByteString getSecurityPolicyIdBytes()
[Output Only] The security policy ID of the association.
optional string security_policy_id = 203671817;getSecurityPolicyIdBytes in interface SecurityPolicyAssociationOrBuilderpublic boolean hasShortName()
[Output Only] The short name of the security policy of the association.
optional string short_name = 492051566;hasShortName in interface SecurityPolicyAssociationOrBuilderpublic String getShortName()
[Output Only] The short name of the security policy of the association.
optional string short_name = 492051566;getShortName in interface SecurityPolicyAssociationOrBuilderpublic com.google.protobuf.ByteString getShortNameBytes()
[Output Only] The short name of the security policy of the association.
optional string short_name = 492051566;getShortNameBytes in interface SecurityPolicyAssociationOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SecurityPolicyAssociation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityPolicyAssociation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityPolicyAssociation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityPolicyAssociation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityPolicyAssociation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityPolicyAssociation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SecurityPolicyAssociation parseFrom(InputStream input) throws IOException
IOExceptionpublic static SecurityPolicyAssociation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SecurityPolicyAssociation parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SecurityPolicyAssociation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SecurityPolicyAssociation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SecurityPolicyAssociation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SecurityPolicyAssociation.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SecurityPolicyAssociation.Builder newBuilder()
public static SecurityPolicyAssociation.Builder newBuilder(SecurityPolicyAssociation prototype)
public SecurityPolicyAssociation.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SecurityPolicyAssociation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SecurityPolicyAssociation getDefaultInstance()
public static com.google.protobuf.Parser<SecurityPolicyAssociation> parser()
public com.google.protobuf.Parser<SecurityPolicyAssociation> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SecurityPolicyAssociation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.