Class ListScopeRBACRoleBindingsResponse.Builder (1.85.0)

public static final class ListScopeRBACRoleBindingsResponse.Builder extends GeneratedMessage.Builder<ListScopeRBACRoleBindingsResponse.Builder> implements ListScopeRBACRoleBindingsResponseOrBuilder

List of Scope RBACRoleBindings.

Protobuf type google.cloud.gkehub.v1.ListScopeRBACRoleBindingsResponse

Static Methods

getDescriptor()

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

Methods

addAllRbacrolebindings(Iterable<? extends RBACRoleBinding> values)

public ListScopeRBACRoleBindingsResponse.Builder addAllRbacrolebindings(Iterable<? extends RBACRoleBinding> values)

The list of Scope RBACRoleBindings.

repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.gkehub.v1.RBACRoleBinding>
Returns
Type Description
ListScopeRBACRoleBindingsResponse.Builder

addRbacrolebindings(RBACRoleBinding value)

public ListScopeRBACRoleBindingsResponse.Builder addRbacrolebindings(RBACRoleBinding value)

The list of Scope RBACRoleBindings.

repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;

Parameter
Name Description
value RBACRoleBinding
Returns
Type Description
ListScopeRBACRoleBindingsResponse.Builder

addRbacrolebindings(RBACRoleBinding.Builder builderForValue)

public ListScopeRBACRoleBindingsResponse.Builder addRbacrolebindings(RBACRoleBinding.Builder builderForValue)

The list of Scope RBACRoleBindings.

repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;

Parameter
Name Description
builderForValue RBACRoleBinding.Builder
Returns
Type Description
ListScopeRBACRoleBindingsResponse.Builder

addRbacrolebindings(int index, RBACRoleBinding value)

public ListScopeRBACRoleBindingsResponse.Builder addRbacrolebindings(int index, RBACRoleBinding value)

The list of Scope RBACRoleBindings.

repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;

Parameters
Name Description
index int
value RBACRoleBinding
Returns
Type Description
ListScopeRBACRoleBindingsResponse.Builder

addRbacrolebindings(int index, RBACRoleBinding.Builder builderForValue)

public ListScopeRBACRoleBindingsResponse.Builder addRbacrolebindings(int index, RBACRoleBinding.Builder builderForValue)

The list of Scope RBACRoleBindings.

repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;

Parameters
Name Description
index int
builderForValue RBACRoleBinding.Builder
Returns
Type Description
ListScopeRBACRoleBindingsResponse.Builder

addRbacrolebindingsBuilder()

public RBACRoleBinding.Builder addRbacrolebindingsBuilder()

The list of Scope RBACRoleBindings.

repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;

Returns
Type Description
RBACRoleBinding.Builder

addRbacrolebindingsBuilder(int index)

public RBACRoleBinding.Builder addRbacrolebindingsBuilder(int index)

The list of Scope RBACRoleBindings.

repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;

Parameter
Name Description
index int
Returns
Type Description
RBACRoleBinding.Builder

build()

public ListScopeRBACRoleBindingsResponse build()
Returns
Type Description
ListScopeRBACRoleBindingsResponse

buildPartial()

public ListScopeRBACRoleBindingsResponse buildPartial()
Returns
Type Description
ListScopeRBACRoleBindingsResponse

clear()

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

clearNextPageToken()

public ListScopeRBACRoleBindingsResponse.Builder clearNextPageToken()

A token to request the next page of resources from the ListScopeRBACRoleBindings method. The value of an empty string means that there are no more resources to return.

string next_page_token = 2;

Returns
Type Description
ListScopeRBACRoleBindingsResponse.Builder

This builder for chaining.

clearRbacrolebindings()

public ListScopeRBACRoleBindingsResponse.Builder clearRbacrolebindings()

The list of Scope RBACRoleBindings.

repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;

Returns
Type Description
ListScopeRBACRoleBindingsResponse.Builder

getDefaultInstanceForType()

public ListScopeRBACRoleBindingsResponse getDefaultInstanceForType()
Returns
Type Description
ListScopeRBACRoleBindingsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token to request the next page of resources from the ListScopeRBACRoleBindings method. The value of an empty string means that there are no more resources to return.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to request the next page of resources from the ListScopeRBACRoleBindings method. The value of an empty string means that there are no more resources to return.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getRbacrolebindings(int index)

public RBACRoleBinding getRbacrolebindings(int index)

The list of Scope RBACRoleBindings.

repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;

Parameter
Name Description
index int
Returns
Type Description
RBACRoleBinding

getRbacrolebindingsBuilder(int index)

public RBACRoleBinding.Builder getRbacrolebindingsBuilder(int index)

The list of Scope RBACRoleBindings.

repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;

Parameter
Name Description
index int
Returns
Type Description
RBACRoleBinding.Builder

getRbacrolebindingsBuilderList()

public List<RBACRoleBinding.Builder> getRbacrolebindingsBuilderList()

The list of Scope RBACRoleBindings.

repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;

Returns
Type Description
List<Builder>

getRbacrolebindingsCount()

public int getRbacrolebindingsCount()

The list of Scope RBACRoleBindings.

repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;

Returns
Type Description
int

getRbacrolebindingsList()

public List<RBACRoleBinding> getRbacrolebindingsList()

The list of Scope RBACRoleBindings.

repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;

Returns
Type Description
List<RBACRoleBinding>

getRbacrolebindingsOrBuilder(int index)

public RBACRoleBindingOrBuilder getRbacrolebindingsOrBuilder(int index)

The list of Scope RBACRoleBindings.

repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;

Parameter
Name Description
index int
Returns
Type Description
RBACRoleBindingOrBuilder

getRbacrolebindingsOrBuilderList()

public List<? extends RBACRoleBindingOrBuilder> getRbacrolebindingsOrBuilderList()

The list of Scope RBACRoleBindings.

repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;

Returns
Type Description
List<? extends com.google.cloud.gkehub.v1.RBACRoleBindingOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListScopeRBACRoleBindingsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeRbacrolebindings(int index)

public ListScopeRBACRoleBindingsResponse.Builder removeRbacrolebindings(int index)

The list of Scope RBACRoleBindings.

repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;

Parameter
Name Description
index int
Returns
Type Description
ListScopeRBACRoleBindingsResponse.Builder

setNextPageToken(String value)

public ListScopeRBACRoleBindingsResponse.Builder setNextPageToken(String value)

A token to request the next page of resources from the ListScopeRBACRoleBindings method. The value of an empty string means that there are no more resources to return.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListScopeRBACRoleBindingsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListScopeRBACRoleBindingsResponse.Builder setNextPageTokenBytes(ByteString value)

A token to request the next page of resources from the ListScopeRBACRoleBindings method. The value of an empty string means that there are no more resources to return.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListScopeRBACRoleBindingsResponse.Builder

This builder for chaining.

setRbacrolebindings(int index, RBACRoleBinding value)

public ListScopeRBACRoleBindingsResponse.Builder setRbacrolebindings(int index, RBACRoleBinding value)

The list of Scope RBACRoleBindings.

repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;

Parameters
Name Description
index int
value RBACRoleBinding
Returns
Type Description
ListScopeRBACRoleBindingsResponse.Builder

setRbacrolebindings(int index, RBACRoleBinding.Builder builderForValue)

public ListScopeRBACRoleBindingsResponse.Builder setRbacrolebindings(int index, RBACRoleBinding.Builder builderForValue)

The list of Scope RBACRoleBindings.

repeated .google.cloud.gkehub.v1.RBACRoleBinding rbacrolebindings = 1;

Parameters
Name Description
index int
builderForValue RBACRoleBinding.Builder
Returns
Type Description
ListScopeRBACRoleBindingsResponse.Builder