public final class GetRuleFirewallPolicyRequest extends GeneratedMessage implements GetRuleFirewallPolicyRequestOrBuilderA request message for FirewallPolicies.GetRule. See the method description for details.
Protobuf type google.cloud.compute.v1.GetRuleFirewallPolicyRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > GetRuleFirewallPolicyRequestImplements
GetRuleFirewallPolicyRequestOrBuilderStatic Fields
FIREWALL_POLICY_FIELD_NUMBER
public static final int FIREWALL_POLICY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static GetRuleFirewallPolicyRequest getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
GetRuleFirewallPolicyRequest |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static GetRuleFirewallPolicyRequest.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
GetRuleFirewallPolicyRequest.Builder |
|
newBuilder(GetRuleFirewallPolicyRequest prototype)
public static GetRuleFirewallPolicyRequest.Builder newBuilder(GetRuleFirewallPolicyRequest prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
GetRuleFirewallPolicyRequest |
| Returns | |
|---|---|
| Type | Description |
GetRuleFirewallPolicyRequest.Builder |
|
parseDelimitedFrom(InputStream input)
public static GetRuleFirewallPolicyRequest parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
GetRuleFirewallPolicyRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GetRuleFirewallPolicyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetRuleFirewallPolicyRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static GetRuleFirewallPolicyRequest parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
GetRuleFirewallPolicyRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GetRuleFirewallPolicyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetRuleFirewallPolicyRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static GetRuleFirewallPolicyRequest parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
GetRuleFirewallPolicyRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GetRuleFirewallPolicyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetRuleFirewallPolicyRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static GetRuleFirewallPolicyRequest parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
GetRuleFirewallPolicyRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GetRuleFirewallPolicyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetRuleFirewallPolicyRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static GetRuleFirewallPolicyRequest parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
GetRuleFirewallPolicyRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GetRuleFirewallPolicyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetRuleFirewallPolicyRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static GetRuleFirewallPolicyRequest parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
GetRuleFirewallPolicyRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GetRuleFirewallPolicyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
GetRuleFirewallPolicyRequest |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<GetRuleFirewallPolicyRequest> parser()| Returns | |
|---|---|
| Type | Description |
Parser<GetRuleFirewallPolicyRequest> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public GetRuleFirewallPolicyRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
GetRuleFirewallPolicyRequest |
|
getFirewallPolicy()
public String getFirewallPolicy()Name of the firewall policy to which the queried rule belongs.
string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The firewallPolicy. |
getFirewallPolicyBytes()
public ByteString getFirewallPolicyBytes()Name of the firewall policy to which the queried rule belongs.
string firewall_policy = 498173265 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for firewallPolicy. |
getParserForType()
public Parser<GetRuleFirewallPolicyRequest> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<GetRuleFirewallPolicyRequest> |
|
getPriority()
public int getPriority()The priority of the rule to get from the firewall policy.
optional int32 priority = 445151652;
| Returns | |
|---|---|
| Type | Description |
int |
The priority. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasPriority()
public boolean hasPriority()The priority of the rule to get from the firewall policy.
optional int32 priority = 445151652;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the priority field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public GetRuleFirewallPolicyRequest.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
GetRuleFirewallPolicyRequest.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected GetRuleFirewallPolicyRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
GetRuleFirewallPolicyRequest.Builder |
|
toBuilder()
public GetRuleFirewallPolicyRequest.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
GetRuleFirewallPolicyRequest.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|