Class ListAccessPoliciesResponse.Builder (1.30.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
TypeDescription
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
NameDescription
valueAccessPolicy
Returns
TypeDescription
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
NameDescription
builderForValueAccessPolicy.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueAccessPolicy
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAccessPolicy.Builder
Returns
TypeDescription
ListAccessPoliciesResponse.Builder

addAccessPoliciesBuilder()

public AccessPolicy.Builder addAccessPoliciesBuilder()

List of the AccessPolicy instances.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.identity.accesscontextmanager.v1.AccessPolicy>
Returns
TypeDescription
ListAccessPoliciesResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListAccessPoliciesResponse build()
Returns
TypeDescription
ListAccessPoliciesResponse

buildPartial()

public ListAccessPoliciesResponse buildPartial()
Returns
TypeDescription
ListAccessPoliciesResponse

clear()

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

clearAccessPolicies()

public ListAccessPoliciesResponse.Builder clearAccessPolicies()

List of the AccessPolicy instances.

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

Returns
TypeDescription
ListAccessPoliciesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListAccessPoliciesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListAccessPoliciesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListAccessPoliciesResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AccessPolicy.Builder

getAccessPoliciesBuilderList()

public List<AccessPolicy.Builder> getAccessPoliciesBuilderList()

List of the AccessPolicy instances.

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

Returns
TypeDescription
List<Builder>

getAccessPoliciesCount()

public int getAccessPoliciesCount()

List of the AccessPolicy instances.

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

Returns
TypeDescription
int

getAccessPoliciesList()

public List<AccessPolicy> getAccessPoliciesList()

List of the AccessPolicy instances.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
AccessPolicyOrBuilder

getAccessPoliciesOrBuilderList()

public List<? extends AccessPolicyOrBuilder> getAccessPoliciesOrBuilderList()

List of the AccessPolicy instances.

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

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

getDefaultInstanceForType()

public ListAccessPoliciesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListAccessPoliciesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
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(ListAccessPoliciesResponse other)

public ListAccessPoliciesResponse.Builder mergeFrom(ListAccessPoliciesResponse other)
Parameter
NameDescription
otherListAccessPoliciesResponse
Returns
TypeDescription
ListAccessPoliciesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListAccessPoliciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueAccessPolicy
Returns
TypeDescription
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
NameDescription
indexint
builderForValueAccessPolicy.Builder
Returns
TypeDescription
ListAccessPoliciesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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