Class ListApiVersionsResponse.Builder (0.51.0)

public static final class ListApiVersionsResponse.Builder extends GeneratedMessageV3.Builder<ListApiVersionsResponse.Builder> implements ListApiVersionsResponseOrBuilder

Response message for ListApiVersions.

Protobuf type google.cloud.apigeeregistry.v1.ListApiVersionsResponse

Static Methods

getDescriptor()

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

Methods

addAllApiVersions(Iterable<? extends ApiVersion> values)

public ListApiVersionsResponse.Builder addAllApiVersions(Iterable<? extends ApiVersion> values)

The versions from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;

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

addApiVersions(ApiVersion value)

public ListApiVersionsResponse.Builder addApiVersions(ApiVersion value)

The versions from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;

Parameter
Name Description
value ApiVersion
Returns
Type Description
ListApiVersionsResponse.Builder

addApiVersions(ApiVersion.Builder builderForValue)

public ListApiVersionsResponse.Builder addApiVersions(ApiVersion.Builder builderForValue)

The versions from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;

Parameter
Name Description
builderForValue ApiVersion.Builder
Returns
Type Description
ListApiVersionsResponse.Builder

addApiVersions(int index, ApiVersion value)

public ListApiVersionsResponse.Builder addApiVersions(int index, ApiVersion value)

The versions from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;

Parameters
Name Description
index int
value ApiVersion
Returns
Type Description
ListApiVersionsResponse.Builder

addApiVersions(int index, ApiVersion.Builder builderForValue)

public ListApiVersionsResponse.Builder addApiVersions(int index, ApiVersion.Builder builderForValue)

The versions from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;

Parameters
Name Description
index int
builderForValue ApiVersion.Builder
Returns
Type Description
ListApiVersionsResponse.Builder

addApiVersionsBuilder()

public ApiVersion.Builder addApiVersionsBuilder()

The versions from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;

Returns
Type Description
ApiVersion.Builder

addApiVersionsBuilder(int index)

public ApiVersion.Builder addApiVersionsBuilder(int index)

The versions from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
ApiVersion.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListApiVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListApiVersionsResponse.Builder
Overrides

build()

public ListApiVersionsResponse build()
Returns
Type Description
ListApiVersionsResponse

buildPartial()

public ListApiVersionsResponse buildPartial()
Returns
Type Description
ListApiVersionsResponse

clear()

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

clearApiVersions()

public ListApiVersionsResponse.Builder clearApiVersions()

The versions from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;

Returns
Type Description
ListApiVersionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListApiVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListApiVersionsResponse.Builder
Overrides

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListApiVersionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListApiVersionsResponse.Builder
Overrides

clone()

public ListApiVersionsResponse.Builder clone()
Returns
Type Description
ListApiVersionsResponse.Builder
Overrides

getApiVersions(int index)

public ApiVersion getApiVersions(int index)

The versions from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
ApiVersion

getApiVersionsBuilder(int index)

public ApiVersion.Builder getApiVersionsBuilder(int index)

The versions from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
ApiVersion.Builder

getApiVersionsBuilderList()

public List<ApiVersion.Builder> getApiVersionsBuilderList()

The versions from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;

Returns
Type Description
List<Builder>

getApiVersionsCount()

public int getApiVersionsCount()

The versions from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;

Returns
Type Description
int

getApiVersionsList()

public List<ApiVersion> getApiVersionsList()

The versions from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;

Returns
Type Description
List<ApiVersion>

getApiVersionsOrBuilder(int index)

public ApiVersionOrBuilder getApiVersionsOrBuilder(int index)

The versions from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
ApiVersionOrBuilder

getApiVersionsOrBuilderList()

public List<? extends ApiVersionOrBuilder> getApiVersionsOrBuilderList()

The versions from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;

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

getDefaultInstanceForType()

public ListApiVersionsResponse getDefaultInstanceForType()
Returns
Type Description
ListApiVersionsResponse

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListApiVersionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListApiVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListApiVersionsResponse.Builder
Overrides

removeApiVersions(int index)

public ListApiVersionsResponse.Builder removeApiVersions(int index)

The versions from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListApiVersionsResponse.Builder

setApiVersions(int index, ApiVersion value)

public ListApiVersionsResponse.Builder setApiVersions(int index, ApiVersion value)

The versions from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;

Parameters
Name Description
index int
value ApiVersion
Returns
Type Description
ListApiVersionsResponse.Builder

setApiVersions(int index, ApiVersion.Builder builderForValue)

public ListApiVersionsResponse.Builder setApiVersions(int index, ApiVersion.Builder builderForValue)

The versions from the specified publisher.

repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;

Parameters
Name Description
index int
builderForValue ApiVersion.Builder
Returns
Type Description
ListApiVersionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListApiVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListApiVersionsResponse.Builder
Overrides

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

public ListApiVersionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListApiVersionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListApiVersionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListApiVersionsResponse.Builder
Overrides