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
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
Returns
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
Returns
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
Returns
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
Returns
addAccessPoliciesBuilder()
public AccessPolicy.Builder addAccessPoliciesBuilder()
List of the AccessPolicy instances.
repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;
Returns
addAccessPoliciesBuilder(int index)
public AccessPolicy.Builder addAccessPoliciesBuilder(int index)
List of the AccessPolicy instances.
repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;
Parameter
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListAccessPoliciesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListAccessPoliciesResponse build()
Returns
buildPartial()
public ListAccessPoliciesResponse buildPartial()
Returns
clear()
public ListAccessPoliciesResponse.Builder clear()
Returns
Overrides
clearAccessPolicies()
public ListAccessPoliciesResponse.Builder clearAccessPolicies()
List of the AccessPolicy instances.
repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListAccessPoliciesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListAccessPoliciesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListAccessPoliciesResponse.Builder clone()
Returns
Overrides
getAccessPolicies(int index)
public AccessPolicy getAccessPolicies(int index)
List of the AccessPolicy instances.
repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;
Parameter
Returns
getAccessPoliciesBuilder(int index)
public AccessPolicy.Builder getAccessPoliciesBuilder(int index)
List of the AccessPolicy instances.
repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;
Parameter
Returns
getAccessPoliciesBuilderList()
public List<AccessPolicy.Builder> getAccessPoliciesBuilderList()
List of the AccessPolicy instances.
repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;
Returns
getAccessPoliciesCount()
public int getAccessPoliciesCount()
List of the AccessPolicy instances.
repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;
Returns
getAccessPoliciesList()
public List<AccessPolicy> getAccessPoliciesList()
List of the AccessPolicy instances.
repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;
Returns
getAccessPoliciesOrBuilder(int index)
public AccessPolicyOrBuilder getAccessPoliciesOrBuilder(int index)
List of the AccessPolicy instances.
repeated .google.identity.accesscontextmanager.v1.AccessPolicy access_policies = 1;
Parameter
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListAccessPoliciesResponse other)
public ListAccessPoliciesResponse.Builder mergeFrom(ListAccessPoliciesResponse other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListAccessPoliciesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListAccessPoliciesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListAccessPoliciesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListAccessPoliciesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListAccessPoliciesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListAccessPoliciesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides