Class ListAssociationsFirewallPolicyRequest (1.21.0)

public final class ListAssociationsFirewallPolicyRequest extends GeneratedMessageV3 implements ListAssociationsFirewallPolicyRequestOrBuilder

A request message for FirewallPolicies.ListAssociations. See the method description for details.

Protobuf type google.cloud.compute.v1.ListAssociationsFirewallPolicyRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListAssociationsFirewallPolicyRequest

Static Fields

TARGET_RESOURCE_FIELD_NUMBER

public static final int TARGET_RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListAssociationsFirewallPolicyRequest getDefaultInstance()
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListAssociationsFirewallPolicyRequest.Builder newBuilder()
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest.Builder

newBuilder(ListAssociationsFirewallPolicyRequest prototype)

public static ListAssociationsFirewallPolicyRequest.Builder newBuilder(ListAssociationsFirewallPolicyRequest prototype)
Parameter
NameDescription
prototypeListAssociationsFirewallPolicyRequest
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest.Builder

parseDelimitedFrom(InputStream input)

public static ListAssociationsFirewallPolicyRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListAssociationsFirewallPolicyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListAssociationsFirewallPolicyRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListAssociationsFirewallPolicyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListAssociationsFirewallPolicyRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListAssociationsFirewallPolicyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListAssociationsFirewallPolicyRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListAssociationsFirewallPolicyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListAssociationsFirewallPolicyRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListAssociationsFirewallPolicyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListAssociationsFirewallPolicyRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListAssociationsFirewallPolicyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListAssociationsFirewallPolicyRequest> parser()
Returns
TypeDescription
Parser<ListAssociationsFirewallPolicyRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListAssociationsFirewallPolicyRequest getDefaultInstanceForType()
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest

getParserForType()

public Parser<ListAssociationsFirewallPolicyRequest> getParserForType()
Returns
TypeDescription
Parser<ListAssociationsFirewallPolicyRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTargetResource()

public String getTargetResource()

The target resource to list associations. It is an organization, or a folder.

optional string target_resource = 467318524;

Returns
TypeDescription
String

The targetResource.

getTargetResourceBytes()

public ByteString getTargetResourceBytes()

The target resource to list associations. It is an organization, or a folder.

optional string target_resource = 467318524;

Returns
TypeDescription
ByteString

The bytes for targetResource.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasTargetResource()

public boolean hasTargetResource()

The target resource to list associations. It is an organization, or a folder.

optional string target_resource = 467318524;

Returns
TypeDescription
boolean

Whether the targetResource field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListAssociationsFirewallPolicyRequest.Builder newBuilderForType()
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListAssociationsFirewallPolicyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListAssociationsFirewallPolicyRequest.Builder toBuilder()
Returns
TypeDescription
ListAssociationsFirewallPolicyRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException