Class Denied (2.84.0)
public final class Denied extends GeneratedMessageV3 implements DeniedOrBuilder
Denied IP rule.
Protobuf type google.cloud.securitycenter.v2.Denied
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
IP_RULES_FIELD_NUMBER
public static final int IP_RULES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Denied getDefaultInstance()
Returns |
Type |
Description |
Denied |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Denied.Builder newBuilder()
newBuilder(Denied prototype)
public static Denied.Builder newBuilder(Denied prototype)
Parameter |
Name |
Description |
prototype |
Denied
|
public static Denied parseDelimitedFrom(InputStream input)
Returns |
Type |
Description |
Denied |
|
public static Denied parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Denied |
|
parseFrom(byte[] data)
public static Denied parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
Denied |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Denied parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Denied |
|
parseFrom(ByteString data)
public static Denied parseFrom(ByteString data)
Returns |
Type |
Description |
Denied |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Denied parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Denied |
|
public static Denied parseFrom(CodedInputStream input)
Returns |
Type |
Description |
Denied |
|
public static Denied parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Denied |
|
public static Denied parseFrom(InputStream input)
Returns |
Type |
Description |
Denied |
|
public static Denied parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Denied |
|
parseFrom(ByteBuffer data)
public static Denied parseFrom(ByteBuffer data)
Returns |
Type |
Description |
Denied |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Denied parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
Denied |
|
parser()
public static Parser<Denied> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Denied getDefaultInstanceForType()
Returns |
Type |
Description |
Denied |
|
getIpRules(int index)
public IpRule getIpRules(int index)
Optional. Optional list of denied IP rules.
repeated .google.cloud.securitycenter.v2.IpRule ip_rules = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
IpRule |
|
getIpRulesCount()
public int getIpRulesCount()
Optional. Optional list of denied IP rules.
repeated .google.cloud.securitycenter.v2.IpRule ip_rules = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
getIpRulesList()
public List<IpRule> getIpRulesList()
Optional. Optional list of denied IP rules.
repeated .google.cloud.securitycenter.v2.IpRule ip_rules = 1 [(.google.api.field_behavior) = OPTIONAL];
getIpRulesOrBuilder(int index)
public IpRuleOrBuilder getIpRulesOrBuilder(int index)
Optional. Optional list of denied IP rules.
repeated .google.cloud.securitycenter.v2.IpRule ip_rules = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
index |
int
|
getIpRulesOrBuilderList()
public List<? extends IpRuleOrBuilder> getIpRulesOrBuilderList()
Optional. Optional list of denied IP rules.
repeated .google.cloud.securitycenter.v2.IpRule ip_rules = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
List<? extends com.google.cloud.securitycenter.v2.IpRuleOrBuilder> |
|
getParserForType()
public Parser<Denied> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Denied.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Denied.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Denied.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]