public static final class ListApisResponse.Builder extends GeneratedMessage.Builder<ListApisResponse.Builder> implements ListApisResponseOrBuilderThe ListApis method's response.
Protobuf type google.cloud.apihub.v1.ListApisResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListApisResponse.BuilderImplements
ListApisResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllApis(Iterable<? extends Api> values)
public ListApisResponse.Builder addAllApis(Iterable<? extends Api> values)The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.apihub.v1.Api> |
| Returns | |
|---|---|
| Type | Description |
ListApisResponse.Builder |
|
addApis(Api value)
public ListApisResponse.Builder addApis(Api value)The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Api |
| Returns | |
|---|---|
| Type | Description |
ListApisResponse.Builder |
|
addApis(Api.Builder builderForValue)
public ListApisResponse.Builder addApis(Api.Builder builderForValue)The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Api.Builder |
| Returns | |
|---|---|
| Type | Description |
ListApisResponse.Builder |
|
addApis(int index, Api value)
public ListApisResponse.Builder addApis(int index, Api value)The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Api |
| Returns | |
|---|---|
| Type | Description |
ListApisResponse.Builder |
|
addApis(int index, Api.Builder builderForValue)
public ListApisResponse.Builder addApis(int index, Api.Builder builderForValue)The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Api.Builder |
| Returns | |
|---|---|
| Type | Description |
ListApisResponse.Builder |
|
addApisBuilder()
public Api.Builder addApisBuilder()The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
| Returns | |
|---|---|
| Type | Description |
Api.Builder |
|
addApisBuilder(int index)
public Api.Builder addApisBuilder(int index)The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Api.Builder |
|
build()
public ListApisResponse build()| Returns | |
|---|---|
| Type | Description |
ListApisResponse |
|
buildPartial()
public ListApisResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListApisResponse |
|
clear()
public ListApisResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListApisResponse.Builder |
|
clearApis()
public ListApisResponse.Builder clearApis()The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
| Returns | |
|---|---|
| Type | Description |
ListApisResponse.Builder |
|
clearNextPageToken()
public ListApisResponse.Builder clearNextPageToken() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ListApisResponse.Builder |
This builder for chaining. |
getApis(int index)
public Api getApis(int index)The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Api |
|
getApisBuilder(int index)
public Api.Builder getApisBuilder(int index)The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Api.Builder |
|
getApisBuilderList()
public List<Api.Builder> getApisBuilderList()The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getApisCount()
public int getApisCount()The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getApisList()
public List<Api> getApisList()The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
| Returns | |
|---|---|
| Type | Description |
List<Api> |
|
getApisOrBuilder(int index)
public ApiOrBuilder getApisOrBuilder(int index)The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ApiOrBuilder |
|
getApisOrBuilderList()
public List<? extends ApiOrBuilder> getApisOrBuilderList()The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.apihub.v1.ApiOrBuilder> |
|
getDefaultInstanceForType()
public ListApisResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListApisResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
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(ListApisResponse other)
public ListApisResponse.Builder mergeFrom(ListApisResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListApisResponse |
| Returns | |
|---|---|
| Type | Description |
ListApisResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListApisResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListApisResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListApisResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListApisResponse.Builder |
|
removeApis(int index)
public ListApisResponse.Builder removeApis(int index)The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListApisResponse.Builder |
|
setApis(int index, Api value)
public ListApisResponse.Builder setApis(int index, Api value)The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Api |
| Returns | |
|---|---|
| Type | Description |
ListApisResponse.Builder |
|
setApis(int index, Api.Builder builderForValue)
public ListApisResponse.Builder setApis(int index, Api.Builder builderForValue)The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Api.Builder |
| Returns | |
|---|---|
| Type | Description |
ListApisResponse.Builder |
|
setNextPageToken(String value)
public ListApisResponse.Builder setNextPageToken(String value) A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListApisResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListApisResponse.Builder setNextPageTokenBytes(ByteString value) A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListApisResponse.Builder |
This builder for chaining. |