Class ListApiDeploymentsResponse.Builder (0.88.0)

public static final class ListApiDeploymentsResponse.Builder extends GeneratedMessage.Builder<ListApiDeploymentsResponse.Builder> implements ListApiDeploymentsResponseOrBuilder

Response message for ListApiDeployments.

Protobuf type google.cloud.apigeeregistry.v1.ListApiDeploymentsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllApiDeployments(Iterable<? extends ApiDeployment> values)

public ListApiDeploymentsResponse.Builder addAllApiDeployments(Iterable<? extends ApiDeployment> values)

The deployments from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.apigeeregistry.v1.ApiDeployment>
Returns
Type Description
ListApiDeploymentsResponse.Builder

addApiDeployments(ApiDeployment value)

public ListApiDeploymentsResponse.Builder addApiDeployments(ApiDeployment value)

The deployments from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;

Parameter
Name Description
value ApiDeployment
Returns
Type Description
ListApiDeploymentsResponse.Builder

addApiDeployments(ApiDeployment.Builder builderForValue)

public ListApiDeploymentsResponse.Builder addApiDeployments(ApiDeployment.Builder builderForValue)

The deployments from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;

Parameter
Name Description
builderForValue ApiDeployment.Builder
Returns
Type Description
ListApiDeploymentsResponse.Builder

addApiDeployments(int index, ApiDeployment value)

public ListApiDeploymentsResponse.Builder addApiDeployments(int index, ApiDeployment value)

The deployments from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;

Parameters
Name Description
index int
value ApiDeployment
Returns
Type Description
ListApiDeploymentsResponse.Builder

addApiDeployments(int index, ApiDeployment.Builder builderForValue)

public ListApiDeploymentsResponse.Builder addApiDeployments(int index, ApiDeployment.Builder builderForValue)

The deployments from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;

Parameters
Name Description
index int
builderForValue ApiDeployment.Builder
Returns
Type Description
ListApiDeploymentsResponse.Builder

addApiDeploymentsBuilder()

public ApiDeployment.Builder addApiDeploymentsBuilder()

The deployments from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;

Returns
Type Description
ApiDeployment.Builder

addApiDeploymentsBuilder(int index)

public ApiDeployment.Builder addApiDeploymentsBuilder(int index)

The deployments from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
ApiDeployment.Builder

build()

public ListApiDeploymentsResponse build()
Returns
Type Description
ListApiDeploymentsResponse

buildPartial()

public ListApiDeploymentsResponse buildPartial()
Returns
Type Description
ListApiDeploymentsResponse

clear()

public ListApiDeploymentsResponse.Builder clear()
Returns
Type Description
ListApiDeploymentsResponse.Builder
Overrides

clearApiDeployments()

public ListApiDeploymentsResponse.Builder clearApiDeployments()

The deployments from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;

Returns
Type Description
ListApiDeploymentsResponse.Builder

clearNextPageToken()

public ListApiDeploymentsResponse.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
ListApiDeploymentsResponse.Builder

This builder for chaining.

getApiDeployments(int index)

public ApiDeployment getApiDeployments(int index)

The deployments from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
ApiDeployment

getApiDeploymentsBuilder(int index)

public ApiDeployment.Builder getApiDeploymentsBuilder(int index)

The deployments from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
ApiDeployment.Builder

getApiDeploymentsBuilderList()

public List<ApiDeployment.Builder> getApiDeploymentsBuilderList()

The deployments from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;

Returns
Type Description
List<Builder>

getApiDeploymentsCount()

public int getApiDeploymentsCount()

The deployments from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;

Returns
Type Description
int

getApiDeploymentsList()

public List<ApiDeployment> getApiDeploymentsList()

The deployments from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;

Returns
Type Description
List<ApiDeployment>

getApiDeploymentsOrBuilder(int index)

public ApiDeploymentOrBuilder getApiDeploymentsOrBuilder(int index)

The deployments from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
ApiDeploymentOrBuilder

getApiDeploymentsOrBuilderList()

public List<? extends ApiDeploymentOrBuilder> getApiDeploymentsOrBuilderList()

The deployments from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;

Returns
Type Description
List<? extends com.google.cloud.apigeeregistry.v1.ApiDeploymentOrBuilder>

getDefaultInstanceForType()

public ListApiDeploymentsResponse getDefaultInstanceForType()
Returns
Type Description
ListApiDeploymentsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListApiDeploymentsResponse other)

public ListApiDeploymentsResponse.Builder mergeFrom(ListApiDeploymentsResponse other)
Parameter
Name Description
other ListApiDeploymentsResponse
Returns
Type Description
ListApiDeploymentsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListApiDeploymentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListApiDeploymentsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListApiDeploymentsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListApiDeploymentsResponse.Builder
Overrides

removeApiDeployments(int index)

public ListApiDeploymentsResponse.Builder removeApiDeployments(int index)

The deployments from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;

Parameter
Name Description
index int
Returns
Type Description
ListApiDeploymentsResponse.Builder

setApiDeployments(int index, ApiDeployment value)

public ListApiDeploymentsResponse.Builder setApiDeployments(int index, ApiDeployment value)

The deployments from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;

Parameters
Name Description
index int
value ApiDeployment
Returns
Type Description
ListApiDeploymentsResponse.Builder

setApiDeployments(int index, ApiDeployment.Builder builderForValue)

public ListApiDeploymentsResponse.Builder setApiDeployments(int index, ApiDeployment.Builder builderForValue)

The deployments from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiDeployment api_deployments = 1;

Parameters
Name Description
index int
builderForValue ApiDeployment.Builder
Returns
Type Description
ListApiDeploymentsResponse.Builder

setNextPageToken(String value)

public ListApiDeploymentsResponse.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 String

The nextPageToken to set.

Returns
Type Description
ListApiDeploymentsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListApiDeploymentsResponse.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 ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListApiDeploymentsResponse.Builder

This builder for chaining.