- 1.86.0 (latest)
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class SecurityPolicyAssociation.Builder extends GeneratedMessageV3.Builder<SecurityPolicyAssociation.Builder> implements SecurityPolicyAssociationOrBuilder Protobuf type google.cloud.compute.v1.SecurityPolicyAssociation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SecurityPolicyAssociation.BuilderImplements
SecurityPolicyAssociationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllExcludedFolders(Iterable<String> values)
public SecurityPolicyAssociation.Builder addAllExcludedFolders(Iterable<String> values)A list of folders to exclude from the security policy.
repeated string excluded_folders = 310611024;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The excludedFolders to add. |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
addAllExcludedProjects(Iterable<String> values)
public SecurityPolicyAssociation.Builder addAllExcludedProjects(Iterable<String> values)A list of projects to exclude from the security policy.
repeated string excluded_projects = 283070287;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The excludedProjects to add. |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
addExcludedFolders(String value)
public SecurityPolicyAssociation.Builder addExcludedFolders(String value)A list of folders to exclude from the security policy.
repeated string excluded_folders = 310611024;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe excludedFolders to add. |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
addExcludedFoldersBytes(ByteString value)
public SecurityPolicyAssociation.Builder addExcludedFoldersBytes(ByteString value)A list of folders to exclude from the security policy.
repeated string excluded_folders = 310611024;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the excludedFolders to add. |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
addExcludedProjects(String value)
public SecurityPolicyAssociation.Builder addExcludedProjects(String value)A list of projects to exclude from the security policy.
repeated string excluded_projects = 283070287;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe excludedProjects to add. |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
addExcludedProjectsBytes(ByteString value)
public SecurityPolicyAssociation.Builder addExcludedProjectsBytes(ByteString value)A list of projects to exclude from the security policy.
repeated string excluded_projects = 283070287;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the excludedProjects to add. |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SecurityPolicyAssociation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
|
build()
public SecurityPolicyAssociation build()| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation |
|
buildPartial()
public SecurityPolicyAssociation buildPartial()| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation |
|
clear()
public SecurityPolicyAssociation.Builder clear()| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
|
clearAttachmentId()
public SecurityPolicyAssociation.Builder clearAttachmentId()The resource that the security policy is attached to.
optional string attachment_id = 103768503;
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
clearDisplayName()
public SecurityPolicyAssociation.Builder clearDisplayName()[Output Only] The display name of the security policy of the association.
optional string display_name = 4473832;
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
clearExcludedFolders()
public SecurityPolicyAssociation.Builder clearExcludedFolders()A list of folders to exclude from the security policy.
repeated string excluded_folders = 310611024;
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
clearExcludedProjects()
public SecurityPolicyAssociation.Builder clearExcludedProjects()A list of projects to exclude from the security policy.
repeated string excluded_projects = 283070287;
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SecurityPolicyAssociation.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
|
clearName()
public SecurityPolicyAssociation.Builder clearName()The name for an association.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SecurityPolicyAssociation.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
|
clearSecurityPolicyId()
public SecurityPolicyAssociation.Builder clearSecurityPolicyId()[Output Only] The security policy ID of the association.
optional string security_policy_id = 203671817;
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
clearShortName()
public SecurityPolicyAssociation.Builder clearShortName()[Output Only] The short name of the security policy of the association.
optional string short_name = 492051566;
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
clone()
public SecurityPolicyAssociation.Builder clone()| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
|
getAttachmentId()
public String getAttachmentId()The resource that the security policy is attached to.
optional string attachment_id = 103768503;
| Returns | |
|---|---|
| Type | Description |
String |
The attachmentId. |
getAttachmentIdBytes()
public ByteString getAttachmentIdBytes()The resource that the security policy is attached to.
optional string attachment_id = 103768503;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for attachmentId. |
getDefaultInstanceForType()
public SecurityPolicyAssociation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()[Output Only] The display name of the security policy of the association.
optional string display_name = 4473832;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()[Output Only] The display name of the security policy of the association.
optional string display_name = 4473832;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getExcludedFolders(int index)
public String getExcludedFolders(int index)A list of folders to exclude from the security policy.
repeated string excluded_folders = 310611024;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The excludedFolders at the given index. |
getExcludedFoldersBytes(int index)
public ByteString getExcludedFoldersBytes(int index)A list of folders to exclude from the security policy.
repeated string excluded_folders = 310611024;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the excludedFolders at the given index. |
getExcludedFoldersCount()
public int getExcludedFoldersCount()A list of folders to exclude from the security policy.
repeated string excluded_folders = 310611024;
| Returns | |
|---|---|
| Type | Description |
int |
The count of excludedFolders. |
getExcludedFoldersList()
public ProtocolStringList getExcludedFoldersList()A list of folders to exclude from the security policy.
repeated string excluded_folders = 310611024;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the excludedFolders. |
getExcludedProjects(int index)
public String getExcludedProjects(int index)A list of projects to exclude from the security policy.
repeated string excluded_projects = 283070287;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The excludedProjects at the given index. |
getExcludedProjectsBytes(int index)
public ByteString getExcludedProjectsBytes(int index)A list of projects to exclude from the security policy.
repeated string excluded_projects = 283070287;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the excludedProjects at the given index. |
getExcludedProjectsCount()
public int getExcludedProjectsCount()A list of projects to exclude from the security policy.
repeated string excluded_projects = 283070287;
| Returns | |
|---|---|
| Type | Description |
int |
The count of excludedProjects. |
getExcludedProjectsList()
public ProtocolStringList getExcludedProjectsList()A list of projects to exclude from the security policy.
repeated string excluded_projects = 283070287;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the excludedProjects. |
getName()
public String getName()The name for an association.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The name for an association.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getSecurityPolicyId()
public String getSecurityPolicyId()[Output Only] The security policy ID of the association.
optional string security_policy_id = 203671817;
| Returns | |
|---|---|
| Type | Description |
String |
The securityPolicyId. |
getSecurityPolicyIdBytes()
public ByteString getSecurityPolicyIdBytes()[Output Only] The security policy ID of the association.
optional string security_policy_id = 203671817;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for securityPolicyId. |
getShortName()
public String getShortName()[Output Only] The short name of the security policy of the association.
optional string short_name = 492051566;
| Returns | |
|---|---|
| Type | Description |
String |
The shortName. |
getShortNameBytes()
public ByteString getShortNameBytes()[Output Only] The short name of the security policy of the association.
optional string short_name = 492051566;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for shortName. |
hasAttachmentId()
public boolean hasAttachmentId()The resource that the security policy is attached to.
optional string attachment_id = 103768503;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the attachmentId field is set. |
hasDisplayName()
public boolean hasDisplayName()[Output Only] The display name of the security policy of the association.
optional string display_name = 4473832;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the displayName field is set. |
hasName()
public boolean hasName()The name for an association.
optional string name = 3373707;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the name field is set. |
hasSecurityPolicyId()
public boolean hasSecurityPolicyId()[Output Only] The security policy ID of the association.
optional string security_policy_id = 203671817;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the securityPolicyId field is set. |
hasShortName()
public boolean hasShortName()[Output Only] The short name of the security policy of the association.
optional string short_name = 492051566;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the shortName field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SecurityPolicyAssociation other)
public SecurityPolicyAssociation.Builder mergeFrom(SecurityPolicyAssociation other)| Parameter | |
|---|---|
| Name | Description |
other |
SecurityPolicyAssociation |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SecurityPolicyAssociation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SecurityPolicyAssociation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyAssociation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
|
setAttachmentId(String value)
public SecurityPolicyAssociation.Builder setAttachmentId(String value)The resource that the security policy is attached to.
optional string attachment_id = 103768503;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe attachmentId to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
setAttachmentIdBytes(ByteString value)
public SecurityPolicyAssociation.Builder setAttachmentIdBytes(ByteString value)The resource that the security policy is attached to.
optional string attachment_id = 103768503;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for attachmentId to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
setDisplayName(String value)
public SecurityPolicyAssociation.Builder setDisplayName(String value)[Output Only] The display name of the security policy of the association.
optional string display_name = 4473832;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public SecurityPolicyAssociation.Builder setDisplayNameBytes(ByteString value)[Output Only] The display name of the security policy of the association.
optional string display_name = 4473832;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
setExcludedFolders(int index, String value)
public SecurityPolicyAssociation.Builder setExcludedFolders(int index, String value)A list of folders to exclude from the security policy.
repeated string excluded_folders = 310611024;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe excludedFolders to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
setExcludedProjects(int index, String value)
public SecurityPolicyAssociation.Builder setExcludedProjects(int index, String value)A list of projects to exclude from the security policy.
repeated string excluded_projects = 283070287;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe excludedProjects to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SecurityPolicyAssociation.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
|
setName(String value)
public SecurityPolicyAssociation.Builder setName(String value)The name for an association.
optional string name = 3373707;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public SecurityPolicyAssociation.Builder setNameBytes(ByteString value)The name for an association.
optional string name = 3373707;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecurityPolicyAssociation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
|
setSecurityPolicyId(String value)
public SecurityPolicyAssociation.Builder setSecurityPolicyId(String value)[Output Only] The security policy ID of the association.
optional string security_policy_id = 203671817;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe securityPolicyId to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
setSecurityPolicyIdBytes(ByteString value)
public SecurityPolicyAssociation.Builder setSecurityPolicyIdBytes(ByteString value)[Output Only] The security policy ID of the association.
optional string security_policy_id = 203671817;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for securityPolicyId to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
setShortName(String value)
public SecurityPolicyAssociation.Builder setShortName(String value)[Output Only] The short name of the security policy of the association.
optional string short_name = 492051566;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe shortName to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
setShortNameBytes(ByteString value)
public SecurityPolicyAssociation.Builder setShortNameBytes(ByteString value)[Output Only] The short name of the security policy of the association.
optional string short_name = 492051566;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for shortName to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyAssociation.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyAssociation.Builder |
|