Package com.google.cloud.compute.v1
Interface SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch,SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatch.Builder
@Generated
public interface SecurityPolicyRuleNetworkMatcherUserDefinedFieldMatchOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Name of the user-defined field, as given in the definition.com.google.protobuf.ByteStringName of the user-defined field, as given in the definition.getValues(int index) Matching values of the field.com.google.protobuf.ByteStringgetValuesBytes(int index) Matching values of the field.intMatching values of the field.Matching values of the field.booleanhasName()Name of the user-defined field, as given in the definition.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()Name of the user-defined field, as given in the definition.
optional string name = 3373707;- Returns:
- Whether the name field is set.
-
getName
String getName()Name of the user-defined field, as given in the definition.
optional string name = 3373707;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the user-defined field, as given in the definition.
optional string name = 3373707;- Returns:
- The bytes for name.
-
getValuesList
Matching values of the field. Each element can be a 32-bit unsigned decimal or hexadecimal (starting with "0x") number (e.g. "64") or range (e.g. "0x400-0x7ff").
repeated string values = 249928994;- Returns:
- A list containing the values.
-
getValuesCount
int getValuesCount()Matching values of the field. Each element can be a 32-bit unsigned decimal or hexadecimal (starting with "0x") number (e.g. "64") or range (e.g. "0x400-0x7ff").
repeated string values = 249928994;- Returns:
- The count of values.
-
getValues
Matching values of the field. Each element can be a 32-bit unsigned decimal or hexadecimal (starting with "0x") number (e.g. "64") or range (e.g. "0x400-0x7ff").
repeated string values = 249928994;- Parameters:
index- The index of the element to return.- Returns:
- The values at the given index.
-
getValuesBytes
com.google.protobuf.ByteString getValuesBytes(int index) Matching values of the field. Each element can be a 32-bit unsigned decimal or hexadecimal (starting with "0x") number (e.g. "64") or range (e.g. "0x400-0x7ff").
repeated string values = 249928994;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the values at the given index.
-