Class ListFirewallPoliciesResponse.Builder (3.50.0)

public static final class ListFirewallPoliciesResponse.Builder extends GeneratedMessageV3.Builder<ListFirewallPoliciesResponse.Builder> implements ListFirewallPoliciesResponseOrBuilder

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

Protobuf type google.cloud.recaptchaenterprise.v1.ListFirewallPoliciesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllFirewallPolicies(Iterable<? extends FirewallPolicy> values)

public ListFirewallPoliciesResponse.Builder addAllFirewallPolicies(Iterable<? extends FirewallPolicy> values)

Policy details.

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

Parameter
Name Description
values Iterable<? extends com.google.recaptchaenterprise.v1.FirewallPolicy>
Returns
Type Description
ListFirewallPoliciesResponse.Builder

addFirewallPolicies(FirewallPolicy value)

public ListFirewallPoliciesResponse.Builder addFirewallPolicies(FirewallPolicy value)

Policy details.

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

Parameter
Name Description
value FirewallPolicy
Returns
Type Description
ListFirewallPoliciesResponse.Builder

addFirewallPolicies(FirewallPolicy.Builder builderForValue)

public ListFirewallPoliciesResponse.Builder addFirewallPolicies(FirewallPolicy.Builder builderForValue)

Policy details.

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

Parameter
Name Description
builderForValue FirewallPolicy.Builder
Returns
Type Description
ListFirewallPoliciesResponse.Builder

addFirewallPolicies(int index, FirewallPolicy value)

public ListFirewallPoliciesResponse.Builder addFirewallPolicies(int index, FirewallPolicy value)

Policy details.

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

Parameters
Name Description
index int
value FirewallPolicy
Returns
Type Description
ListFirewallPoliciesResponse.Builder

addFirewallPolicies(int index, FirewallPolicy.Builder builderForValue)

public ListFirewallPoliciesResponse.Builder addFirewallPolicies(int index, FirewallPolicy.Builder builderForValue)

Policy details.

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

Parameters
Name Description
index int
builderForValue FirewallPolicy.Builder
Returns
Type Description
ListFirewallPoliciesResponse.Builder

addFirewallPoliciesBuilder()

public FirewallPolicy.Builder addFirewallPoliciesBuilder()

Policy details.

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

Returns
Type Description
FirewallPolicy.Builder

addFirewallPoliciesBuilder(int index)

public FirewallPolicy.Builder addFirewallPoliciesBuilder(int index)

Policy details.

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

Parameter
Name Description
index int
Returns
Type Description
FirewallPolicy.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListFirewallPoliciesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListFirewallPoliciesResponse.Builder
Overrides

build()

public ListFirewallPoliciesResponse build()
Returns
Type Description
ListFirewallPoliciesResponse

buildPartial()

public ListFirewallPoliciesResponse buildPartial()
Returns
Type Description
ListFirewallPoliciesResponse

clear()

public ListFirewallPoliciesResponse.Builder clear()
Returns
Type Description
ListFirewallPoliciesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListFirewallPoliciesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListFirewallPoliciesResponse.Builder
Overrides

clearFirewallPolicies()

public ListFirewallPoliciesResponse.Builder clearFirewallPolicies()

Policy details.

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

Returns
Type Description
ListFirewallPoliciesResponse.Builder

clearNextPageToken()

public ListFirewallPoliciesResponse.Builder clearNextPageToken()

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
Type Description
ListFirewallPoliciesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListFirewallPoliciesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListFirewallPoliciesResponse.Builder
Overrides

clone()

public ListFirewallPoliciesResponse.Builder clone()
Returns
Type Description
ListFirewallPoliciesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListFirewallPoliciesResponse getDefaultInstanceForType()
Returns
Type Description
ListFirewallPoliciesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFirewallPolicies(int index)

public FirewallPolicy getFirewallPolicies(int index)

Policy details.

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

Parameter
Name Description
index int
Returns
Type Description
FirewallPolicy

getFirewallPoliciesBuilder(int index)

public FirewallPolicy.Builder getFirewallPoliciesBuilder(int index)

Policy details.

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

Parameter
Name Description
index int
Returns
Type Description
FirewallPolicy.Builder

getFirewallPoliciesBuilderList()

public List<FirewallPolicy.Builder> getFirewallPoliciesBuilderList()

Policy details.

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

Returns
Type Description
List<Builder>

getFirewallPoliciesCount()

public int getFirewallPoliciesCount()

Policy details.

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

Returns
Type Description
int

getFirewallPoliciesList()

public List<FirewallPolicy> getFirewallPoliciesList()

Policy details.

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

Returns
Type Description
List<FirewallPolicy>

getFirewallPoliciesOrBuilder(int index)

public FirewallPolicyOrBuilder getFirewallPoliciesOrBuilder(int index)

Policy details.

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

Parameter
Name Description
index int
Returns
Type Description
FirewallPolicyOrBuilder

getFirewallPoliciesOrBuilderList()

public List<? extends FirewallPolicyOrBuilder> getFirewallPoliciesOrBuilderList()

Policy details.

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

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListFirewallPoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListFirewallPoliciesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListFirewallPoliciesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListFirewallPoliciesResponse.Builder
Overrides

mergeFrom(ListFirewallPoliciesResponse other)

public ListFirewallPoliciesResponse.Builder mergeFrom(ListFirewallPoliciesResponse other)
Parameter
Name Description
other ListFirewallPoliciesResponse
Returns
Type Description
ListFirewallPoliciesResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListFirewallPoliciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListFirewallPoliciesResponse.Builder
Overrides

removeFirewallPolicies(int index)

public ListFirewallPoliciesResponse.Builder removeFirewallPolicies(int index)

Policy details.

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

Parameter
Name Description
index int
Returns
Type Description
ListFirewallPoliciesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListFirewallPoliciesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListFirewallPoliciesResponse.Builder
Overrides

setFirewallPolicies(int index, FirewallPolicy value)

public ListFirewallPoliciesResponse.Builder setFirewallPolicies(int index, FirewallPolicy value)

Policy details.

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

Parameters
Name Description
index int
value FirewallPolicy
Returns
Type Description
ListFirewallPoliciesResponse.Builder

setFirewallPolicies(int index, FirewallPolicy.Builder builderForValue)

public ListFirewallPoliciesResponse.Builder setFirewallPolicies(int index, FirewallPolicy.Builder builderForValue)

Policy details.

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

Parameters
Name Description
index int
builderForValue FirewallPolicy.Builder
Returns
Type Description
ListFirewallPoliciesResponse.Builder

setNextPageToken(String value)

public ListFirewallPoliciesResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListFirewallPoliciesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListFirewallPoliciesResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListFirewallPoliciesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListFirewallPoliciesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListFirewallPoliciesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListFirewallPoliciesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListFirewallPoliciesResponse.Builder
Overrides