Class ListApiVersionsResponse.Builder (0.14.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.apigeeregistry.v1.ApiVersion>
Returns
TypeDescription
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
NameDescription
valueApiVersion
Returns
TypeDescription
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
NameDescription
builderForValueApiVersion.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueApiVersion
Returns
TypeDescription
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
NameDescription
indexint
builderForValueApiVersion.Builder
Returns
TypeDescription
ListApiVersionsResponse.Builder

addApiVersionsBuilder()

public ApiVersion.Builder addApiVersionsBuilder()

The versions from the specified publisher.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListApiVersionsResponse build()
Returns
TypeDescription
ListApiVersionsResponse

buildPartial()

public ListApiVersionsResponse buildPartial()
Returns
TypeDescription
ListApiVersionsResponse

clear()

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

clearApiVersions()

public ListApiVersionsResponse.Builder clearApiVersions()

The versions from the specified publisher.

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

Returns
TypeDescription
ListApiVersionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListApiVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListApiVersionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListApiVersionsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ApiVersion.Builder

getApiVersionsBuilderList()

public List<ApiVersion.Builder> getApiVersionsBuilderList()

The versions from the specified publisher.

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

Returns
TypeDescription
List<Builder>

getApiVersionsCount()

public int getApiVersionsCount()

The versions from the specified publisher.

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

Returns
TypeDescription
int

getApiVersionsList()

public List<ApiVersion> getApiVersionsList()

The versions from the specified publisher.

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

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

getApiVersionsOrBuilderList()

public List<? extends ApiVersionOrBuilder> getApiVersionsOrBuilderList()

The versions from the specified publisher.

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

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

getDefaultInstanceForType()

public ListApiVersionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListApiVersionsResponse

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(ListApiVersionsResponse other)

public ListApiVersionsResponse.Builder mergeFrom(ListApiVersionsResponse other)
Parameter
NameDescription
otherListApiVersionsResponse
Returns
TypeDescription
ListApiVersionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListApiVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueApiVersion
Returns
TypeDescription
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
NameDescription
indexint
builderForValueApiVersion.Builder
Returns
TypeDescription
ListApiVersionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListApiVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListApiVersionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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