Class ListFirewallPoliciesResponse.Builder (3.33.0)

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

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

Protobuf type google.cloud.recaptchaenterprise.v1.ListFirewallPoliciesResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.recaptchaenterprise.v1.FirewallPolicy>
Returns
TypeDescription
ListFirewallPoliciesResponse.Builder

addFirewallPolicies(FirewallPolicy value)

public ListFirewallPoliciesResponse.Builder addFirewallPolicies(FirewallPolicy value)

Policy details.

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

Parameter
NameDescription
valueFirewallPolicy
Returns
TypeDescription
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
NameDescription
builderForValueFirewallPolicy.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueFirewallPolicy
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFirewallPolicy.Builder
Returns
TypeDescription
ListFirewallPoliciesResponse.Builder

addFirewallPoliciesBuilder()

public FirewallPolicy.Builder addFirewallPoliciesBuilder()

Policy details.

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

Returns
TypeDescription
FirewallPolicy.Builder

addFirewallPoliciesBuilder(int index)

public FirewallPolicy.Builder addFirewallPoliciesBuilder(int index)

Policy details.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FirewallPolicy.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListFirewallPoliciesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListFirewallPoliciesResponse.Builder
Overrides

build()

public ListFirewallPoliciesResponse build()
Returns
TypeDescription
ListFirewallPoliciesResponse

buildPartial()

public ListFirewallPoliciesResponse buildPartial()
Returns
TypeDescription
ListFirewallPoliciesResponse

clear()

public ListFirewallPoliciesResponse.Builder clear()
Returns
TypeDescription
ListFirewallPoliciesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListFirewallPoliciesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListFirewallPoliciesResponse.Builder
Overrides

clearFirewallPolicies()

public ListFirewallPoliciesResponse.Builder clearFirewallPolicies()

Policy details.

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

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListFirewallPoliciesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListFirewallPoliciesResponse.Builder
Overrides

clone()

public ListFirewallPoliciesResponse.Builder clone()
Returns
TypeDescription
ListFirewallPoliciesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListFirewallPoliciesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListFirewallPoliciesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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

getFirewallPoliciesBuilder(int index)

public FirewallPolicy.Builder getFirewallPoliciesBuilder(int index)

Policy details.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
FirewallPolicy.Builder

getFirewallPoliciesBuilderList()

public List<FirewallPolicy.Builder> getFirewallPoliciesBuilderList()

Policy details.

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

Returns
TypeDescription
List<Builder>

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListFirewallPoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListFirewallPoliciesResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListFirewallPoliciesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListFirewallPoliciesResponse.Builder
Overrides

mergeFrom(ListFirewallPoliciesResponse other)

public ListFirewallPoliciesResponse.Builder mergeFrom(ListFirewallPoliciesResponse other)
Parameter
NameDescription
otherListFirewallPoliciesResponse
Returns
TypeDescription
ListFirewallPoliciesResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListFirewallPoliciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListFirewallPoliciesResponse.Builder
Overrides

removeFirewallPolicies(int index)

public ListFirewallPoliciesResponse.Builder removeFirewallPolicies(int index)

Policy details.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListFirewallPoliciesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListFirewallPoliciesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueFirewallPolicy
Returns
TypeDescription
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
NameDescription
indexint
builderForValueFirewallPolicy.Builder
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListFirewallPoliciesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListFirewallPoliciesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListFirewallPoliciesResponse.Builder
Overrides