Class ListAclPoliciesResponse.Builder (0.49.0)

public static final class ListAclPoliciesResponse.Builder extends GeneratedMessage.Builder<ListAclPoliciesResponse.Builder> implements ListAclPoliciesResponseOrBuilder

Response for ListAclPolicies.

Protobuf type google.cloud.memorystore.v1beta.ListAclPoliciesResponse

Static Methods

getDescriptor()

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

Methods

addAclPolicies(AclPolicy value)

public ListAclPoliciesResponse.Builder addAclPolicies(AclPolicy value)

A list of ACL policies in the project in the specified location, or across all locations.

If the location in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memorystore.v1beta.AclPolicy acl_policies = 1;

Parameter
Name Description
value AclPolicy
Returns
Type Description
ListAclPoliciesResponse.Builder

addAclPolicies(AclPolicy.Builder builderForValue)

public ListAclPoliciesResponse.Builder addAclPolicies(AclPolicy.Builder builderForValue)

A list of ACL policies in the project in the specified location, or across all locations.

If the location in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memorystore.v1beta.AclPolicy acl_policies = 1;

Parameter
Name Description
builderForValue AclPolicy.Builder
Returns
Type Description
ListAclPoliciesResponse.Builder

addAclPolicies(int index, AclPolicy value)

public ListAclPoliciesResponse.Builder addAclPolicies(int index, AclPolicy value)

A list of ACL policies in the project in the specified location, or across all locations.

If the location in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memorystore.v1beta.AclPolicy acl_policies = 1;

Parameters
Name Description
index int
value AclPolicy
Returns
Type Description
ListAclPoliciesResponse.Builder

addAclPolicies(int index, AclPolicy.Builder builderForValue)

public ListAclPoliciesResponse.Builder addAclPolicies(int index, AclPolicy.Builder builderForValue)

A list of ACL policies in the project in the specified location, or across all locations.

If the location in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memorystore.v1beta.AclPolicy acl_policies = 1;

Parameters
Name Description
index int
builderForValue AclPolicy.Builder
Returns
Type Description
ListAclPoliciesResponse.Builder

addAclPoliciesBuilder()

public AclPolicy.Builder addAclPoliciesBuilder()

A list of ACL policies in the project in the specified location, or across all locations.

If the location in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memorystore.v1beta.AclPolicy acl_policies = 1;

Returns
Type Description
AclPolicy.Builder

addAclPoliciesBuilder(int index)

public AclPolicy.Builder addAclPoliciesBuilder(int index)

A list of ACL policies in the project in the specified location, or across all locations.

If the location in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memorystore.v1beta.AclPolicy acl_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
AclPolicy.Builder

addAllAclPolicies(Iterable<? extends AclPolicy> values)

public ListAclPoliciesResponse.Builder addAllAclPolicies(Iterable<? extends AclPolicy> values)

A list of ACL policies in the project in the specified location, or across all locations.

If the location in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memorystore.v1beta.AclPolicy acl_policies = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.memorystore.v1beta.AclPolicy>
Returns
Type Description
ListAclPoliciesResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListAclPoliciesResponse.Builder addAllUnreachable(Iterable<String> values)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListAclPoliciesResponse.Builder

This builder for chaining.

addUnreachable(String value)

public ListAclPoliciesResponse.Builder addUnreachable(String value)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListAclPoliciesResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListAclPoliciesResponse.Builder addUnreachableBytes(ByteString value)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListAclPoliciesResponse.Builder

This builder for chaining.

build()

public ListAclPoliciesResponse build()
Returns
Type Description
ListAclPoliciesResponse

buildPartial()

public ListAclPoliciesResponse buildPartial()
Returns
Type Description
ListAclPoliciesResponse

clear()

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

clearAclPolicies()

public ListAclPoliciesResponse.Builder clearAclPolicies()

A list of ACL policies in the project in the specified location, or across all locations.

If the location in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memorystore.v1beta.AclPolicy acl_policies = 1;

Returns
Type Description
ListAclPoliciesResponse.Builder

clearNextPageToken()

public ListAclPoliciesResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ListAclPoliciesResponse.Builder

This builder for chaining.

clearUnreachable()

public ListAclPoliciesResponse.Builder clearUnreachable()

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
ListAclPoliciesResponse.Builder

This builder for chaining.

getAclPolicies(int index)

public AclPolicy getAclPolicies(int index)

A list of ACL policies in the project in the specified location, or across all locations.

If the location in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memorystore.v1beta.AclPolicy acl_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
AclPolicy

getAclPoliciesBuilder(int index)

public AclPolicy.Builder getAclPoliciesBuilder(int index)

A list of ACL policies in the project in the specified location, or across all locations.

If the location in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memorystore.v1beta.AclPolicy acl_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
AclPolicy.Builder

getAclPoliciesBuilderList()

public List<AclPolicy.Builder> getAclPoliciesBuilderList()

A list of ACL policies in the project in the specified location, or across all locations.

If the location in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memorystore.v1beta.AclPolicy acl_policies = 1;

Returns
Type Description
List<Builder>

getAclPoliciesCount()

public int getAclPoliciesCount()

A list of ACL policies in the project in the specified location, or across all locations.

If the location in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memorystore.v1beta.AclPolicy acl_policies = 1;

Returns
Type Description
int

getAclPoliciesList()

public List<AclPolicy> getAclPoliciesList()

A list of ACL policies in the project in the specified location, or across all locations.

If the location in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memorystore.v1beta.AclPolicy acl_policies = 1;

Returns
Type Description
List<AclPolicy>

getAclPoliciesOrBuilder(int index)

public AclPolicyOrBuilder getAclPoliciesOrBuilder(int index)

A list of ACL policies in the project in the specified location, or across all locations.

If the location in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memorystore.v1beta.AclPolicy acl_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
AclPolicyOrBuilder

getAclPoliciesOrBuilderList()

public List<? extends AclPolicyOrBuilder> getAclPoliciesOrBuilderList()

A list of ACL policies in the project in the specified location, or across all locations.

If the location in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memorystore.v1beta.AclPolicy acl_policies = 1;

Returns
Type Description
List<? extends com.google.cloud.memorystore.v1beta.AclPolicyOrBuilder>

getDefaultInstanceForType()

public ListAclPoliciesResponse getDefaultInstanceForType()
Returns
Type Description
ListAclPoliciesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListAclPoliciesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeAclPolicies(int index)

public ListAclPoliciesResponse.Builder removeAclPolicies(int index)

A list of ACL policies in the project in the specified location, or across all locations.

If the location in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memorystore.v1beta.AclPolicy acl_policies = 1;

Parameter
Name Description
index int
Returns
Type Description
ListAclPoliciesResponse.Builder

setAclPolicies(int index, AclPolicy value)

public ListAclPoliciesResponse.Builder setAclPolicies(int index, AclPolicy value)

A list of ACL policies in the project in the specified location, or across all locations.

If the location in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memorystore.v1beta.AclPolicy acl_policies = 1;

Parameters
Name Description
index int
value AclPolicy
Returns
Type Description
ListAclPoliciesResponse.Builder

setAclPolicies(int index, AclPolicy.Builder builderForValue)

public ListAclPoliciesResponse.Builder setAclPolicies(int index, AclPolicy.Builder builderForValue)

A list of ACL policies in the project in the specified location, or across all locations.

If the location in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memorystore.v1beta.AclPolicy acl_policies = 1;

Parameters
Name Description
index int
builderForValue AclPolicy.Builder
Returns
Type Description
ListAclPoliciesResponse.Builder

setNextPageToken(String value)

public ListAclPoliciesResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListAclPoliciesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListAclPoliciesResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListAclPoliciesResponse.Builder

This builder for chaining.

setUnreachable(int index, String value)

public ListAclPoliciesResponse.Builder setUnreachable(int index, String value)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListAclPoliciesResponse.Builder

This builder for chaining.