public static final class FetchAvailableBindingsResponse.Builder extends GeneratedMessage.Builder<FetchAvailableBindingsResponse.Builder> implements FetchAvailableBindingsResponseOrBuilderMessage for response to fetching available Bindings.
Protobuf type google.cloud.agentregistry.v1.FetchAvailableBindingsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FetchAvailableBindingsResponse.BuilderImplements
FetchAvailableBindingsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllBindings(Iterable<? extends Binding> values)
public FetchAvailableBindingsResponse.Builder addAllBindings(Iterable<? extends Binding> values)The list of Bindings.
repeated .google.cloud.agentregistry.v1.Binding bindings = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.agentregistry.v1.Binding> |
| Returns | |
|---|---|
| Type | Description |
FetchAvailableBindingsResponse.Builder |
|
addBindings(Binding value)
public FetchAvailableBindingsResponse.Builder addBindings(Binding value)The list of Bindings.
repeated .google.cloud.agentregistry.v1.Binding bindings = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Binding |
| Returns | |
|---|---|
| Type | Description |
FetchAvailableBindingsResponse.Builder |
|
addBindings(Binding.Builder builderForValue)
public FetchAvailableBindingsResponse.Builder addBindings(Binding.Builder builderForValue)The list of Bindings.
repeated .google.cloud.agentregistry.v1.Binding bindings = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Binding.Builder |
| Returns | |
|---|---|
| Type | Description |
FetchAvailableBindingsResponse.Builder |
|
addBindings(int index, Binding value)
public FetchAvailableBindingsResponse.Builder addBindings(int index, Binding value)The list of Bindings.
repeated .google.cloud.agentregistry.v1.Binding bindings = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Binding |
| Returns | |
|---|---|
| Type | Description |
FetchAvailableBindingsResponse.Builder |
|
addBindings(int index, Binding.Builder builderForValue)
public FetchAvailableBindingsResponse.Builder addBindings(int index, Binding.Builder builderForValue)The list of Bindings.
repeated .google.cloud.agentregistry.v1.Binding bindings = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Binding.Builder |
| Returns | |
|---|---|
| Type | Description |
FetchAvailableBindingsResponse.Builder |
|
addBindingsBuilder()
public Binding.Builder addBindingsBuilder()The list of Bindings.
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 Bindings.
repeated .google.cloud.agentregistry.v1.Binding bindings = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Binding.Builder |
|
build()
public FetchAvailableBindingsResponse build()| Returns | |
|---|---|
| Type | Description |
FetchAvailableBindingsResponse |
|
buildPartial()
public FetchAvailableBindingsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
FetchAvailableBindingsResponse |
|
clear()
public FetchAvailableBindingsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
FetchAvailableBindingsResponse.Builder |
|
clearBindings()
public FetchAvailableBindingsResponse.Builder clearBindings()The list of Bindings.
repeated .google.cloud.agentregistry.v1.Binding bindings = 1;
| Returns | |
|---|---|
| Type | Description |
FetchAvailableBindingsResponse.Builder |
|
clearNextPageToken()
public FetchAvailableBindingsResponse.Builder clearNextPageToken()A token identifying a page of results the server should return.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
FetchAvailableBindingsResponse.Builder |
This builder for chaining. |
getBindings(int index)
public Binding getBindings(int index)The list of Bindings.
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 Bindings.
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 Bindings.
repeated .google.cloud.agentregistry.v1.Binding bindings = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getBindingsCount()
public int getBindingsCount()The list of Bindings.
repeated .google.cloud.agentregistry.v1.Binding bindings = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getBindingsList()
public List<Binding> getBindingsList()The list of Bindings.
repeated .google.cloud.agentregistry.v1.Binding bindings = 1;
| Returns | |
|---|---|
| Type | Description |
List<Binding> |
|
getBindingsOrBuilder(int index)
public BindingOrBuilder getBindingsOrBuilder(int index)The list of Bindings.
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 Bindings.
repeated .google.cloud.agentregistry.v1.Binding bindings = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.agentregistry.v1.BindingOrBuilder> |
|
getDefaultInstanceForType()
public FetchAvailableBindingsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FetchAvailableBindingsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken()A token identifying a page of results the server should return.
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.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FetchAvailableBindingsResponse other)
public FetchAvailableBindingsResponse.Builder mergeFrom(FetchAvailableBindingsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
FetchAvailableBindingsResponse |
| Returns | |
|---|---|
| Type | Description |
FetchAvailableBindingsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FetchAvailableBindingsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FetchAvailableBindingsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FetchAvailableBindingsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FetchAvailableBindingsResponse.Builder |
|
removeBindings(int index)
public FetchAvailableBindingsResponse.Builder removeBindings(int index)The list of Bindings.
repeated .google.cloud.agentregistry.v1.Binding bindings = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
FetchAvailableBindingsResponse.Builder |
|
setBindings(int index, Binding value)
public FetchAvailableBindingsResponse.Builder setBindings(int index, Binding value)The list of Bindings.
repeated .google.cloud.agentregistry.v1.Binding bindings = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Binding |
| Returns | |
|---|---|
| Type | Description |
FetchAvailableBindingsResponse.Builder |
|
setBindings(int index, Binding.Builder builderForValue)
public FetchAvailableBindingsResponse.Builder setBindings(int index, Binding.Builder builderForValue)The list of Bindings.
repeated .google.cloud.agentregistry.v1.Binding bindings = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Binding.Builder |
| Returns | |
|---|---|
| Type | Description |
FetchAvailableBindingsResponse.Builder |
|
setNextPageToken(String value)
public FetchAvailableBindingsResponse.Builder setNextPageToken(String value)A token identifying a page of results the server should return.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchAvailableBindingsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public FetchAvailableBindingsResponse.Builder setNextPageTokenBytes(ByteString value)A token identifying a page of results the server should return.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
FetchAvailableBindingsResponse.Builder |
This builder for chaining. |