Class ListApiSpecRevisionsResponse.Builder (0.85.0)

public static final class ListApiSpecRevisionsResponse.Builder extends GeneratedMessage.Builder<ListApiSpecRevisionsResponse.Builder> implements ListApiSpecRevisionsResponseOrBuilder

Response message for ListApiSpecRevisionsResponse.

Protobuf type google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse

Static Methods

getDescriptor()

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

Methods

addAllApiSpecs(Iterable<? extends ApiSpec> values)

public ListApiSpecRevisionsResponse.Builder addAllApiSpecs(Iterable<? extends ApiSpec> values)

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

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

addApiSpecs(ApiSpec value)

public ListApiSpecRevisionsResponse.Builder addApiSpecs(ApiSpec value)

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Parameter
Name Description
value ApiSpec
Returns
Type Description
ListApiSpecRevisionsResponse.Builder

addApiSpecs(ApiSpec.Builder builderForValue)

public ListApiSpecRevisionsResponse.Builder addApiSpecs(ApiSpec.Builder builderForValue)

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Parameter
Name Description
builderForValue ApiSpec.Builder
Returns
Type Description
ListApiSpecRevisionsResponse.Builder

addApiSpecs(int index, ApiSpec value)

public ListApiSpecRevisionsResponse.Builder addApiSpecs(int index, ApiSpec value)

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Parameters
Name Description
index int
value ApiSpec
Returns
Type Description
ListApiSpecRevisionsResponse.Builder

addApiSpecs(int index, ApiSpec.Builder builderForValue)

public ListApiSpecRevisionsResponse.Builder addApiSpecs(int index, ApiSpec.Builder builderForValue)

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Parameters
Name Description
index int
builderForValue ApiSpec.Builder
Returns
Type Description
ListApiSpecRevisionsResponse.Builder

addApiSpecsBuilder()

public ApiSpec.Builder addApiSpecsBuilder()

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Returns
Type Description
ApiSpec.Builder

addApiSpecsBuilder(int index)

public ApiSpec.Builder addApiSpecsBuilder(int index)

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Parameter
Name Description
index int
Returns
Type Description
ApiSpec.Builder

build()

public ListApiSpecRevisionsResponse build()
Returns
Type Description
ListApiSpecRevisionsResponse

buildPartial()

public ListApiSpecRevisionsResponse buildPartial()
Returns
Type Description
ListApiSpecRevisionsResponse

clear()

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

clearApiSpecs()

public ListApiSpecRevisionsResponse.Builder clearApiSpecs()

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Returns
Type Description
ListApiSpecRevisionsResponse.Builder

clearNextPageToken()

public ListApiSpecRevisionsResponse.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
Type Description
ListApiSpecRevisionsResponse.Builder

This builder for chaining.

getApiSpecs(int index)

public ApiSpec getApiSpecs(int index)

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Parameter
Name Description
index int
Returns
Type Description
ApiSpec

getApiSpecsBuilder(int index)

public ApiSpec.Builder getApiSpecsBuilder(int index)

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Parameter
Name Description
index int
Returns
Type Description
ApiSpec.Builder

getApiSpecsBuilderList()

public List<ApiSpec.Builder> getApiSpecsBuilderList()

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Returns
Type Description
List<Builder>

getApiSpecsCount()

public int getApiSpecsCount()

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Returns
Type Description
int

getApiSpecsList()

public List<ApiSpec> getApiSpecsList()

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Returns
Type Description
List<ApiSpec>

getApiSpecsOrBuilder(int index)

public ApiSpecOrBuilder getApiSpecsOrBuilder(int index)

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Parameter
Name Description
index int
Returns
Type Description
ApiSpecOrBuilder

getApiSpecsOrBuilderList()

public List<? extends ApiSpecOrBuilder> getApiSpecsOrBuilderList()

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

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

getDefaultInstanceForType()

public ListApiSpecRevisionsResponse getDefaultInstanceForType()
Returns
Type Description
ListApiSpecRevisionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
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(ListApiSpecRevisionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeApiSpecs(int index)

public ListApiSpecRevisionsResponse.Builder removeApiSpecs(int index)

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListApiSpecRevisionsResponse.Builder

setApiSpecs(int index, ApiSpec value)

public ListApiSpecRevisionsResponse.Builder setApiSpecs(int index, ApiSpec value)

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Parameters
Name Description
index int
value ApiSpec
Returns
Type Description
ListApiSpecRevisionsResponse.Builder

setApiSpecs(int index, ApiSpec.Builder builderForValue)

public ListApiSpecRevisionsResponse.Builder setApiSpecs(int index, ApiSpec.Builder builderForValue)

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Parameters
Name Description
index int
builderForValue ApiSpec.Builder
Returns
Type Description
ListApiSpecRevisionsResponse.Builder

setNextPageToken(String value)

public ListApiSpecRevisionsResponse.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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListApiSpecRevisionsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListApiSpecRevisionsResponse.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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListApiSpecRevisionsResponse.Builder

This builder for chaining.