public final class ManagedRuleset extends GeneratedMessage implements ManagedRulesetOrBuilder
Represents a ManagedRuleset resource.
Managed internally by Cloud Armor CLH for Managed Rules features.
Customers can only view these resources to modify their Security Policies.
For more information, see
https://cloud.google.com/armor/docs/.
Protobuf type google.cloud.compute.v1.ManagedRuleset
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CHANGE_LOG_FIELD_NUMBER
public static final int CHANGE_LOG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RULESET_ID_FIELD_NUMBER
public static final int RULESET_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RULE_IDS_FIELD_NUMBER
public static final int RULE_IDS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ManagedRuleset getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ManagedRuleset.Builder newBuilder()
newBuilder(ManagedRuleset prototype)
public static ManagedRuleset.Builder newBuilder(ManagedRuleset prototype)
public static ManagedRuleset parseDelimitedFrom(InputStream input)
public static ManagedRuleset parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ManagedRuleset parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ManagedRuleset parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ManagedRuleset parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ManagedRuleset parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ManagedRuleset parseFrom(CodedInputStream input)
public static ManagedRuleset parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ManagedRuleset parseFrom(InputStream input)
public static ManagedRuleset parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ManagedRuleset parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ManagedRuleset parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ManagedRuleset> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getChangeLog()
public String getChangeLog()
Output only. [Output Only] The change log for this managed ruleset.
optional string change_log = 15896117;
| Returns |
| Type |
Description |
String |
The changeLog.
|
getChangeLogBytes()
public ByteString getChangeLogBytes()
Output only. [Output Only] The change log for this managed ruleset.
optional string change_log = 15896117;
| Returns |
| Type |
Description |
ByteString |
The bytes for changeLog.
|
getCreationTimestamp()
public String getCreationTimestamp()
Output only. [Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns |
| Type |
Description |
String |
The creationTimestamp.
|
getCreationTimestampBytes()
public ByteString getCreationTimestampBytes()
Output only. [Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns |
| Type |
Description |
ByteString |
The bytes for creationTimestamp.
|
getDefaultInstanceForType()
public ManagedRuleset getDefaultInstanceForType()
getDescription()
public String getDescription()
[Output Only] An optional description of this resource.
optional string description = 422937596;
| Returns |
| Type |
Description |
String |
The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
[Output Only] An optional description of this resource.
optional string description = 422937596;
| Returns |
| Type |
Description |
ByteString |
The bytes for description.
|
getId()
Output only. [Output Only] The unique identifier for the resource. This identifier is
defined by the server.
optional uint64 id = 3355;
| Returns |
| Type |
Description |
long |
The id.
|
getName()
Name of the resource. Generated internally when the resource is created.
The name must be 1-63 characters long, and comply withRFC1035.
Specifically, the name must be 1-63 characters long and match the regular
expression a-z? which means the first
character must be a lowercase letter, and all following characters must
be a dash, lowercase letter, or digit, except the last character, which
cannot be a dash.
optional string name = 3373707;
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Name of the resource. Generated internally when the resource is created.
The name must be 1-63 characters long, and comply withRFC1035.
Specifically, the name must be 1-63 characters long and match the regular
expression a-z? which means the first
character must be a lowercase letter, and all following characters must
be a dash, lowercase letter, or digit, except the last character, which
cannot be a dash.
optional string name = 3373707;
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<ManagedRuleset> getParserForType()
Overrides
getRuleIds(int index)
public String getRuleIds(int index)
Output only. [Output Only] The list of managed rule IDs that are included in
this managed ruleset.
repeated string rule_ids = 226918133;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The ruleIds at the given index.
|
getRuleIdsBytes(int index)
public ByteString getRuleIdsBytes(int index)
Output only. [Output Only] The list of managed rule IDs that are included in
this managed ruleset.
repeated string rule_ids = 226918133;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the ruleIds at the given index.
|
getRuleIdsCount()
public int getRuleIdsCount()
Output only. [Output Only] The list of managed rule IDs that are included in
this managed ruleset.
repeated string rule_ids = 226918133;
| Returns |
| Type |
Description |
int |
The count of ruleIds.
|
getRuleIdsList()
public ProtocolStringList getRuleIdsList()
Output only. [Output Only] The list of managed rule IDs that are included in
this managed ruleset.
repeated string rule_ids = 226918133;
getRulesetId()
public String getRulesetId()
Output only. [Output Only] The managed ruleset identifier that can be configured in
Security Policy rules.
optional string ruleset_id = 131214356;
| Returns |
| Type |
Description |
String |
The rulesetId.
|
getRulesetIdBytes()
public ByteString getRulesetIdBytes()
Output only. [Output Only] The managed ruleset identifier that can be configured in
Security Policy rules.
optional string ruleset_id = 131214356;
| Returns |
| Type |
Description |
ByteString |
The bytes for rulesetId.
|
getSelfLink()
public String getSelfLink()
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Returns |
| Type |
Description |
String |
The selfLink.
|
getSelfLinkBytes()
public ByteString getSelfLinkBytes()
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Returns |
| Type |
Description |
ByteString |
The bytes for selfLink.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasChangeLog()
public boolean hasChangeLog()
Output only. [Output Only] The change log for this managed ruleset.
optional string change_log = 15896117;
| Returns |
| Type |
Description |
boolean |
Whether the changeLog field is set.
|
hasCreationTimestamp()
public boolean hasCreationTimestamp()
Output only. [Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns |
| Type |
Description |
boolean |
Whether the creationTimestamp field is set.
|
hasDescription()
public boolean hasDescription()
[Output Only] An optional description of this resource.
optional string description = 422937596;
| Returns |
| Type |
Description |
boolean |
Whether the description field is set.
|
hasId()
Output only. [Output Only] The unique identifier for the resource. This identifier is
defined by the server.
optional uint64 id = 3355;
| Returns |
| Type |
Description |
boolean |
Whether the id field is set.
|
hasName()
Name of the resource. Generated internally when the resource is created.
The name must be 1-63 characters long, and comply withRFC1035.
Specifically, the name must be 1-63 characters long and match the regular
expression a-z? which means the first
character must be a lowercase letter, and all following characters must
be a dash, lowercase letter, or digit, except the last character, which
cannot be a dash.
optional string name = 3373707;
| Returns |
| Type |
Description |
boolean |
Whether the name field is set.
|
hasRulesetId()
public boolean hasRulesetId()
Output only. [Output Only] The managed ruleset identifier that can be configured in
Security Policy rules.
optional string ruleset_id = 131214356;
| Returns |
| Type |
Description |
boolean |
Whether the rulesetId field is set.
|
hasSelfLink()
public boolean hasSelfLink()
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
| Returns |
| Type |
Description |
boolean |
Whether the selfLink field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ManagedRuleset.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ManagedRuleset.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ManagedRuleset.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides