public final class FirewallPolicy extends com.google.protobuf.GeneratedMessageV3 implements FirewallPolicyOrBuilder
Represents a Firewall Policy resource.Protobuf type
google.cloud.compute.v1.FirewallPolicy| Modifier and Type | Class and Description |
|---|---|
static class |
FirewallPolicy.Builder
Represents a Firewall Policy resource.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ASSOCIATIONS_FIELD_NUMBER |
static int |
CREATION_TIMESTAMP_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
FINGERPRINT_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PARENT_FIELD_NUMBER |
static int |
REGION_FIELD_NUMBER |
static int |
RULE_TUPLE_COUNT_FIELD_NUMBER |
static int |
RULES_FIELD_NUMBER |
static int |
SELF_LINK_FIELD_NUMBER |
static int |
SELF_LINK_WITH_ID_FIELD_NUMBER |
static int |
SHORT_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
FirewallPolicyAssociation |
getAssociations(int index)
A list of associations that belong to this firewall policy.
|
int |
getAssociationsCount()
A list of associations that belong to this firewall policy.
|
List<FirewallPolicyAssociation> |
getAssociationsList()
A list of associations that belong to this firewall policy.
|
FirewallPolicyAssociationOrBuilder |
getAssociationsOrBuilder(int index)
A list of associations that belong to this firewall policy.
|
List<? extends FirewallPolicyAssociationOrBuilder> |
getAssociationsOrBuilderList()
A list of associations that belong to this firewall policy.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
static FirewallPolicy |
getDefaultInstance() |
FirewallPolicy |
getDefaultInstanceForType() |
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDisplayName()
Deprecated, please use short name instead.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Deprecated, please use short name instead.
|
String |
getFingerprint()
Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking.
|
com.google.protobuf.ByteString |
getFingerprintBytes()
Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking.
|
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output only] Type of the resource.
|
String |
getName()
Name of the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of the resource.
|
String |
getParent()
[Output Only] The parent of the firewall policy.
|
com.google.protobuf.ByteString |
getParentBytes()
[Output Only] The parent of the firewall policy.
|
com.google.protobuf.Parser<FirewallPolicy> |
getParserForType() |
String |
getRegion()
[Output Only] URL of the region where the regional firewall policy resides.
|
com.google.protobuf.ByteString |
getRegionBytes()
[Output Only] URL of the region where the regional firewall policy resides.
|
FirewallPolicyRule |
getRules(int index)
A list of rules that belong to this policy.
|
int |
getRulesCount()
A list of rules that belong to this policy.
|
List<FirewallPolicyRule> |
getRulesList()
A list of rules that belong to this policy.
|
FirewallPolicyRuleOrBuilder |
getRulesOrBuilder(int index)
A list of rules that belong to this policy.
|
List<? extends FirewallPolicyRuleOrBuilder> |
getRulesOrBuilderList()
A list of rules that belong to this policy.
|
int |
getRuleTupleCount()
[Output Only] Total count of all firewall policy rule tuples.
|
String |
getSelfLink()
[Output Only] Server-defined URL for the resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
|
String |
getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id.
|
com.google.protobuf.ByteString |
getSelfLinkWithIdBytes()
[Output Only] Server-defined URL for this resource with the resource id.
|
int |
getSerializedSize() |
String |
getShortName()
User-provided name of the Organization firewall policy.
|
com.google.protobuf.ByteString |
getShortNameBytes()
User-provided name of the Organization firewall policy.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDescription()
An optional description of this resource.
|
boolean |
hasDisplayName()
Deprecated, please use short name instead.
|
boolean |
hasFingerprint()
Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking.
|
int |
hashCode() |
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKind()
[Output only] Type of the resource.
|
boolean |
hasName()
Name of the resource.
|
boolean |
hasParent()
[Output Only] The parent of the firewall policy.
|
boolean |
hasRegion()
[Output Only] URL of the region where the regional firewall policy resides.
|
boolean |
hasRuleTupleCount()
[Output Only] Total count of all firewall policy rule tuples.
|
boolean |
hasSelfLink()
[Output Only] Server-defined URL for the resource.
|
boolean |
hasSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id.
|
boolean |
hasShortName()
User-provided name of the Organization firewall policy.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static FirewallPolicy.Builder |
newBuilder() |
static FirewallPolicy.Builder |
newBuilder(FirewallPolicy prototype) |
FirewallPolicy.Builder |
newBuilderForType() |
protected FirewallPolicy.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static FirewallPolicy |
parseDelimitedFrom(InputStream input) |
static FirewallPolicy |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FirewallPolicy |
parseFrom(byte[] data) |
static FirewallPolicy |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FirewallPolicy |
parseFrom(ByteBuffer data) |
static FirewallPolicy |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FirewallPolicy |
parseFrom(com.google.protobuf.ByteString data) |
static FirewallPolicy |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FirewallPolicy |
parseFrom(com.google.protobuf.CodedInputStream input) |
static FirewallPolicy |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static FirewallPolicy |
parseFrom(InputStream input) |
static FirewallPolicy |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<FirewallPolicy> |
parser() |
FirewallPolicy.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ASSOCIATIONS_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int FINGERPRINT_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER
public static final int RULE_TUPLE_COUNT_FIELD_NUMBER
public static final int RULES_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_WITH_ID_FIELD_NUMBER
public static final int SHORT_NAME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<FirewallPolicyAssociation> getAssociationsList()
A list of associations that belong to this firewall policy.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
getAssociationsList in interface FirewallPolicyOrBuilderpublic List<? extends FirewallPolicyAssociationOrBuilder> getAssociationsOrBuilderList()
A list of associations that belong to this firewall policy.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
getAssociationsOrBuilderList in interface FirewallPolicyOrBuilderpublic int getAssociationsCount()
A list of associations that belong to this firewall policy.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
getAssociationsCount in interface FirewallPolicyOrBuilderpublic FirewallPolicyAssociation getAssociations(int index)
A list of associations that belong to this firewall policy.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
getAssociations in interface FirewallPolicyOrBuilderpublic FirewallPolicyAssociationOrBuilder getAssociationsOrBuilder(int index)
A list of associations that belong to this firewall policy.
repeated .google.cloud.compute.v1.FirewallPolicyAssociation associations = 508736530;
getAssociationsOrBuilder in interface FirewallPolicyOrBuilderpublic boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface FirewallPolicyOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface FirewallPolicyOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface FirewallPolicyOrBuilderpublic boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface FirewallPolicyOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface FirewallPolicyOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface FirewallPolicyOrBuilderpublic boolean hasDisplayName()
Deprecated, please use short name instead. User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` 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 display_name = 4473832;hasDisplayName in interface FirewallPolicyOrBuilderpublic String getDisplayName()
Deprecated, please use short name instead. User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` 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 display_name = 4473832;getDisplayName in interface FirewallPolicyOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Deprecated, please use short name instead. User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` 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 display_name = 4473832;getDisplayNameBytes in interface FirewallPolicyOrBuilderpublic boolean hasFingerprint()
Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the firewall policy.
optional string fingerprint = 234678500;hasFingerprint in interface FirewallPolicyOrBuilderpublic String getFingerprint()
Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the firewall policy.
optional string fingerprint = 234678500;getFingerprint in interface FirewallPolicyOrBuilderpublic com.google.protobuf.ByteString getFingerprintBytes()
Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the firewall policy.
optional string fingerprint = 234678500;getFingerprintBytes in interface FirewallPolicyOrBuilderpublic boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface FirewallPolicyOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface FirewallPolicyOrBuilderpublic boolean hasKind()
[Output only] Type of the resource. Always compute#firewallPolicyfor firewall policies
optional string kind = 3292052;hasKind in interface FirewallPolicyOrBuilderpublic String getKind()
[Output only] Type of the resource. Always compute#firewallPolicyfor firewall policies
optional string kind = 3292052;getKind in interface FirewallPolicyOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output only] Type of the resource. Always compute#firewallPolicyfor firewall policies
optional string kind = 3292052;getKindBytes in interface FirewallPolicyOrBuilderpublic boolean hasName()
Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by Google Cloud which uniquely identifies the Organization Firewall Policy.
optional string name = 3373707;hasName in interface FirewallPolicyOrBuilderpublic String getName()
Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by Google Cloud which uniquely identifies the Organization Firewall Policy.
optional string name = 3373707;getName in interface FirewallPolicyOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by Google Cloud which uniquely identifies the Organization Firewall Policy.
optional string name = 3373707;getNameBytes in interface FirewallPolicyOrBuilderpublic boolean hasParent()
[Output Only] The parent of the firewall policy. This field is not applicable to network firewall policies.
optional string parent = 78317738;hasParent in interface FirewallPolicyOrBuilderpublic String getParent()
[Output Only] The parent of the firewall policy. This field is not applicable to network firewall policies.
optional string parent = 78317738;getParent in interface FirewallPolicyOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
[Output Only] The parent of the firewall policy. This field is not applicable to network firewall policies.
optional string parent = 78317738;getParentBytes in interface FirewallPolicyOrBuilderpublic boolean hasRegion()
[Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;hasRegion in interface FirewallPolicyOrBuilderpublic String getRegion()
[Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;getRegion in interface FirewallPolicyOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
[Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
optional string region = 138946292;getRegionBytes in interface FirewallPolicyOrBuilderpublic boolean hasRuleTupleCount()
[Output Only] Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
optional int32 rule_tuple_count = 388342037;hasRuleTupleCount in interface FirewallPolicyOrBuilderpublic int getRuleTupleCount()
[Output Only] Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples.
optional int32 rule_tuple_count = 388342037;getRuleTupleCount in interface FirewallPolicyOrBuilderpublic List<FirewallPolicyRule> getRulesList()
A list of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a firewall policy, a default rule with action "allow" will be added.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;getRulesList in interface FirewallPolicyOrBuilderpublic List<? extends FirewallPolicyRuleOrBuilder> getRulesOrBuilderList()
A list of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a firewall policy, a default rule with action "allow" will be added.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;getRulesOrBuilderList in interface FirewallPolicyOrBuilderpublic int getRulesCount()
A list of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a firewall policy, a default rule with action "allow" will be added.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;getRulesCount in interface FirewallPolicyOrBuilderpublic FirewallPolicyRule getRules(int index)
A list of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a firewall policy, a default rule with action "allow" will be added.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;getRules in interface FirewallPolicyOrBuilderpublic FirewallPolicyRuleOrBuilder getRulesOrBuilder(int index)
A list of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a firewall policy, a default rule with action "allow" will be added.
repeated .google.cloud.compute.v1.FirewallPolicyRule rules = 108873975;getRulesOrBuilder in interface FirewallPolicyOrBuilderpublic boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;hasSelfLink in interface FirewallPolicyOrBuilderpublic String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLink in interface FirewallPolicyOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;getSelfLinkBytes in interface FirewallPolicyOrBuilderpublic boolean hasSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;hasSelfLinkWithId in interface FirewallPolicyOrBuilderpublic String getSelfLinkWithId()
[Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;getSelfLinkWithId in interface FirewallPolicyOrBuilderpublic com.google.protobuf.ByteString getSelfLinkWithIdBytes()
[Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;getSelfLinkWithIdBytes in interface FirewallPolicyOrBuilderpublic boolean hasShortName()
User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` 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 short_name = 492051566;hasShortName in interface FirewallPolicyOrBuilderpublic String getShortName()
User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` 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 short_name = 492051566;getShortName in interface FirewallPolicyOrBuilderpublic com.google.protobuf.ByteString getShortNameBytes()
User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` 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 short_name = 492051566;getShortNameBytes in interface FirewallPolicyOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static FirewallPolicy parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FirewallPolicy parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FirewallPolicy parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FirewallPolicy parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FirewallPolicy parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FirewallPolicy parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static FirewallPolicy parseFrom(InputStream input) throws IOException
IOExceptionpublic static FirewallPolicy parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FirewallPolicy parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static FirewallPolicy parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static FirewallPolicy parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static FirewallPolicy parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic FirewallPolicy.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static FirewallPolicy.Builder newBuilder()
public static FirewallPolicy.Builder newBuilder(FirewallPolicy prototype)
public FirewallPolicy.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected FirewallPolicy.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static FirewallPolicy getDefaultInstance()
public static com.google.protobuf.Parser<FirewallPolicy> parser()
public com.google.protobuf.Parser<FirewallPolicy> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public FirewallPolicy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.