Class SearchTargetPolicyBindingsResponse.Builder (1.60.0)

public static final class SearchTargetPolicyBindingsResponse.Builder extends GeneratedMessage.Builder<SearchTargetPolicyBindingsResponse.Builder> implements SearchTargetPolicyBindingsResponseOrBuilder

Response message for SearchTargetPolicyBindings method.

Protobuf type google.iam.v3beta.SearchTargetPolicyBindingsResponse

Static Methods

getDescriptor()

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

Methods

addAllPolicyBindings(Iterable<? extends PolicyBinding> values)

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

The policy bindings bound to the specified target.

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

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

addPolicyBindings(PolicyBinding value)

public SearchTargetPolicyBindingsResponse.Builder addPolicyBindings(PolicyBinding value)

The policy bindings bound to the specified target.

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

Parameter
Name Description
value PolicyBinding
Returns
Type Description
SearchTargetPolicyBindingsResponse.Builder

addPolicyBindings(PolicyBinding.Builder builderForValue)

public SearchTargetPolicyBindingsResponse.Builder addPolicyBindings(PolicyBinding.Builder builderForValue)

The policy bindings bound to the specified target.

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

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

addPolicyBindings(int index, PolicyBinding value)

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

The policy bindings bound to the specified target.

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

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

addPolicyBindings(int index, PolicyBinding.Builder builderForValue)

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

The policy bindings bound to the specified target.

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

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

addPolicyBindingsBuilder()

public PolicyBinding.Builder addPolicyBindingsBuilder()

The policy bindings bound to the specified target.

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 bound to the specified target.

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

Parameter
Name Description
index int
Returns
Type Description
PolicyBinding.Builder

build()

public SearchTargetPolicyBindingsResponse build()
Returns
Type Description
SearchTargetPolicyBindingsResponse

buildPartial()

public SearchTargetPolicyBindingsResponse buildPartial()
Returns
Type Description
SearchTargetPolicyBindingsResponse

clear()

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

clearNextPageToken()

public SearchTargetPolicyBindingsResponse.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
SearchTargetPolicyBindingsResponse.Builder

This builder for chaining.

clearPolicyBindings()

public SearchTargetPolicyBindingsResponse.Builder clearPolicyBindings()

The policy bindings bound to the specified target.

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

Returns
Type Description
SearchTargetPolicyBindingsResponse.Builder

getDefaultInstanceForType()

public SearchTargetPolicyBindingsResponse getDefaultInstanceForType()
Returns
Type Description
SearchTargetPolicyBindingsResponse

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 bound to the specified target.

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 bound to the specified target.

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 bound to the specified target.

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

Returns
Type Description
List<Builder>

getPolicyBindingsCount()

public int getPolicyBindingsCount()

The policy bindings bound to the specified target.

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

Returns
Type Description
int

getPolicyBindingsList()

public List<PolicyBinding> getPolicyBindingsList()

The policy bindings bound to the specified target.

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

Returns
Type Description
List<PolicyBinding>

getPolicyBindingsOrBuilder(int index)

public PolicyBindingOrBuilder getPolicyBindingsOrBuilder(int index)

The policy bindings bound to the specified target.

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 bound to the specified target.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removePolicyBindings(int index)

public SearchTargetPolicyBindingsResponse.Builder removePolicyBindings(int index)

The policy bindings bound to the specified target.

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

Parameter
Name Description
index int
Returns
Type Description
SearchTargetPolicyBindingsResponse.Builder

setNextPageToken(String value)

public SearchTargetPolicyBindingsResponse.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
SearchTargetPolicyBindingsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public SearchTargetPolicyBindingsResponse.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
SearchTargetPolicyBindingsResponse.Builder

This builder for chaining.

setPolicyBindings(int index, PolicyBinding value)

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

The policy bindings bound to the specified target.

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

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

setPolicyBindings(int index, PolicyBinding.Builder builderForValue)

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

The policy bindings bound to the specified target.

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

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