public static final class ListServicesResponse.Builder extends GeneratedMessage.Builder<ListServicesResponse.Builder> implements ListServicesResponseOrBuilderMessage for response to listing Services
Protobuf type google.cloud.agentregistry.v1.ListServicesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListServicesResponse.BuilderImplements
ListServicesResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllServices(Iterable<? extends Service> values)
public ListServicesResponse.Builder addAllServices(Iterable<? extends Service> values) The list of Service resources matching the parent and filter criteria in
the request. Each Service resource follows the format:
projects/{project}/locations/{location}/services/{service}.
repeated .google.cloud.agentregistry.v1.Service services = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.agentregistry.v1.Service> |
| Returns | |
|---|---|
| Type | Description |
ListServicesResponse.Builder |
|
addServices(Service value)
public ListServicesResponse.Builder addServices(Service value) The list of Service resources matching the parent and filter criteria in
the request. Each Service resource follows the format:
projects/{project}/locations/{location}/services/{service}.
repeated .google.cloud.agentregistry.v1.Service services = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Service |
| Returns | |
|---|---|
| Type | Description |
ListServicesResponse.Builder |
|
addServices(Service.Builder builderForValue)
public ListServicesResponse.Builder addServices(Service.Builder builderForValue) The list of Service resources matching the parent and filter criteria in
the request. Each Service resource follows the format:
projects/{project}/locations/{location}/services/{service}.
repeated .google.cloud.agentregistry.v1.Service services = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Service.Builder |
| Returns | |
|---|---|
| Type | Description |
ListServicesResponse.Builder |
|
addServices(int index, Service value)
public ListServicesResponse.Builder addServices(int index, Service value) The list of Service resources matching the parent and filter criteria in
the request. Each Service resource follows the format:
projects/{project}/locations/{location}/services/{service}.
repeated .google.cloud.agentregistry.v1.Service services = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Service |
| Returns | |
|---|---|
| Type | Description |
ListServicesResponse.Builder |
|
addServices(int index, Service.Builder builderForValue)
public ListServicesResponse.Builder addServices(int index, Service.Builder builderForValue) The list of Service resources matching the parent and filter criteria in
the request. Each Service resource follows the format:
projects/{project}/locations/{location}/services/{service}.
repeated .google.cloud.agentregistry.v1.Service services = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Service.Builder |
| Returns | |
|---|---|
| Type | Description |
ListServicesResponse.Builder |
|
addServicesBuilder()
public Service.Builder addServicesBuilder() The list of Service resources matching the parent and filter criteria in
the request. Each Service resource follows the format:
projects/{project}/locations/{location}/services/{service}.
repeated .google.cloud.agentregistry.v1.Service services = 1;
| Returns | |
|---|---|
| Type | Description |
Service.Builder |
|
addServicesBuilder(int index)
public Service.Builder addServicesBuilder(int index) The list of Service resources matching the parent and filter criteria in
the request. Each Service resource follows the format:
projects/{project}/locations/{location}/services/{service}.
repeated .google.cloud.agentregistry.v1.Service services = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Service.Builder |
|
build()
public ListServicesResponse build()| Returns | |
|---|---|
| Type | Description |
ListServicesResponse |
|
buildPartial()
public ListServicesResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListServicesResponse |
|
clear()
public ListServicesResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListServicesResponse.Builder |
|
clearNextPageToken()
public ListServicesResponse.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 |
ListServicesResponse.Builder |
This builder for chaining. |
clearServices()
public ListServicesResponse.Builder clearServices() The list of Service resources matching the parent and filter criteria in
the request. Each Service resource follows the format:
projects/{project}/locations/{location}/services/{service}.
repeated .google.cloud.agentregistry.v1.Service services = 1;
| Returns | |
|---|---|
| Type | Description |
ListServicesResponse.Builder |
|
getDefaultInstanceForType()
public ListServicesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListServicesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getServices(int index)
public Service getServices(int index) The list of Service resources matching the parent and filter criteria in
the request. Each Service resource follows the format:
projects/{project}/locations/{location}/services/{service}.
repeated .google.cloud.agentregistry.v1.Service services = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Service |
|
getServicesBuilder(int index)
public Service.Builder getServicesBuilder(int index) The list of Service resources matching the parent and filter criteria in
the request. Each Service resource follows the format:
projects/{project}/locations/{location}/services/{service}.
repeated .google.cloud.agentregistry.v1.Service services = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Service.Builder |
|
getServicesBuilderList()
public List<Service.Builder> getServicesBuilderList() The list of Service resources matching the parent and filter criteria in
the request. Each Service resource follows the format:
projects/{project}/locations/{location}/services/{service}.
repeated .google.cloud.agentregistry.v1.Service services = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getServicesCount()
public int getServicesCount() The list of Service resources matching the parent and filter criteria in
the request. Each Service resource follows the format:
projects/{project}/locations/{location}/services/{service}.
repeated .google.cloud.agentregistry.v1.Service services = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getServicesList()
public List<Service> getServicesList() The list of Service resources matching the parent and filter criteria in
the request. Each Service resource follows the format:
projects/{project}/locations/{location}/services/{service}.
repeated .google.cloud.agentregistry.v1.Service services = 1;
| Returns | |
|---|---|
| Type | Description |
List<Service> |
|
getServicesOrBuilder(int index)
public ServiceOrBuilder getServicesOrBuilder(int index) The list of Service resources matching the parent and filter criteria in
the request. Each Service resource follows the format:
projects/{project}/locations/{location}/services/{service}.
repeated .google.cloud.agentregistry.v1.Service services = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ServiceOrBuilder |
|
getServicesOrBuilderList()
public List<? extends ServiceOrBuilder> getServicesOrBuilderList() The list of Service resources matching the parent and filter criteria in
the request. Each Service resource follows the format:
projects/{project}/locations/{location}/services/{service}.
repeated .google.cloud.agentregistry.v1.Service services = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.agentregistry.v1.ServiceOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListServicesResponse other)
public ListServicesResponse.Builder mergeFrom(ListServicesResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListServicesResponse |
| Returns | |
|---|---|
| Type | Description |
ListServicesResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListServicesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListServicesResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListServicesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListServicesResponse.Builder |
|
removeServices(int index)
public ListServicesResponse.Builder removeServices(int index) The list of Service resources matching the parent and filter criteria in
the request. Each Service resource follows the format:
projects/{project}/locations/{location}/services/{service}.
repeated .google.cloud.agentregistry.v1.Service services = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListServicesResponse.Builder |
|
setNextPageToken(String value)
public ListServicesResponse.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 |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListServicesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListServicesResponse.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 |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListServicesResponse.Builder |
This builder for chaining. |
setServices(int index, Service value)
public ListServicesResponse.Builder setServices(int index, Service value) The list of Service resources matching the parent and filter criteria in
the request. Each Service resource follows the format:
projects/{project}/locations/{location}/services/{service}.
repeated .google.cloud.agentregistry.v1.Service services = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Service |
| Returns | |
|---|---|
| Type | Description |
ListServicesResponse.Builder |
|
setServices(int index, Service.Builder builderForValue)
public ListServicesResponse.Builder setServices(int index, Service.Builder builderForValue) The list of Service resources matching the parent and filter criteria in
the request. Each Service resource follows the format:
projects/{project}/locations/{location}/services/{service}.
repeated .google.cloud.agentregistry.v1.Service services = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Service.Builder |
| Returns | |
|---|---|
| Type | Description |
ListServicesResponse.Builder |
|