Package com.google.cloud.compute.v1
Class FirewallPolicyAssociation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyAssociation.Builder>
-
- com.google.cloud.compute.v1.FirewallPolicyAssociation.Builder
-
- All Implemented Interfaces:
FirewallPolicyAssociationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FirewallPolicyAssociation
public static final class FirewallPolicyAssociation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyAssociation.Builder> implements FirewallPolicyAssociationOrBuilder
Protobuf typegoogle.cloud.compute.v1.FirewallPolicyAssociation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FirewallPolicyAssociation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FirewallPolicyAssociationbuild()FirewallPolicyAssociationbuildPartial()FirewallPolicyAssociation.Builderclear()FirewallPolicyAssociation.BuilderclearAttachmentTarget()The target that the firewall policy is attached to.FirewallPolicyAssociation.BuilderclearDisplayName()[Output Only] Deprecated, please use short name instead.FirewallPolicyAssociation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)FirewallPolicyAssociation.BuilderclearFirewallPolicyId()[Output Only] The firewall policy ID of the association.FirewallPolicyAssociation.BuilderclearName()The name for an association.FirewallPolicyAssociation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)FirewallPolicyAssociation.BuilderclearShortName()[Output Only] The short name of the firewall policy of the association.FirewallPolicyAssociation.Builderclone()StringgetAttachmentTarget()The target that the firewall policy is attached to.com.google.protobuf.ByteStringgetAttachmentTargetBytes()The target that the firewall policy is attached to.FirewallPolicyAssociationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()[Output Only] Deprecated, please use short name instead.com.google.protobuf.ByteStringgetDisplayNameBytes()[Output Only] Deprecated, please use short name instead.StringgetFirewallPolicyId()[Output Only] The firewall policy ID of the association.com.google.protobuf.ByteStringgetFirewallPolicyIdBytes()[Output Only] The firewall policy ID of the association.StringgetName()The name for an association.com.google.protobuf.ByteStringgetNameBytes()The name for an association.StringgetShortName()[Output Only] The short name of the firewall policy of the association.com.google.protobuf.ByteStringgetShortNameBytes()[Output Only] The short name of the firewall policy of the association.booleanhasAttachmentTarget()The target that the firewall policy is attached to.booleanhasDisplayName()[Output Only] Deprecated, please use short name instead.booleanhasFirewallPolicyId()[Output Only] The firewall policy ID of the association.booleanhasName()The name for an association.booleanhasShortName()[Output Only] The short name of the firewall policy of the association.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()FirewallPolicyAssociation.BuildermergeFrom(FirewallPolicyAssociation other)FirewallPolicyAssociation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)FirewallPolicyAssociation.BuildermergeFrom(com.google.protobuf.Message other)FirewallPolicyAssociation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)FirewallPolicyAssociation.BuildersetAttachmentTarget(String value)The target that the firewall policy is attached to.FirewallPolicyAssociation.BuildersetAttachmentTargetBytes(com.google.protobuf.ByteString value)The target that the firewall policy is attached to.FirewallPolicyAssociation.BuildersetDisplayName(String value)[Output Only] Deprecated, please use short name instead.FirewallPolicyAssociation.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)[Output Only] Deprecated, please use short name instead.FirewallPolicyAssociation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FirewallPolicyAssociation.BuildersetFirewallPolicyId(String value)[Output Only] The firewall policy ID of the association.FirewallPolicyAssociation.BuildersetFirewallPolicyIdBytes(com.google.protobuf.ByteString value)[Output Only] The firewall policy ID of the association.FirewallPolicyAssociation.BuildersetName(String value)The name for an association.FirewallPolicyAssociation.BuildersetNameBytes(com.google.protobuf.ByteString value)The name for an association.FirewallPolicyAssociation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)FirewallPolicyAssociation.BuildersetShortName(String value)[Output Only] The short name of the firewall policy of the association.FirewallPolicyAssociation.BuildersetShortNameBytes(com.google.protobuf.ByteString value)[Output Only] The short name of the firewall policy of the association.FirewallPolicyAssociation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyAssociation.Builder>
-
clear
public FirewallPolicyAssociation.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyAssociation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyAssociation.Builder>
-
getDefaultInstanceForType
public FirewallPolicyAssociation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public FirewallPolicyAssociation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FirewallPolicyAssociation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FirewallPolicyAssociation.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyAssociation.Builder>
-
setField
public FirewallPolicyAssociation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyAssociation.Builder>
-
clearField
public FirewallPolicyAssociation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyAssociation.Builder>
-
clearOneof
public FirewallPolicyAssociation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyAssociation.Builder>
-
setRepeatedField
public FirewallPolicyAssociation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyAssociation.Builder>
-
addRepeatedField
public FirewallPolicyAssociation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyAssociation.Builder>
-
mergeFrom
public FirewallPolicyAssociation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FirewallPolicyAssociation.Builder>
-
mergeFrom
public FirewallPolicyAssociation.Builder mergeFrom(FirewallPolicyAssociation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyAssociation.Builder>
-
mergeFrom
public FirewallPolicyAssociation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FirewallPolicyAssociation.Builder>- Throws:
IOException
-
hasAttachmentTarget
public boolean hasAttachmentTarget()
The target that the firewall policy is attached to.
optional string attachment_target = 175773741;- Specified by:
hasAttachmentTargetin interfaceFirewallPolicyAssociationOrBuilder- Returns:
- Whether the attachmentTarget field is set.
-
getAttachmentTarget
public String getAttachmentTarget()
The target that the firewall policy is attached to.
optional string attachment_target = 175773741;- Specified by:
getAttachmentTargetin interfaceFirewallPolicyAssociationOrBuilder- Returns:
- The attachmentTarget.
-
getAttachmentTargetBytes
public com.google.protobuf.ByteString getAttachmentTargetBytes()
The target that the firewall policy is attached to.
optional string attachment_target = 175773741;- Specified by:
getAttachmentTargetBytesin interfaceFirewallPolicyAssociationOrBuilder- Returns:
- The bytes for attachmentTarget.
-
setAttachmentTarget
public FirewallPolicyAssociation.Builder setAttachmentTarget(String value)
The target that the firewall policy is attached to.
optional string attachment_target = 175773741;- Parameters:
value- The attachmentTarget to set.- Returns:
- This builder for chaining.
-
clearAttachmentTarget
public FirewallPolicyAssociation.Builder clearAttachmentTarget()
The target that the firewall policy is attached to.
optional string attachment_target = 175773741;- Returns:
- This builder for chaining.
-
setAttachmentTargetBytes
public FirewallPolicyAssociation.Builder setAttachmentTargetBytes(com.google.protobuf.ByteString value)
The target that the firewall policy is attached to.
optional string attachment_target = 175773741;- Parameters:
value- The bytes for attachmentTarget to set.- Returns:
- This builder for chaining.
-
hasDisplayName
public boolean hasDisplayName()
[Output Only] Deprecated, please use short name instead. The display name of the firewall policy of the association.
optional string display_name = 4473832;- Specified by:
hasDisplayNamein interfaceFirewallPolicyAssociationOrBuilder- Returns:
- Whether the displayName field is set.
-
getDisplayName
public String getDisplayName()
[Output Only] Deprecated, please use short name instead. The display name of the firewall policy of the association.
optional string display_name = 4473832;- Specified by:
getDisplayNamein interfaceFirewallPolicyAssociationOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
[Output Only] Deprecated, please use short name instead. The display name of the firewall policy of the association.
optional string display_name = 4473832;- Specified by:
getDisplayNameBytesin interfaceFirewallPolicyAssociationOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
public FirewallPolicyAssociation.Builder setDisplayName(String value)
[Output Only] Deprecated, please use short name instead. The display name of the firewall policy of the association.
optional string display_name = 4473832;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public FirewallPolicyAssociation.Builder clearDisplayName()
[Output Only] Deprecated, please use short name instead. The display name of the firewall policy of the association.
optional string display_name = 4473832;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public FirewallPolicyAssociation.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
[Output Only] Deprecated, please use short name instead. The display name of the firewall policy of the association.
optional string display_name = 4473832;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasFirewallPolicyId
public boolean hasFirewallPolicyId()
[Output Only] The firewall policy ID of the association.
optional string firewall_policy_id = 357211849;- Specified by:
hasFirewallPolicyIdin interfaceFirewallPolicyAssociationOrBuilder- Returns:
- Whether the firewallPolicyId field is set.
-
getFirewallPolicyId
public String getFirewallPolicyId()
[Output Only] The firewall policy ID of the association.
optional string firewall_policy_id = 357211849;- Specified by:
getFirewallPolicyIdin interfaceFirewallPolicyAssociationOrBuilder- Returns:
- The firewallPolicyId.
-
getFirewallPolicyIdBytes
public com.google.protobuf.ByteString getFirewallPolicyIdBytes()
[Output Only] The firewall policy ID of the association.
optional string firewall_policy_id = 357211849;- Specified by:
getFirewallPolicyIdBytesin interfaceFirewallPolicyAssociationOrBuilder- Returns:
- The bytes for firewallPolicyId.
-
setFirewallPolicyId
public FirewallPolicyAssociation.Builder setFirewallPolicyId(String value)
[Output Only] The firewall policy ID of the association.
optional string firewall_policy_id = 357211849;- Parameters:
value- The firewallPolicyId to set.- Returns:
- This builder for chaining.
-
clearFirewallPolicyId
public FirewallPolicyAssociation.Builder clearFirewallPolicyId()
[Output Only] The firewall policy ID of the association.
optional string firewall_policy_id = 357211849;- Returns:
- This builder for chaining.
-
setFirewallPolicyIdBytes
public FirewallPolicyAssociation.Builder setFirewallPolicyIdBytes(com.google.protobuf.ByteString value)
[Output Only] The firewall policy ID of the association.
optional string firewall_policy_id = 357211849;- Parameters:
value- The bytes for firewallPolicyId to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()
The name for an association.
optional string name = 3373707;- Specified by:
hasNamein interfaceFirewallPolicyAssociationOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
The name for an association.
optional string name = 3373707;- Specified by:
getNamein interfaceFirewallPolicyAssociationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name for an association.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceFirewallPolicyAssociationOrBuilder- Returns:
- The bytes for name.
-
setName
public FirewallPolicyAssociation.Builder setName(String value)
The name for an association.
optional string name = 3373707;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public FirewallPolicyAssociation.Builder clearName()
The name for an association.
optional string name = 3373707;- Returns:
- This builder for chaining.
-
setNameBytes
public FirewallPolicyAssociation.Builder setNameBytes(com.google.protobuf.ByteString value)
The name for an association.
optional string name = 3373707;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasShortName
public boolean hasShortName()
[Output Only] The short name of the firewall policy of the association.
optional string short_name = 492051566;- Specified by:
hasShortNamein interfaceFirewallPolicyAssociationOrBuilder- Returns:
- Whether the shortName field is set.
-
getShortName
public String getShortName()
[Output Only] The short name of the firewall policy of the association.
optional string short_name = 492051566;- Specified by:
getShortNamein interfaceFirewallPolicyAssociationOrBuilder- Returns:
- The shortName.
-
getShortNameBytes
public com.google.protobuf.ByteString getShortNameBytes()
[Output Only] The short name of the firewall policy of the association.
optional string short_name = 492051566;- Specified by:
getShortNameBytesin interfaceFirewallPolicyAssociationOrBuilder- Returns:
- The bytes for shortName.
-
setShortName
public FirewallPolicyAssociation.Builder setShortName(String value)
[Output Only] The short name of the firewall policy of the association.
optional string short_name = 492051566;- Parameters:
value- The shortName to set.- Returns:
- This builder for chaining.
-
clearShortName
public FirewallPolicyAssociation.Builder clearShortName()
[Output Only] The short name of the firewall policy of the association.
optional string short_name = 492051566;- Returns:
- This builder for chaining.
-
setShortNameBytes
public FirewallPolicyAssociation.Builder setShortNameBytes(com.google.protobuf.ByteString value)
[Output Only] The short name of the firewall policy of the association.
optional string short_name = 492051566;- Parameters:
value- The bytes for shortName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final FirewallPolicyAssociation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyAssociation.Builder>
-
mergeUnknownFields
public final FirewallPolicyAssociation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FirewallPolicyAssociation.Builder>
-
-