public final class WafExpressionSet extends GeneratedMessageV3 implements WafExpressionSetOrBuilder
Protobuf type google.cloud.compute.v1.WafExpressionSet
Static Fields
ALIASES_FIELD_NUMBER
public static final int ALIASES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
EXPRESSIONS_FIELD_NUMBER
public static final int EXPRESSIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static WafExpressionSet getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static WafExpressionSet.Builder newBuilder()
newBuilder(WafExpressionSet prototype)
public static WafExpressionSet.Builder newBuilder(WafExpressionSet prototype)
public static WafExpressionSet parseDelimitedFrom(InputStream input)
public static WafExpressionSet parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static WafExpressionSet parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WafExpressionSet parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static WafExpressionSet parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WafExpressionSet parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WafExpressionSet parseFrom(CodedInputStream input)
public static WafExpressionSet parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WafExpressionSet parseFrom(InputStream input)
public static WafExpressionSet parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static WafExpressionSet parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WafExpressionSet parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<WafExpressionSet> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getAliases(int index)
public String getAliases(int index)
A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" is particularly useful if a policy likes to avail newer set of expressions without having to change the policy. A given alias name can't be used for more than one entity set.
repeated string aliases = 159207166;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The aliases at the given index.
|
getAliasesBytes(int index)
public ByteString getAliasesBytes(int index)
A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" is particularly useful if a policy likes to avail newer set of expressions without having to change the policy. A given alias name can't be used for more than one entity set.
repeated string aliases = 159207166;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the aliases at the given index.
|
getAliasesCount()
public int getAliasesCount()
A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" is particularly useful if a policy likes to avail newer set of expressions without having to change the policy. A given alias name can't be used for more than one entity set.
repeated string aliases = 159207166;
Returns |
---|
Type | Description |
int | The count of aliases.
|
getAliasesList()
public ProtocolStringList getAliasesList()
A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" is particularly useful if a policy likes to avail newer set of expressions without having to change the policy. A given alias name can't be used for more than one entity set.
repeated string aliases = 159207166;
getDefaultInstanceForType()
public WafExpressionSet getDefaultInstanceForType()
getExpressions(int index)
public WafExpressionSetExpression getExpressions(int index)
List of available expressions.
repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;
Parameter |
---|
Name | Description |
index | int
|
getExpressionsCount()
public int getExpressionsCount()
List of available expressions.
repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;
Returns |
---|
Type | Description |
int | |
getExpressionsList()
public List<WafExpressionSetExpression> getExpressionsList()
List of available expressions.
repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;
getExpressionsOrBuilder(int index)
public WafExpressionSetExpressionOrBuilder getExpressionsOrBuilder(int index)
List of available expressions.
repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;
Parameter |
---|
Name | Description |
index | int
|
getExpressionsOrBuilderList()
public List<? extends WafExpressionSetExpressionOrBuilder> getExpressionsOrBuilderList()
List of available expressions.
repeated .google.cloud.compute.v1.WafExpressionSetExpression expressions = 175554779;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.compute.v1.WafExpressionSetExpressionOrBuilder> | |
getId()
Google specified expression set ID. The format should be: - E.g. XSS-20170329 required
optional string id = 3355;
Returns |
---|
Type | Description |
String | The id.
|
getIdBytes()
public ByteString getIdBytes()
Google specified expression set ID. The format should be: - E.g. XSS-20170329 required
optional string id = 3355;
getParserForType()
public Parser<WafExpressionSet> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasId()
Google specified expression set ID. The format should be: - E.g. XSS-20170329 required
optional string id = 3355;
Returns |
---|
Type | Description |
boolean | Whether the id field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public WafExpressionSet.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected WafExpressionSet.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public WafExpressionSet.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides