Class ListApiDeploymentRevisionsResponse.Builder (0.5.0)

public static final class ListApiDeploymentRevisionsResponse.Builder extends GeneratedMessageV3.Builder<ListApiDeploymentRevisionsResponse.Builder> implements ListApiDeploymentRevisionsResponseOrBuilder

Response message for ListApiDeploymentRevisionsResponse.

Protobuf type google.cloud.apigeeregistry.v1.ListApiDeploymentRevisionsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllApiDeployments(Iterable<? extends ApiDeployment> values)

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

The revisions of the deployment.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.apigeeregistry.v1.ApiDeployment>
Returns
TypeDescription
ListApiDeploymentRevisionsResponse.Builder

addApiDeployments(ApiDeployment value)

public ListApiDeploymentRevisionsResponse.Builder addApiDeployments(ApiDeployment value)

The revisions of the deployment.

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

Parameter
NameDescription
valueApiDeployment
Returns
TypeDescription
ListApiDeploymentRevisionsResponse.Builder

addApiDeployments(ApiDeployment.Builder builderForValue)

public ListApiDeploymentRevisionsResponse.Builder addApiDeployments(ApiDeployment.Builder builderForValue)

The revisions of the deployment.

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

Parameter
NameDescription
builderForValueApiDeployment.Builder
Returns
TypeDescription
ListApiDeploymentRevisionsResponse.Builder

addApiDeployments(int index, ApiDeployment value)

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

The revisions of the deployment.

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

Parameters
NameDescription
indexint
valueApiDeployment
Returns
TypeDescription
ListApiDeploymentRevisionsResponse.Builder

addApiDeployments(int index, ApiDeployment.Builder builderForValue)

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

The revisions of the deployment.

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

Parameters
NameDescription
indexint
builderForValueApiDeployment.Builder
Returns
TypeDescription
ListApiDeploymentRevisionsResponse.Builder

addApiDeploymentsBuilder()

public ApiDeployment.Builder addApiDeploymentsBuilder()

The revisions of the deployment.

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

Returns
TypeDescription
ApiDeployment.Builder

addApiDeploymentsBuilder(int index)

public ApiDeployment.Builder addApiDeploymentsBuilder(int index)

The revisions of the deployment.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ApiDeployment.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListApiDeploymentRevisionsResponse build()
Returns
TypeDescription
ListApiDeploymentRevisionsResponse

buildPartial()

public ListApiDeploymentRevisionsResponse buildPartial()
Returns
TypeDescription
ListApiDeploymentRevisionsResponse

clear()

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

clearApiDeployments()

public ListApiDeploymentRevisionsResponse.Builder clearApiDeployments()

The revisions of the deployment.

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

Returns
TypeDescription
ListApiDeploymentRevisionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListApiDeploymentRevisionsResponse.Builder clearNextPageToken()

A token that 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
ListApiDeploymentRevisionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getApiDeployments(int index)

public ApiDeployment getApiDeployments(int index)

The revisions of the deployment.

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 revisions of the deployment.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ApiDeployment.Builder

getApiDeploymentsBuilderList()

public List<ApiDeployment.Builder> getApiDeploymentsBuilderList()

The revisions of the deployment.

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

Returns
TypeDescription
List<Builder>

getApiDeploymentsCount()

public int getApiDeploymentsCount()

The revisions of the deployment.

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

Returns
TypeDescription
int

getApiDeploymentsList()

public List<ApiDeployment> getApiDeploymentsList()

The revisions of the deployment.

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

Returns
TypeDescription
List<ApiDeployment>

getApiDeploymentsOrBuilder(int index)

public ApiDeploymentOrBuilder getApiDeploymentsOrBuilder(int index)

The revisions of the deployment.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ApiDeploymentOrBuilder

getApiDeploymentsOrBuilderList()

public List<? extends ApiDeploymentOrBuilder> getApiDeploymentsOrBuilderList()

The revisions of the deployment.

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

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

getDefaultInstanceForType()

public ListApiDeploymentRevisionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListApiDeploymentRevisionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

A token that 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 that 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(ListApiDeploymentRevisionsResponse other)

public ListApiDeploymentRevisionsResponse.Builder mergeFrom(ListApiDeploymentRevisionsResponse other)
Parameter
NameDescription
otherListApiDeploymentRevisionsResponse
Returns
TypeDescription
ListApiDeploymentRevisionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListApiDeploymentRevisionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListApiDeploymentRevisionsResponse.Builder
Overrides

removeApiDeployments(int index)

public ListApiDeploymentRevisionsResponse.Builder removeApiDeployments(int index)

The revisions of the deployment.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ListApiDeploymentRevisionsResponse.Builder

setApiDeployments(int index, ApiDeployment value)

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

The revisions of the deployment.

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

Parameters
NameDescription
indexint
valueApiDeployment
Returns
TypeDescription
ListApiDeploymentRevisionsResponse.Builder

setApiDeployments(int index, ApiDeployment.Builder builderForValue)

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

The revisions of the deployment.

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

Parameters
NameDescription
indexint
builderForValueApiDeployment.Builder
Returns
TypeDescription
ListApiDeploymentRevisionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListApiDeploymentRevisionsResponse.Builder setNextPageToken(String value)

A token that 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
ListApiDeploymentRevisionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListApiDeploymentRevisionsResponse.Builder setNextPageTokenBytes(ByteString value)

A token that 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
ListApiDeploymentRevisionsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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