Class SearchAccessPolicyBindingsResponse.Builder (1.67.0)

public static final class SearchAccessPolicyBindingsResponse.Builder extends GeneratedMessage.Builder<SearchAccessPolicyBindingsResponse.Builder> implements SearchAccessPolicyBindingsResponseOrBuilder

Response message for SearchAccessPolicyBindings rpc.

Protobuf type google.iam.v3beta.SearchAccessPolicyBindingsResponse

Static Methods

getDescriptor()

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

Methods

addAllPolicyBindings(Iterable<? extends PolicyBinding> values)

public SearchAccessPolicyBindingsResponse.Builder addAllPolicyBindings(Iterable<? extends PolicyBinding> values)

The policy bindings that reference the specified policy.

repeated .google.iam.v3beta.PolicyBinding policy_bindings = 1;

Parameter
Name Description
values Iterable<? extends com.google.iam.v3beta.PolicyBinding>
Returns
Type Description
SearchAccessPolicyBindingsResponse.Builder

addPolicyBindings(PolicyBinding value)

public SearchAccessPolicyBindingsResponse.Builder addPolicyBindings(PolicyBinding value)

The policy bindings that reference the specified policy.

repeated .google.iam.v3beta.PolicyBinding policy_bindings = 1;

Parameter
Name Description
value PolicyBinding
Returns
Type Description
SearchAccessPolicyBindingsResponse.Builder

addPolicyBindings(PolicyBinding.Builder builderForValue)

public SearchAccessPolicyBindingsResponse.Builder addPolicyBindings(PolicyBinding.Builder builderForValue)

The policy bindings that reference the specified policy.

repeated .google.iam.v3beta.PolicyBinding policy_bindings = 1;

Parameter
Name Description
builderForValue PolicyBinding.Builder
Returns
Type Description
SearchAccessPolicyBindingsResponse.Builder

addPolicyBindings(int index, PolicyBinding value)

public SearchAccessPolicyBindingsResponse.Builder addPolicyBindings(int index, PolicyBinding value)

The policy bindings that reference the specified policy.

repeated .google.iam.v3beta.PolicyBinding policy_bindings = 1;

Parameters
Name Description
index int
value PolicyBinding
Returns
Type Description
SearchAccessPolicyBindingsResponse.Builder

addPolicyBindings(int index, PolicyBinding.Builder builderForValue)

public SearchAccessPolicyBindingsResponse.Builder addPolicyBindings(int index, PolicyBinding.Builder builderForValue)

The policy bindings that reference the specified policy.

repeated .google.iam.v3beta.PolicyBinding policy_bindings = 1;

Parameters
Name Description
index int
builderForValue PolicyBinding.Builder
Returns
Type Description
SearchAccessPolicyBindingsResponse.Builder

addPolicyBindingsBuilder()

public PolicyBinding.Builder addPolicyBindingsBuilder()

The policy bindings that reference the specified policy.

repeated .google.iam.v3beta.PolicyBinding policy_bindings = 1;

Returns
Type Description
PolicyBinding.Builder

addPolicyBindingsBuilder(int index)

public PolicyBinding.Builder addPolicyBindingsBuilder(int index)

The policy bindings that reference the specified policy.

repeated .google.iam.v3beta.PolicyBinding policy_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
PolicyBinding.Builder

build()

public SearchAccessPolicyBindingsResponse build()
Returns
Type Description
SearchAccessPolicyBindingsResponse

buildPartial()

public SearchAccessPolicyBindingsResponse buildPartial()
Returns
Type Description
SearchAccessPolicyBindingsResponse

clear()

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

clearNextPageToken()

public SearchAccessPolicyBindingsResponse.Builder clearNextPageToken()

Optional. A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
SearchAccessPolicyBindingsResponse.Builder

This builder for chaining.

clearPolicyBindings()

public SearchAccessPolicyBindingsResponse.Builder clearPolicyBindings()

The policy bindings that reference the specified policy.

repeated .google.iam.v3beta.PolicyBinding policy_bindings = 1;

Returns
Type Description
SearchAccessPolicyBindingsResponse.Builder

getDefaultInstanceForType()

public SearchAccessPolicyBindingsResponse getDefaultInstanceForType()
Returns
Type Description
SearchAccessPolicyBindingsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Optional. A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Optional. A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for nextPageToken.

getPolicyBindings(int index)

public PolicyBinding getPolicyBindings(int index)

The policy bindings that reference the specified policy.

repeated .google.iam.v3beta.PolicyBinding policy_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
PolicyBinding

getPolicyBindingsBuilder(int index)

public PolicyBinding.Builder getPolicyBindingsBuilder(int index)

The policy bindings that reference the specified policy.

repeated .google.iam.v3beta.PolicyBinding policy_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
PolicyBinding.Builder

getPolicyBindingsBuilderList()

public List<PolicyBinding.Builder> getPolicyBindingsBuilderList()

The policy bindings that reference the specified policy.

repeated .google.iam.v3beta.PolicyBinding policy_bindings = 1;

Returns
Type Description
List<Builder>

getPolicyBindingsCount()

public int getPolicyBindingsCount()

The policy bindings that reference the specified policy.

repeated .google.iam.v3beta.PolicyBinding policy_bindings = 1;

Returns
Type Description
int

getPolicyBindingsList()

public List<PolicyBinding> getPolicyBindingsList()

The policy bindings that reference the specified policy.

repeated .google.iam.v3beta.PolicyBinding policy_bindings = 1;

Returns
Type Description
List<PolicyBinding>

getPolicyBindingsOrBuilder(int index)

public PolicyBindingOrBuilder getPolicyBindingsOrBuilder(int index)

The policy bindings that reference the specified policy.

repeated .google.iam.v3beta.PolicyBinding policy_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
PolicyBindingOrBuilder

getPolicyBindingsOrBuilderList()

public List<? extends PolicyBindingOrBuilder> getPolicyBindingsOrBuilderList()

The policy bindings that reference the specified policy.

repeated .google.iam.v3beta.PolicyBinding policy_bindings = 1;

Returns
Type Description
List<? extends com.google.iam.v3beta.PolicyBindingOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SearchAccessPolicyBindingsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removePolicyBindings(int index)

public SearchAccessPolicyBindingsResponse.Builder removePolicyBindings(int index)

The policy bindings that reference the specified policy.

repeated .google.iam.v3beta.PolicyBinding policy_bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
SearchAccessPolicyBindingsResponse.Builder

setNextPageToken(String value)

public SearchAccessPolicyBindingsResponse.Builder setNextPageToken(String value)

Optional. A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
SearchAccessPolicyBindingsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public SearchAccessPolicyBindingsResponse.Builder setNextPageTokenBytes(ByteString value)

Optional. A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
SearchAccessPolicyBindingsResponse.Builder

This builder for chaining.

setPolicyBindings(int index, PolicyBinding value)

public SearchAccessPolicyBindingsResponse.Builder setPolicyBindings(int index, PolicyBinding value)

The policy bindings that reference the specified policy.

repeated .google.iam.v3beta.PolicyBinding policy_bindings = 1;

Parameters
Name Description
index int
value PolicyBinding
Returns
Type Description
SearchAccessPolicyBindingsResponse.Builder

setPolicyBindings(int index, PolicyBinding.Builder builderForValue)

public SearchAccessPolicyBindingsResponse.Builder setPolicyBindings(int index, PolicyBinding.Builder builderForValue)

The policy bindings that reference the specified policy.

repeated .google.iam.v3beta.PolicyBinding policy_bindings = 1;

Parameters
Name Description
index int
builderForValue PolicyBinding.Builder
Returns
Type Description
SearchAccessPolicyBindingsResponse.Builder