public static final class ListCurationsResponse.Builder extends GeneratedMessage.Builder<ListCurationsResponse.Builder> implements ListCurationsResponseOrBuilderThe ListCurations method's response.
Protobuf type google.cloud.apihub.v1.ListCurationsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListCurationsResponse.BuilderImplements
ListCurationsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllCurations(Iterable<? extends Curation> values)
public ListCurationsResponse.Builder addAllCurations(Iterable<? extends Curation> values)The curation resources present in the API hub.
repeated .google.cloud.apihub.v1.Curation curations = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.apihub.v1.Curation> |
| Returns | |
|---|---|
| Type | Description |
ListCurationsResponse.Builder |
|
addCurations(Curation value)
public ListCurationsResponse.Builder addCurations(Curation value)The curation resources present in the API hub.
repeated .google.cloud.apihub.v1.Curation curations = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Curation |
| Returns | |
|---|---|
| Type | Description |
ListCurationsResponse.Builder |
|
addCurations(Curation.Builder builderForValue)
public ListCurationsResponse.Builder addCurations(Curation.Builder builderForValue)The curation resources present in the API hub.
repeated .google.cloud.apihub.v1.Curation curations = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Curation.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCurationsResponse.Builder |
|
addCurations(int index, Curation value)
public ListCurationsResponse.Builder addCurations(int index, Curation value)The curation resources present in the API hub.
repeated .google.cloud.apihub.v1.Curation curations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Curation |
| Returns | |
|---|---|
| Type | Description |
ListCurationsResponse.Builder |
|
addCurations(int index, Curation.Builder builderForValue)
public ListCurationsResponse.Builder addCurations(int index, Curation.Builder builderForValue)The curation resources present in the API hub.
repeated .google.cloud.apihub.v1.Curation curations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Curation.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCurationsResponse.Builder |
|
addCurationsBuilder()
public Curation.Builder addCurationsBuilder()The curation resources present in the API hub.
repeated .google.cloud.apihub.v1.Curation curations = 1;
| Returns | |
|---|---|
| Type | Description |
Curation.Builder |
|
addCurationsBuilder(int index)
public Curation.Builder addCurationsBuilder(int index)The curation resources present in the API hub.
repeated .google.cloud.apihub.v1.Curation curations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Curation.Builder |
|
build()
public ListCurationsResponse build()| Returns | |
|---|---|
| Type | Description |
ListCurationsResponse |
|
buildPartial()
public ListCurationsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListCurationsResponse |
|
clear()
public ListCurationsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListCurationsResponse.Builder |
|
clearCurations()
public ListCurationsResponse.Builder clearCurations()The curation resources present in the API hub.
repeated .google.cloud.apihub.v1.Curation curations = 1;
| Returns | |
|---|---|
| Type | Description |
ListCurationsResponse.Builder |
|
clearNextPageToken()
public ListCurationsResponse.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 |
ListCurationsResponse.Builder |
This builder for chaining. |
getCurations(int index)
public Curation getCurations(int index)The curation resources present in the API hub.
repeated .google.cloud.apihub.v1.Curation curations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Curation |
|
getCurationsBuilder(int index)
public Curation.Builder getCurationsBuilder(int index)The curation resources present in the API hub.
repeated .google.cloud.apihub.v1.Curation curations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Curation.Builder |
|
getCurationsBuilderList()
public List<Curation.Builder> getCurationsBuilderList()The curation resources present in the API hub.
repeated .google.cloud.apihub.v1.Curation curations = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getCurationsCount()
public int getCurationsCount()The curation resources present in the API hub.
repeated .google.cloud.apihub.v1.Curation curations = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getCurationsList()
public List<Curation> getCurationsList()The curation resources present in the API hub.
repeated .google.cloud.apihub.v1.Curation curations = 1;
| Returns | |
|---|---|
| Type | Description |
List<Curation> |
|
getCurationsOrBuilder(int index)
public CurationOrBuilder getCurationsOrBuilder(int index)The curation resources present in the API hub.
repeated .google.cloud.apihub.v1.Curation curations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CurationOrBuilder |
|
getCurationsOrBuilderList()
public List<? extends CurationOrBuilder> getCurationsOrBuilderList()The curation resources present in the API hub.
repeated .google.cloud.apihub.v1.Curation curations = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.apihub.v1.CurationOrBuilder> |
|
getDefaultInstanceForType()
public ListCurationsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListCurationsResponse |
|
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(ListCurationsResponse other)
public ListCurationsResponse.Builder mergeFrom(ListCurationsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListCurationsResponse |
| Returns | |
|---|---|
| Type | Description |
ListCurationsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListCurationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListCurationsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListCurationsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListCurationsResponse.Builder |
|
removeCurations(int index)
public ListCurationsResponse.Builder removeCurations(int index)The curation resources present in the API hub.
repeated .google.cloud.apihub.v1.Curation curations = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListCurationsResponse.Builder |
|
setCurations(int index, Curation value)
public ListCurationsResponse.Builder setCurations(int index, Curation value)The curation resources present in the API hub.
repeated .google.cloud.apihub.v1.Curation curations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Curation |
| Returns | |
|---|---|
| Type | Description |
ListCurationsResponse.Builder |
|
setCurations(int index, Curation.Builder builderForValue)
public ListCurationsResponse.Builder setCurations(int index, Curation.Builder builderForValue)The curation resources present in the API hub.
repeated .google.cloud.apihub.v1.Curation curations = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Curation.Builder |
| Returns | |
|---|---|
| Type | Description |
ListCurationsResponse.Builder |
|
setNextPageToken(String value)
public ListCurationsResponse.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 |
ListCurationsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListCurationsResponse.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 |
ListCurationsResponse.Builder |
This builder for chaining. |