public static final class ListDeploymentsResponse.Builder extends GeneratedMessage.Builder<ListDeploymentsResponse.Builder> implements ListDeploymentsResponseOrBuilderThe ListDeployments method's response.
Protobuf type google.cloud.apihub.v1.ListDeploymentsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListDeploymentsResponse.BuilderImplements
ListDeploymentsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllDeployments(Iterable<? extends Deployment> values)
public ListDeploymentsResponse.Builder addAllDeployments(Iterable<? extends Deployment> values)The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.apihub.v1.Deployment> |
| Returns | |
|---|---|
| Type | Description |
ListDeploymentsResponse.Builder |
|
addDeployments(Deployment value)
public ListDeploymentsResponse.Builder addDeployments(Deployment value)The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Deployment |
| Returns | |
|---|---|
| Type | Description |
ListDeploymentsResponse.Builder |
|
addDeployments(Deployment.Builder builderForValue)
public ListDeploymentsResponse.Builder addDeployments(Deployment.Builder builderForValue)The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Deployment.Builder |
| Returns | |
|---|---|
| Type | Description |
ListDeploymentsResponse.Builder |
|
addDeployments(int index, Deployment value)
public ListDeploymentsResponse.Builder addDeployments(int index, Deployment value)The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Deployment |
| Returns | |
|---|---|
| Type | Description |
ListDeploymentsResponse.Builder |
|
addDeployments(int index, Deployment.Builder builderForValue)
public ListDeploymentsResponse.Builder addDeployments(int index, Deployment.Builder builderForValue)The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Deployment.Builder |
| Returns | |
|---|---|
| Type | Description |
ListDeploymentsResponse.Builder |
|
addDeploymentsBuilder()
public Deployment.Builder addDeploymentsBuilder()The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
addDeploymentsBuilder(int index)
public Deployment.Builder addDeploymentsBuilder(int index)The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
build()
public ListDeploymentsResponse build()| Returns | |
|---|---|
| Type | Description |
ListDeploymentsResponse |
|
buildPartial()
public ListDeploymentsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListDeploymentsResponse |
|
clear()
public ListDeploymentsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListDeploymentsResponse.Builder |
|
clearDeployments()
public ListDeploymentsResponse.Builder clearDeployments()The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
| Returns | |
|---|---|
| Type | Description |
ListDeploymentsResponse.Builder |
|
clearNextPageToken()
public ListDeploymentsResponse.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 |
ListDeploymentsResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListDeploymentsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListDeploymentsResponse |
|
getDeployments(int index)
public Deployment getDeployments(int index)The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Deployment |
|
getDeploymentsBuilder(int index)
public Deployment.Builder getDeploymentsBuilder(int index)The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Deployment.Builder |
|
getDeploymentsBuilderList()
public List<Deployment.Builder> getDeploymentsBuilderList()The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getDeploymentsCount()
public int getDeploymentsCount()The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getDeploymentsList()
public List<Deployment> getDeploymentsList()The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
| Returns | |
|---|---|
| Type | Description |
List<Deployment> |
|
getDeploymentsOrBuilder(int index)
public DeploymentOrBuilder getDeploymentsOrBuilder(int index)The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
DeploymentOrBuilder |
|
getDeploymentsOrBuilderList()
public List<? extends DeploymentOrBuilder> getDeploymentsOrBuilderList()The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.apihub.v1.DeploymentOrBuilder> |
|
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(ListDeploymentsResponse other)
public ListDeploymentsResponse.Builder mergeFrom(ListDeploymentsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListDeploymentsResponse |
| Returns | |
|---|---|
| Type | Description |
ListDeploymentsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListDeploymentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListDeploymentsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListDeploymentsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListDeploymentsResponse.Builder |
|
removeDeployments(int index)
public ListDeploymentsResponse.Builder removeDeployments(int index)The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListDeploymentsResponse.Builder |
|
setDeployments(int index, Deployment value)
public ListDeploymentsResponse.Builder setDeployments(int index, Deployment value)The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Deployment |
| Returns | |
|---|---|
| Type | Description |
ListDeploymentsResponse.Builder |
|
setDeployments(int index, Deployment.Builder builderForValue)
public ListDeploymentsResponse.Builder setDeployments(int index, Deployment.Builder builderForValue)The deployment resources present in the API hub.
repeated .google.cloud.apihub.v1.Deployment deployments = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Deployment.Builder |
| Returns | |
|---|---|
| Type | Description |
ListDeploymentsResponse.Builder |
|
setNextPageToken(String value)
public ListDeploymentsResponse.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 |
ListDeploymentsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public ListDeploymentsResponse.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 |
ListDeploymentsResponse.Builder |
This builder for chaining. |