Class ListFirewallPoliciesResponse (3.31.0)

public final class ListFirewallPoliciesResponse extends GeneratedMessageV3 implements ListFirewallPoliciesResponseOrBuilder

Response to request to list firewall policies belonging to a key.

Protobuf type google.cloud.recaptchaenterprise.v1.ListFirewallPoliciesResponse

Static Fields

FIREWALL_POLICIES_FIELD_NUMBER

public static final int FIREWALL_POLICIES_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListFirewallPoliciesResponse getDefaultInstance()
Returns
TypeDescription
ListFirewallPoliciesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListFirewallPoliciesResponse prototype)

public static ListFirewallPoliciesResponse.Builder newBuilder(ListFirewallPoliciesResponse prototype)
Parameter
NameDescription
prototypeListFirewallPoliciesResponse
Returns
TypeDescription
ListFirewallPoliciesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListFirewallPoliciesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListFirewallPoliciesResponse

getFirewallPolicies(int index)

public FirewallPolicy getFirewallPolicies(int index)

Policy details.

repeated .google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policies = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
FirewallPolicy

getFirewallPoliciesCount()

public int getFirewallPoliciesCount()

Policy details.

repeated .google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policies = 1;

Returns
TypeDescription
int

getFirewallPoliciesList()

public List<FirewallPolicy> getFirewallPoliciesList()

Policy details.

repeated .google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policies = 1;

Returns
TypeDescription
List<FirewallPolicy>

getFirewallPoliciesOrBuilder(int index)

public FirewallPolicyOrBuilder getFirewallPoliciesOrBuilder(int index)

Policy details.

repeated .google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policies = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
FirewallPolicyOrBuilder

getFirewallPoliciesOrBuilderList()

public List<? extends FirewallPolicyOrBuilder> getFirewallPoliciesOrBuilderList()

Policy details.

repeated .google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policies = 1;

Returns
TypeDescription
List<? extends com.google.recaptchaenterprise.v1.FirewallPolicyOrBuilder>

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results. It is set to empty if no policies remain in results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results. It is set to empty if no policies remain in results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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 ListFirewallPoliciesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListFirewallPoliciesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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