Class ListGcpUserAccessBindingsResponse.Builder (1.42.0)

public static final class ListGcpUserAccessBindingsResponse.Builder extends GeneratedMessageV3.Builder<ListGcpUserAccessBindingsResponse.Builder> implements ListGcpUserAccessBindingsResponseOrBuilder

Response of [ListGcpUserAccessBindings] [google.identity.accesscontextmanager.v1.AccessContextManager.ListGcpUserAccessBindings].

Protobuf type google.identity.accesscontextmanager.v1.ListGcpUserAccessBindingsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllGcpUserAccessBindings(Iterable<? extends GcpUserAccessBinding> values)

public ListGcpUserAccessBindingsResponse.Builder addAllGcpUserAccessBindings(Iterable<? extends GcpUserAccessBinding> values)

[GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

repeated .google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_bindings = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.identity.accesscontextmanager.v1.GcpUserAccessBinding>
Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder

addGcpUserAccessBindings(GcpUserAccessBinding value)

public ListGcpUserAccessBindingsResponse.Builder addGcpUserAccessBindings(GcpUserAccessBinding value)

[GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

repeated .google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_bindings = 1;

Parameter
NameDescription
valueGcpUserAccessBinding
Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder

addGcpUserAccessBindings(GcpUserAccessBinding.Builder builderForValue)

public ListGcpUserAccessBindingsResponse.Builder addGcpUserAccessBindings(GcpUserAccessBinding.Builder builderForValue)

[GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

repeated .google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_bindings = 1;

Parameter
NameDescription
builderForValueGcpUserAccessBinding.Builder
Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder

addGcpUserAccessBindings(int index, GcpUserAccessBinding value)

public ListGcpUserAccessBindingsResponse.Builder addGcpUserAccessBindings(int index, GcpUserAccessBinding value)

[GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

repeated .google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_bindings = 1;

Parameters
NameDescription
indexint
valueGcpUserAccessBinding
Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder

addGcpUserAccessBindings(int index, GcpUserAccessBinding.Builder builderForValue)

public ListGcpUserAccessBindingsResponse.Builder addGcpUserAccessBindings(int index, GcpUserAccessBinding.Builder builderForValue)

[GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

repeated .google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_bindings = 1;

Parameters
NameDescription
indexint
builderForValueGcpUserAccessBinding.Builder
Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder

addGcpUserAccessBindingsBuilder()

public GcpUserAccessBinding.Builder addGcpUserAccessBindingsBuilder()

[GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

repeated .google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_bindings = 1;

Returns
TypeDescription
GcpUserAccessBinding.Builder

addGcpUserAccessBindingsBuilder(int index)

public GcpUserAccessBinding.Builder addGcpUserAccessBindingsBuilder(int index)

[GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

repeated .google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_bindings = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
GcpUserAccessBinding.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListGcpUserAccessBindingsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder
Overrides

build()

public ListGcpUserAccessBindingsResponse build()
Returns
TypeDescription
ListGcpUserAccessBindingsResponse

buildPartial()

public ListGcpUserAccessBindingsResponse buildPartial()
Returns
TypeDescription
ListGcpUserAccessBindingsResponse

clear()

public ListGcpUserAccessBindingsResponse.Builder clear()
Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListGcpUserAccessBindingsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder
Overrides

clearGcpUserAccessBindings()

public ListGcpUserAccessBindingsResponse.Builder clearGcpUserAccessBindings()

[GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

repeated .google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_bindings = 1;

Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder

clearNextPageToken()

public ListGcpUserAccessBindingsResponse.Builder clearNextPageToken()

Token to get the next page of items. If blank, there are no more items.

string next_page_token = 2;

Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListGcpUserAccessBindingsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder
Overrides

clone()

public ListGcpUserAccessBindingsResponse.Builder clone()
Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListGcpUserAccessBindingsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListGcpUserAccessBindingsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getGcpUserAccessBindings(int index)

public GcpUserAccessBinding getGcpUserAccessBindings(int index)

[GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

repeated .google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_bindings = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
GcpUserAccessBinding

getGcpUserAccessBindingsBuilder(int index)

public GcpUserAccessBinding.Builder getGcpUserAccessBindingsBuilder(int index)

[GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

repeated .google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_bindings = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
GcpUserAccessBinding.Builder

getGcpUserAccessBindingsBuilderList()

public List<GcpUserAccessBinding.Builder> getGcpUserAccessBindingsBuilderList()

[GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

repeated .google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_bindings = 1;

Returns
TypeDescription
List<Builder>

getGcpUserAccessBindingsCount()

public int getGcpUserAccessBindingsCount()

[GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

repeated .google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_bindings = 1;

Returns
TypeDescription
int

getGcpUserAccessBindingsList()

public List<GcpUserAccessBinding> getGcpUserAccessBindingsList()

[GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

repeated .google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_bindings = 1;

Returns
TypeDescription
List<GcpUserAccessBinding>

getGcpUserAccessBindingsOrBuilder(int index)

public GcpUserAccessBindingOrBuilder getGcpUserAccessBindingsOrBuilder(int index)

[GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

repeated .google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_bindings = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
GcpUserAccessBindingOrBuilder

getGcpUserAccessBindingsOrBuilderList()

public List<? extends GcpUserAccessBindingOrBuilder> getGcpUserAccessBindingsOrBuilderList()

[GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

repeated .google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_bindings = 1;

Returns
TypeDescription
List<? extends com.google.identity.accesscontextmanager.v1.GcpUserAccessBindingOrBuilder>

getNextPageToken()

public String getNextPageToken()

Token to get the next page of items. If blank, there are no more items.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to get the next page of items. If blank, there are no more items.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListGcpUserAccessBindingsResponse other)

public ListGcpUserAccessBindingsResponse.Builder mergeFrom(ListGcpUserAccessBindingsResponse other)
Parameter
NameDescription
otherListGcpUserAccessBindingsResponse
Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListGcpUserAccessBindingsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListGcpUserAccessBindingsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListGcpUserAccessBindingsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder
Overrides

removeGcpUserAccessBindings(int index)

public ListGcpUserAccessBindingsResponse.Builder removeGcpUserAccessBindings(int index)

[GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

repeated .google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_bindings = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListGcpUserAccessBindingsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder
Overrides

setGcpUserAccessBindings(int index, GcpUserAccessBinding value)

public ListGcpUserAccessBindingsResponse.Builder setGcpUserAccessBindings(int index, GcpUserAccessBinding value)

[GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

repeated .google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_bindings = 1;

Parameters
NameDescription
indexint
valueGcpUserAccessBinding
Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder

setGcpUserAccessBindings(int index, GcpUserAccessBinding.Builder builderForValue)

public ListGcpUserAccessBindingsResponse.Builder setGcpUserAccessBindings(int index, GcpUserAccessBinding.Builder builderForValue)

[GcpUserAccessBinding] [google.identity.accesscontextmanager.v1.GcpUserAccessBinding]

repeated .google.identity.accesscontextmanager.v1.GcpUserAccessBinding gcp_user_access_bindings = 1;

Parameters
NameDescription
indexint
builderForValueGcpUserAccessBinding.Builder
Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder

setNextPageToken(String value)

public ListGcpUserAccessBindingsResponse.Builder setNextPageToken(String value)

Token to get the next page of items. If blank, there are no more items.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListGcpUserAccessBindingsResponse.Builder setNextPageTokenBytes(ByteString value)

Token to get the next page of items. If blank, there are no more items.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListGcpUserAccessBindingsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListGcpUserAccessBindingsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListGcpUserAccessBindingsResponse.Builder
Overrides