Package com.google.cloud.compute.v1
Class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
- All Implemented Interfaces:
InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy
extends com.google.protobuf.GeneratedMessage
implements InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicyOrBuilder
Protobuf type
google.cloud.compute.v1.InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enumOutput only.Nested 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 TypeMethodDescriptionbooleanstatic final com.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.getName()Output only.com.google.protobuf.ByteStringOutput only.getPacketMirroringRules(int index) Output only.intOutput only.Output only.getPacketMirroringRulesOrBuilder(int index) Output only.List<? extends FirewallPolicyRuleOrBuilder>Output only.com.google.protobuf.Parser<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy>intOutput only.getRules(int index) [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.intOutput only.com.google.protobuf.ByteStringOutput only.getType()Output only.com.google.protobuf.ByteStringOutput only.booleanOutput only.inthashCode()booleanhasName()Output only.booleanOutput only.booleanOutput only.booleanhasType()Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy>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
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
PACKET_MIRRORING_RULES_FIELD_NUMBER
public static final int PACKET_MIRRORING_RULES_FIELD_NUMBER- See Also:
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER- See Also:
-
RULES_FIELD_NUMBER
public static final int RULES_FIELD_NUMBER- See Also:
-
SHORT_NAME_FIELD_NUMBER
public static final int SHORT_NAME_FIELD_NUMBER- See Also:
-
TYPE_FIELD_NUMBER
public static final int TYPE_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
-
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.
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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
-
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
-
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
-
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
-
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.
-
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.
-
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 InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy 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
public static InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder newBuilder(InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
public static com.google.protobuf.Parser<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy> parser() -
getParserForType
public com.google.protobuf.Parser<InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy> 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
-