Class ListBindingsResponse.Builder (0.2.0)

public static final class ListBindingsResponse.Builder extends GeneratedMessage.Builder<ListBindingsResponse.Builder> implements ListBindingsResponseOrBuilder

Message for response to listing Bindings

Protobuf type google.cloud.agentregistry.v1.ListBindingsResponse

Static Methods

getDescriptor()

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

Methods

addAllBindings(Iterable<? extends Binding> values)

public ListBindingsResponse.Builder addAllBindings(Iterable<? extends Binding> values)

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.agentregistry.v1.Binding>
Returns
Type Description
ListBindingsResponse.Builder

addBindings(Binding value)

public ListBindingsResponse.Builder addBindings(Binding value)

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Parameter
Name Description
value Binding
Returns
Type Description
ListBindingsResponse.Builder

addBindings(Binding.Builder builderForValue)

public ListBindingsResponse.Builder addBindings(Binding.Builder builderForValue)

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Parameter
Name Description
builderForValue Binding.Builder
Returns
Type Description
ListBindingsResponse.Builder

addBindings(int index, Binding value)

public ListBindingsResponse.Builder addBindings(int index, Binding value)

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Parameters
Name Description
index int
value Binding
Returns
Type Description
ListBindingsResponse.Builder

addBindings(int index, Binding.Builder builderForValue)

public ListBindingsResponse.Builder addBindings(int index, Binding.Builder builderForValue)

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Parameters
Name Description
index int
builderForValue Binding.Builder
Returns
Type Description
ListBindingsResponse.Builder

addBindingsBuilder()

public Binding.Builder addBindingsBuilder()

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Returns
Type Description
Binding.Builder

addBindingsBuilder(int index)

public Binding.Builder addBindingsBuilder(int index)

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
Binding.Builder

build()

public ListBindingsResponse build()
Returns
Type Description
ListBindingsResponse

buildPartial()

public ListBindingsResponse buildPartial()
Returns
Type Description
ListBindingsResponse

clear()

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

clearBindings()

public ListBindingsResponse.Builder clearBindings()

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Returns
Type Description
ListBindingsResponse.Builder

clearNextPageToken()

public ListBindingsResponse.Builder clearNextPageToken()

A token identifying a page of results the server should return. Used in page_token.

string next_page_token = 2;

Returns
Type Description
ListBindingsResponse.Builder

This builder for chaining.

getBindings(int index)

public Binding getBindings(int index)

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
Binding

getBindingsBuilder(int index)

public Binding.Builder getBindingsBuilder(int index)

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
Binding.Builder

getBindingsBuilderList()

public List<Binding.Builder> getBindingsBuilderList()

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Returns
Type Description
List<Builder>

getBindingsCount()

public int getBindingsCount()

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Returns
Type Description
int

getBindingsList()

public List<Binding> getBindingsList()

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Returns
Type Description
List<Binding>

getBindingsOrBuilder(int index)

public BindingOrBuilder getBindingsOrBuilder(int index)

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
BindingOrBuilder

getBindingsOrBuilderList()

public List<? extends BindingOrBuilder> getBindingsOrBuilderList()

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Returns
Type Description
List<? extends com.google.cloud.agentregistry.v1.BindingOrBuilder>

getDefaultInstanceForType()

public ListBindingsResponse getDefaultInstanceForType()
Returns
Type Description
ListBindingsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token identifying a page of results the server should return. Used in page_token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token identifying a page of results the server should return. Used in page_token.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListBindingsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeBindings(int index)

public ListBindingsResponse.Builder removeBindings(int index)

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Parameter
Name Description
index int
Returns
Type Description
ListBindingsResponse.Builder

setBindings(int index, Binding value)

public ListBindingsResponse.Builder setBindings(int index, Binding value)

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Parameters
Name Description
index int
value Binding
Returns
Type Description
ListBindingsResponse.Builder

setBindings(int index, Binding.Builder builderForValue)

public ListBindingsResponse.Builder setBindings(int index, Binding.Builder builderForValue)

The list of Binding resources matching the parent and filter criteria in the request. Each Binding resource follows the format: projects/{project}/locations/{location}/bindings/{binding}.

repeated .google.cloud.agentregistry.v1.Binding bindings = 1;

Parameters
Name Description
index int
builderForValue Binding.Builder
Returns
Type Description
ListBindingsResponse.Builder

setNextPageToken(String value)

public ListBindingsResponse.Builder setNextPageToken(String value)

A token identifying a page of results the server should return. Used in page_token.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListBindingsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListBindingsResponse.Builder setNextPageTokenBytes(ByteString value)

A token identifying a page of results the server should return. Used in page_token.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListBindingsResponse.Builder

This builder for chaining.