Package com.google.cloud.compute.v1
Class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder>
com.google.cloud.compute.v1.InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder
- All Implemented Interfaces:
InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
public static final class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder>
implements InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder
Protobuf type
google.cloud.compute.v1.InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy-
Method Summary
Modifier and TypeMethodDescriptionaddAllPacketMirroringRules(Iterable<? extends FirewallPolicyRule> values) Output only.addAllRules(Iterable<? extends FirewallPolicyRule> values) [Output Only] The rules that apply to the instance.addPacketMirroringRules(int index, FirewallPolicyRule value) Output only.addPacketMirroringRules(int index, FirewallPolicyRule.Builder builderForValue) Output only.Output only.addPacketMirroringRules(FirewallPolicyRule.Builder builderForValue) Output only.Output only.addPacketMirroringRulesBuilder(int index) Output only.addRules(int index, FirewallPolicyRule value) [Output Only] The rules that apply to the instance.addRules(int index, FirewallPolicyRule.Builder builderForValue) [Output Only] The rules that apply to the instance.addRules(FirewallPolicyRule value) [Output Only] The rules that apply to the instance.addRules(FirewallPolicyRule.Builder builderForValue) [Output Only] The rules that apply to the instance.[Output Only] The rules that apply to the instance.addRulesBuilder(int index) [Output Only] The rules that apply to the instance.build()clear()Output only.Output only.Output only.Output only.[Output Only] The rules that apply to the instance.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.getPacketMirroringRules(int index) Output only.getPacketMirroringRulesBuilder(int index) Output only.Output only.intOutput only.Output only.getPacketMirroringRulesOrBuilder(int index) Output only.List<? extends FirewallPolicyRuleOrBuilder>Output only.intOutput only.getRules(int index) [Output Only] The rules that apply to the instance.getRulesBuilder(int index) [Output Only] The rules that apply to the instance.[Output Only] The rules that apply to the instance.int[Output Only] The rules that apply to the instance.[Output Only] The rules that apply to the instance.getRulesOrBuilder(int index) [Output Only] The rules that apply to the instance.List<? extends FirewallPolicyRuleOrBuilder>[Output Only] The rules that apply to the instance.Output only.com.google.protobuf.ByteStringOutput only.getType()Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.booleanhasName()Output only.booleanOutput only.booleanOutput only.booleanhasType()Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removePacketMirroringRules(int index) Output only.removeRules(int index) [Output Only] The rules that apply to the instance.setDisplayName(String value) Output only.setDisplayNameBytes(com.google.protobuf.ByteString value) Output only.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setPacketMirroringRules(int index, FirewallPolicyRule value) Output only.setPacketMirroringRules(int index, FirewallPolicyRule.Builder builderForValue) Output only.setPriority(int value) Output only.setRules(int index, FirewallPolicyRule value) [Output Only] The rules that apply to the instance.setRules(int index, FirewallPolicyRule.Builder builderForValue) [Output Only] The rules that apply to the instance.setShortName(String value) Output only.setShortNameBytes(com.google.protobuf.ByteString value) Output only.Output only.setTypeBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.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.GeneratedMessage.Builder<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder>
-
mergeFrom
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.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<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder>- Throws:
IOException
-
hasDisplayName
public boolean hasDisplayName()Output only. [Output Only] Deprecated, please use short name instead. The display name of the firewall policy.
optional string display_name = 4473832;- Specified by:
hasDisplayNamein interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- Whether the displayName field is set.
-
getDisplayName
Output only. [Output Only] Deprecated, please use short name instead. The display name of the firewall policy.
optional string display_name = 4473832;- Specified by:
getDisplayNamein interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Output only. [Output Only] Deprecated, please use short name instead. The display name of the firewall policy.
optional string display_name = 4473832;- Specified by:
getDisplayNameBytesin interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setDisplayName(String value) Output only. [Output Only] Deprecated, please use short name instead. The display name of the firewall policy.
optional string display_name = 4473832;- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Output only. [Output Only] Deprecated, please use short name instead. The display name of the firewall policy.
optional string display_name = 4473832;- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setDisplayNameBytes(com.google.protobuf.ByteString value) Output only. [Output Only] Deprecated, please use short name instead. The display name of the firewall policy.
optional string display_name = 4473832;- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()Output only. [Output Only] The name of the firewall policy.
optional string name = 3373707;- Specified by:
hasNamein interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- Whether the name field is set.
-
getName
Output only. [Output Only] The name of the firewall policy.
optional string name = 3373707;- Specified by:
getNamein interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. [Output Only] The name of the firewall policy.
optional string name = 3373707;- Specified by:
getNameBytesin interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. [Output Only] The name of the firewall policy.
optional string name = 3373707;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. [Output Only] The name of the firewall policy.
optional string name = 3373707;- Returns:
- This builder for chaining.
-
setNameBytes
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setNameBytes(com.google.protobuf.ByteString value) Output only. [Output Only] The name of the firewall policy.
optional string name = 3373707;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getPacketMirroringRulesList
Output only. [Output Only] The packet mirroring rules that apply to the instance.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356;- Specified by:
getPacketMirroringRulesListin interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder
-
getPacketMirroringRulesCount
public int getPacketMirroringRulesCount()Output only. [Output Only] The packet mirroring rules that apply to the instance.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356;- Specified by:
getPacketMirroringRulesCountin interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder
-
getPacketMirroringRules
Output only. [Output Only] The packet mirroring rules that apply to the instance.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356;- Specified by:
getPacketMirroringRulesin interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder
-
setPacketMirroringRules
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setPacketMirroringRules(int index, FirewallPolicyRule value) Output only. [Output Only] The packet mirroring rules that apply to the instance.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
setPacketMirroringRules
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setPacketMirroringRules(int index, FirewallPolicyRule.Builder builderForValue) Output only. [Output Only] The packet mirroring rules that apply to the instance.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
addPacketMirroringRules
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addPacketMirroringRules(FirewallPolicyRule value) Output only. [Output Only] The packet mirroring rules that apply to the instance.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
addPacketMirroringRules
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addPacketMirroringRules(int index, FirewallPolicyRule value) Output only. [Output Only] The packet mirroring rules that apply to the instance.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
addPacketMirroringRules
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addPacketMirroringRules(FirewallPolicyRule.Builder builderForValue) Output only. [Output Only] The packet mirroring rules that apply to the instance.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
addPacketMirroringRules
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addPacketMirroringRules(int index, FirewallPolicyRule.Builder builderForValue) Output only. [Output Only] The packet mirroring rules that apply to the instance.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
addAllPacketMirroringRules
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addAllPacketMirroringRules(Iterable<? extends FirewallPolicyRule> values) Output only. [Output Only] The packet mirroring rules that apply to the instance.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
clearPacketMirroringRules
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder clearPacketMirroringRules()Output only. [Output Only] The packet mirroring rules that apply to the instance.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
removePacketMirroringRules
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder removePacketMirroringRules(int index) Output only. [Output Only] The packet mirroring rules that apply to the instance.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
getPacketMirroringRulesBuilder
Output only. [Output Only] The packet mirroring rules that apply to the instance.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
getPacketMirroringRulesOrBuilder
Output only. [Output Only] The packet mirroring rules that apply to the instance.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356;- Specified by:
getPacketMirroringRulesOrBuilderin interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder
-
getPacketMirroringRulesOrBuilderList
Output only. [Output Only] The packet mirroring rules that apply to the instance.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356;- Specified by:
getPacketMirroringRulesOrBuilderListin interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder
-
addPacketMirroringRulesBuilder
Output only. [Output Only] The packet mirroring rules that apply to the instance.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
addPacketMirroringRulesBuilder
Output only. [Output Only] The packet mirroring rules that apply to the instance.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
getPacketMirroringRulesBuilderList
Output only. [Output Only] The packet mirroring rules that apply to the instance.
repeated .google.cloud.compute.v1.FirewallPolicyRule packet_mirroring_rules = 531644356; -
hasPriority
public boolean hasPriority()Output only. [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
optional int32 priority = 445151652;- Specified by:
hasPriorityin interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- Whether the priority field is set.
-
getPriority
public int getPriority()Output only. [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
optional int32 priority = 445151652;- Specified by:
getPriorityin interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- The priority.
-
setPriority
Output only. [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
optional int32 priority = 445151652;- Parameters:
value- The priority to set.- Returns:
- This builder for chaining.
-
clearPriority
Output only. [Output only] Priority of firewall policy association. Not applicable for type=HIERARCHY.
optional int32 priority = 445151652;- Returns:
- This builder for chaining.
-
getRulesList
[Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;- Specified by:
getRulesListin interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder
-
getRulesCount
public int getRulesCount()[Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;- Specified by:
getRulesCountin interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder
-
getRules
[Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;- Specified by:
getRulesin interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder
-
setRules
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setRules(int index, FirewallPolicyRule value) [Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
setRules
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setRules(int index, FirewallPolicyRule.Builder builderForValue) [Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
addRules
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addRules(FirewallPolicyRule value) [Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
addRules
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addRules(int index, FirewallPolicyRule value) [Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
addRules
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addRules(FirewallPolicyRule.Builder builderForValue) [Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
addRules
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addRules(int index, FirewallPolicyRule.Builder builderForValue) [Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
addAllRules
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder addAllRules(Iterable<? extends FirewallPolicyRule> values) [Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
clearRules
[Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
removeRules
[Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
getRulesBuilder
[Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
getRulesOrBuilder
[Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;- Specified by:
getRulesOrBuilderin interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder
-
getRulesOrBuilderList
[Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;- Specified by:
getRulesOrBuilderListin interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder
-
addRulesBuilder
[Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
addRulesBuilder
[Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
getRulesBuilderList
[Output Only] The rules that apply to the instance. Only rules that target the specific VM instance are returned if target service accounts or target secure tags are specified in the rules.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975; -
hasShortName
public boolean hasShortName()Output only. [Output Only] The short name of the firewall policy.
optional string short_name = 492051566;- Specified by:
hasShortNamein interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- Whether the shortName field is set.
-
getShortName
Output only. [Output Only] The short name of the firewall policy.
optional string short_name = 492051566;- Specified by:
getShortNamein interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- The shortName.
-
getShortNameBytes
public com.google.protobuf.ByteString getShortNameBytes()Output only. [Output Only] The short name of the firewall policy.
optional string short_name = 492051566;- Specified by:
getShortNameBytesin interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- The bytes for shortName.
-
setShortName
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setShortName(String value) Output only. [Output Only] The short name of the firewall policy.
optional string short_name = 492051566;- Parameters:
value- The shortName to set.- Returns:
- This builder for chaining.
-
clearShortName
Output only. [Output Only] The short name of the firewall policy.
optional string short_name = 492051566;- Returns:
- This builder for chaining.
-
setShortNameBytes
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setShortNameBytes(com.google.protobuf.ByteString value) Output only. [Output Only] The short name of the firewall policy.
optional string short_name = 492051566;- Parameters:
value- The bytes for shortName to set.- Returns:
- This builder for chaining.
-
hasType
public boolean hasType()Output only. [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. Check the Type enum for the list of possible values.
optional string type = 3575610;- Specified by:
hasTypein interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- Whether the type field is set.
-
getType
Output only. [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. Check the Type enum for the list of possible values.
optional string type = 3575610;- Specified by:
getTypein interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()Output only. [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. Check the Type enum for the list of possible values.
optional string type = 3575610;- Specified by:
getTypeBytesin interfaceInstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder- Returns:
- The bytes for type.
-
setType
Output only. [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. Check the Type enum for the list of possible values.
optional string type = 3575610;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Output only. [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. Check the Type enum for the list of possible values.
optional string type = 3575610;- Returns:
- This builder for chaining.
-
setTypeBytes
public InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder setTypeBytes(com.google.protobuf.ByteString value) Output only. [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL, SYSTEM_GLOBAL, SYSTEM_REGIONAL. Check the Type enum for the list of possible values.
optional string type = 3575610;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-