public static final class ListPluginsResponse.Builder extends GeneratedMessage.Builder<ListPluginsResponse.Builder> implements ListPluginsResponseOrBuilderThe ListPlugins method's response.
Protobuf type google.cloud.apihub.v1.ListPluginsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListPluginsResponse.BuilderImplements
ListPluginsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllPlugins(Iterable<? extends Plugin> values)
public ListPluginsResponse.Builder addAllPlugins(Iterable<? extends Plugin> values)The plugins from the specified parent resource.
repeated .google.cloud.apihub.v1.Plugin plugins = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.apihub.v1.Plugin> |
| Returns | |
|---|---|
| Type | Description |
ListPluginsResponse.Builder |
|
addPlugins(Plugin value)
public ListPluginsResponse.Builder addPlugins(Plugin value)The plugins from the specified parent resource.
repeated .google.cloud.apihub.v1.Plugin plugins = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Plugin |
| Returns | |
|---|---|
| Type | Description |
ListPluginsResponse.Builder |
|
addPlugins(Plugin.Builder builderForValue)
public ListPluginsResponse.Builder addPlugins(Plugin.Builder builderForValue)The plugins from the specified parent resource.
repeated .google.cloud.apihub.v1.Plugin plugins = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Plugin.Builder |
| Returns | |
|---|---|
| Type | Description |
ListPluginsResponse.Builder |
|
addPlugins(int index, Plugin value)
public ListPluginsResponse.Builder addPlugins(int index, Plugin value)The plugins from the specified parent resource.
repeated .google.cloud.apihub.v1.Plugin plugins = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Plugin |
| Returns | |
|---|---|
| Type | Description |
ListPluginsResponse.Builder |
|
addPlugins(int index, Plugin.Builder builderForValue)
public ListPluginsResponse.Builder addPlugins(int index, Plugin.Builder builderForValue)The plugins from the specified parent resource.
repeated .google.cloud.apihub.v1.Plugin plugins = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Plugin.Builder |
| Returns | |
|---|---|
| Type | Description |
ListPluginsResponse.Builder |
|
addPluginsBuilder()
public Plugin.Builder addPluginsBuilder()The plugins from the specified parent resource.
repeated .google.cloud.apihub.v1.Plugin plugins = 1;
| Returns | |
|---|---|
| Type | Description |
Plugin.Builder |
|
addPluginsBuilder(int index)
public Plugin.Builder addPluginsBuilder(int index)The plugins from the specified parent resource.
repeated .google.cloud.apihub.v1.Plugin plugins = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Plugin.Builder |
|
build()
public ListPluginsResponse build()| Returns | |
|---|---|
| Type | Description |
ListPluginsResponse |
|
buildPartial()
public ListPluginsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListPluginsResponse |
|
clear()
public ListPluginsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListPluginsResponse.Builder |
|
clearNextPageToken()
public ListPluginsResponse.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 |
ListPluginsResponse.Builder |
This builder for chaining. |
clearPlugins()
public ListPluginsResponse.Builder clearPlugins()The plugins from the specified parent resource.
repeated .google.cloud.apihub.v1.Plugin plugins = 1;
| Returns | |
|---|---|
| Type | Description |
ListPluginsResponse.Builder |
|
getDefaultInstanceForType()
public ListPluginsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListPluginsResponse |
|
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. |
getPlugins(int index)
public Plugin getPlugins(int index)The plugins from the specified parent resource.
repeated .google.cloud.apihub.v1.Plugin plugins = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Plugin |
|
getPluginsBuilder(int index)
public Plugin.Builder getPluginsBuilder(int index)The plugins from the specified parent resource.
repeated .google.cloud.apihub.v1.Plugin plugins = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Plugin.Builder |
|
getPluginsBuilderList()
public List<Plugin.Builder> getPluginsBuilderList()The plugins from the specified parent resource.
repeated .google.cloud.apihub.v1.Plugin plugins = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getPluginsCount()
public int getPluginsCount()The plugins from the specified parent resource.
repeated .google.cloud.apihub.v1.Plugin plugins = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getPluginsList()
public List<Plugin> getPluginsList()The plugins from the specified parent resource.
repeated .google.cloud.apihub.v1.Plugin plugins = 1;
| Returns | |
|---|---|
| Type | Description |
List<Plugin> |
|
getPluginsOrBuilder(int index)
public PluginOrBuilder getPluginsOrBuilder(int index)The plugins from the specified parent resource.
repeated .google.cloud.apihub.v1.Plugin plugins = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PluginOrBuilder |
|
getPluginsOrBuilderList()
public List<? extends PluginOrBuilder> getPluginsOrBuilderList()The plugins from the specified parent resource.
repeated .google.cloud.apihub.v1.Plugin plugins = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.apihub.v1.PluginOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListPluginsResponse other)
public ListPluginsResponse.Builder mergeFrom(ListPluginsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListPluginsResponse |
| Returns | |
|---|---|
| Type | Description |
ListPluginsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListPluginsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListPluginsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListPluginsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListPluginsResponse.Builder |
|
removePlugins(int index)
public ListPluginsResponse.Builder removePlugins(int index)The plugins from the specified parent resource.
repeated .google.cloud.apihub.v1.Plugin plugins = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListPluginsResponse.Builder |
|
setNextPageToken(String value)
public ListPluginsResponse.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 |
ListPluginsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListPluginsResponse.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 |
ListPluginsResponse.Builder |
This builder for chaining. |
setPlugins(int index, Plugin value)
public ListPluginsResponse.Builder setPlugins(int index, Plugin value)The plugins from the specified parent resource.
repeated .google.cloud.apihub.v1.Plugin plugins = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Plugin |
| Returns | |
|---|---|
| Type | Description |
ListPluginsResponse.Builder |
|
setPlugins(int index, Plugin.Builder builderForValue)
public ListPluginsResponse.Builder setPlugins(int index, Plugin.Builder builderForValue)The plugins from the specified parent resource.
repeated .google.cloud.apihub.v1.Plugin plugins = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Plugin.Builder |
| Returns | |
|---|---|
| Type | Description |
ListPluginsResponse.Builder |
|