Class ListAccessPoliciesResponse.Builder (1.48.0)

public static final class ListAccessPoliciesResponse.Builder extends GeneratedMessageV3.Builder<ListAccessPoliciesResponse.Builder> implements ListAccessPoliciesResponseOrBuilder

A response to ListAccessPoliciesRequest.

Protobuf type google.identity.accesscontextmanager.v1.ListAccessPoliciesResponse

Static Methods

getDescriptor()

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

Methods

addAccessPolicies(AccessPolicy value)

public ListAccessPoliciesResponse.Builder addAccessPolicies(AccessPolicy value)

List of the AccessPolicy instances.

repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;

Parameter
Name Description
value AccessPolicy
Returns
Type Description
ListAccessPoliciesResponse.Builder

addAccessPolicies(AccessPolicy.Builder builderForValue)

public ListAccessPoliciesResponse.Builder addAccessPolicies(AccessPolicy.Builder builderForValue)

List of the AccessPolicy instances.

repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;

Parameter
Name Description
builderForValue AccessPolicy.Builder
Returns
Type Description
ListAccessPoliciesResponse.Builder

addAccessPolicies(int index, AccessPolicy value)

public ListAccessPoliciesResponse.Builder addAccessPolicies(int index, AccessPolicy value)

List of the AccessPolicy instances.

repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;

Parameters
Name Description
index int
value AccessPolicy
Returns
Type Description
ListAccessPoliciesResponse.Builder

addAccessPolicies(int index, AccessPolicy.Builder builderForValue)

public ListAccessPoliciesResponse.Builder addAccessPolicies(int index, AccessPolicy.Builder builderForValue)

List of the AccessPolicy instances.

repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;

Parameters
Name Description
index int
builderForValue AccessPolicy.Builder
Returns
Type Description
ListAccessPoliciesResponse.Builder

addAccessPoliciesBuilder()

public AccessPolicy.Builder addAccessPoliciesBuilder()

List of the AccessPolicy instances.

repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;

Returns
Type Description
AccessPolicy.Builder

addAccessPoliciesBuilder(int index)

public AccessPolicy.Builder addAccessPoliciesBuilder(int index)

List of the AccessPolicy instances.

repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
AccessPolicy.Builder

addAllAccessPolicies(Iterable<? extends AccessPolicy> values)

public ListAccessPoliciesResponse.Builder addAllAccessPolicies(Iterable<? extends AccessPolicy> values)

List of the AccessPolicy instances.

repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;

Parameter
Name Description
values Iterable<? extends com.google.identity.accesscontextmanager.v1.AccessPolicy>
Returns
Type Description
ListAccessPoliciesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAccessPoliciesResponse build()
Returns
Type Description
ListAccessPoliciesResponse

buildPartial()

public ListAccessPoliciesResponse buildPartial()
Returns
Type Description
ListAccessPoliciesResponse

clear()

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

clearAccessPolicies()

public ListAccessPoliciesResponse.Builder clearAccessPolicies()

List of the AccessPolicy instances.

repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;

Returns
Type Description
ListAccessPoliciesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListAccessPoliciesResponse.Builder clearNextPageToken()

The pagination token to retrieve the next page of results. If the value is empty, no further results remain.

string next_page_token = 2;

Returns
Type Description
ListAccessPoliciesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAccessPolicies(int index)

public AccessPolicy getAccessPolicies(int index)

List of the AccessPolicy instances.

repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
AccessPolicy

getAccessPoliciesBuilder(int index)

public AccessPolicy.Builder getAccessPoliciesBuilder(int index)

List of the AccessPolicy instances.

repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
AccessPolicy.Builder

getAccessPoliciesBuilderList()

public List<AccessPolicy.Builder> getAccessPoliciesBuilderList()

List of the AccessPolicy instances.

repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;

Returns
Type Description
List<Builder>

getAccessPoliciesCount()

public int getAccessPoliciesCount()

List of the AccessPolicy instances.

repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;

Returns
Type Description
int

getAccessPoliciesList()

public List<AccessPolicy> getAccessPoliciesList()

List of the AccessPolicy instances.

repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;

Returns
Type Description
List<AccessPolicy>

getAccessPoliciesOrBuilder(int index)

public AccessPolicyOrBuilder getAccessPoliciesOrBuilder(int index)

List of the AccessPolicy instances.

repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
AccessPolicyOrBuilder

getAccessPoliciesOrBuilderList()

public List<? extends AccessPolicyOrBuilder> getAccessPoliciesOrBuilderList()

List of the AccessPolicy instances.

repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;

Returns
Type Description
List<? extends com.google.identity.accesscontextmanager.v1.AccessPolicyOrBuilder>

getDefaultInstanceForType()

public ListAccessPoliciesResponse getDefaultInstanceForType()
Returns
Type Description
ListAccessPoliciesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

The pagination token to retrieve the next page of results. If the value is empty, no further results remain.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The pagination token to retrieve the next page of results. If the value is empty, no further results remain.

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(ListAccessPoliciesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAccessPolicies(int index)

public ListAccessPoliciesResponse.Builder removeAccessPolicies(int index)

List of the AccessPolicy instances.

repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAccessPoliciesResponse.Builder

setAccessPolicies(int index, AccessPolicy value)

public ListAccessPoliciesResponse.Builder setAccessPolicies(int index, AccessPolicy value)

List of the AccessPolicy instances.

repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;

Parameters
Name Description
index int
value AccessPolicy
Returns
Type Description
ListAccessPoliciesResponse.Builder

setAccessPolicies(int index, AccessPolicy.Builder builderForValue)

public ListAccessPoliciesResponse.Builder setAccessPolicies(int index, AccessPolicy.Builder builderForValue)

List of the AccessPolicy instances.

repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;

Parameters
Name Description
index int
builderForValue AccessPolicy.Builder
Returns
Type Description
ListAccessPoliciesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListAccessPoliciesResponse.Builder setNextPageToken(String value)

The pagination token to retrieve the next page of results. If the value is empty, no further results remain.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListAccessPoliciesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAccessPoliciesResponse.Builder setNextPageTokenBytes(ByteString value)

The pagination token to retrieve the next page of results. If the value is empty, no further results remain.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListAccessPoliciesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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