Class ListApiDeploymentsResponse.Builder (0.6.0)

public static final class ListApiDeploymentsResponse.Builder extends GeneratedMessageV3.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.apigeeregistry.v1.ApiDeployment>
Returns
TypeDescription
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
NameDescription
valueApiDeployment
Returns
TypeDescription
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
NameDescription
builderForValueApiDeployment.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueApiDeployment
Returns
TypeDescription
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
NameDescription
indexint
builderForValueApiDeployment.Builder
Returns
TypeDescription
ListApiDeploymentsResponse.Builder

addApiDeploymentsBuilder()

public ApiDeployment.Builder addApiDeploymentsBuilder()

The deployments from the specified publisher.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ApiDeployment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListApiDeploymentsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListApiDeploymentsResponse.Builder
Overrides

build()

public ListApiDeploymentsResponse build()
Returns
TypeDescription
ListApiDeploymentsResponse

buildPartial()

public ListApiDeploymentsResponse buildPartial()
Returns
TypeDescription
ListApiDeploymentsResponse

clear()

public ListApiDeploymentsResponse.Builder clear()
Returns
TypeDescription
ListApiDeploymentsResponse.Builder
Overrides

clearApiDeployments()

public ListApiDeploymentsResponse.Builder clearApiDeployments()

The deployments from the specified publisher.

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

Returns
TypeDescription
ListApiDeploymentsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListApiDeploymentsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListApiDeploymentsResponse.Builder
Overrides

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListApiDeploymentsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListApiDeploymentsResponse.Builder
Overrides

clone()

public ListApiDeploymentsResponse.Builder clone()
Returns
TypeDescription
ListApiDeploymentsResponse.Builder
Overrides

getApiDeployments(int index)

public ApiDeployment getApiDeployments(int index)

The deployments from the specified publisher.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ApiDeployment.Builder

getApiDeploymentsBuilderList()

public List<ApiDeployment.Builder> getApiDeploymentsBuilderList()

The deployments from the specified publisher.

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

Returns
TypeDescription
List<Builder>

getApiDeploymentsCount()

public int getApiDeploymentsCount()

The deployments from the specified publisher.

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

Returns
TypeDescription
int

getApiDeploymentsList()

public List<ApiDeployment> getApiDeploymentsList()

The deployments from the specified publisher.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ApiDeploymentOrBuilder

getApiDeploymentsOrBuilderList()

public List<? extends ApiDeploymentOrBuilder> getApiDeploymentsOrBuilderList()

The deployments from the specified publisher.

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

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

getDefaultInstanceForType()

public ListApiDeploymentsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListApiDeploymentsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListApiDeploymentsResponse other)

public ListApiDeploymentsResponse.Builder mergeFrom(ListApiDeploymentsResponse other)
Parameter
NameDescription
otherListApiDeploymentsResponse
Returns
TypeDescription
ListApiDeploymentsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListApiDeploymentsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListApiDeploymentsResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListApiDeploymentsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListApiDeploymentsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListApiDeploymentsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueApiDeployment
Returns
TypeDescription
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
NameDescription
indexint
builderForValueApiDeployment.Builder
Returns
TypeDescription
ListApiDeploymentsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListApiDeploymentsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListApiDeploymentsResponse.Builder
Overrides

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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListApiDeploymentsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListApiDeploymentsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListApiDeploymentsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListApiDeploymentsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListApiDeploymentsResponse.Builder
Overrides