Class ListApiSpecsResponse.Builder (0.52.0)

public static final class ListApiSpecsResponse.Builder extends GeneratedMessageV3.Builder<ListApiSpecsResponse.Builder> implements ListApiSpecsResponseOrBuilder

Response message for ListApiSpecs.

Protobuf type google.cloud.apigeeregistry.v1.ListApiSpecsResponse

Static Methods

getDescriptor()

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

Methods

addAllApiSpecs(Iterable<? extends ApiSpec> values)

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

The specs from the specified publisher.

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

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

addApiSpecs(ApiSpec value)

public ListApiSpecsResponse.Builder addApiSpecs(ApiSpec value)

The specs from the specified publisher.

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

Parameter
Name Description
value ApiSpec
Returns
Type Description
ListApiSpecsResponse.Builder

addApiSpecs(ApiSpec.Builder builderForValue)

public ListApiSpecsResponse.Builder addApiSpecs(ApiSpec.Builder builderForValue)

The specs from the specified publisher.

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

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

addApiSpecs(int index, ApiSpec value)

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

The specs from the specified publisher.

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

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

addApiSpecs(int index, ApiSpec.Builder builderForValue)

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

The specs from the specified publisher.

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

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

addApiSpecsBuilder()

public ApiSpec.Builder addApiSpecsBuilder()

The specs from the specified publisher.

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

Returns
Type Description
ApiSpec.Builder

addApiSpecsBuilder(int index)

public ApiSpec.Builder addApiSpecsBuilder(int index)

The specs from the specified publisher.

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

Parameter
Name Description
index int
Returns
Type Description
ApiSpec.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListApiSpecsResponse build()
Returns
Type Description
ListApiSpecsResponse

buildPartial()

public ListApiSpecsResponse buildPartial()
Returns
Type Description
ListApiSpecsResponse

clear()

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

clearApiSpecs()

public ListApiSpecsResponse.Builder clearApiSpecs()

The specs from the specified publisher.

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

Returns
Type Description
ListApiSpecsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getApiSpecs(int index)

public ApiSpec getApiSpecs(int index)

The specs from the specified publisher.

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 specs from the specified publisher.

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 specs from the specified publisher.

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

Returns
Type Description
List<Builder>

getApiSpecsCount()

public int getApiSpecsCount()

The specs from the specified publisher.

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

Returns
Type Description
int

getApiSpecsList()

public List<ApiSpec> getApiSpecsList()

The specs from the specified publisher.

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

Returns
Type Description
List<ApiSpec>

getApiSpecsOrBuilder(int index)

public ApiSpecOrBuilder getApiSpecsOrBuilder(int index)

The specs from the specified publisher.

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 specs from the specified publisher.

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

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

getDefaultInstanceForType()

public ListApiSpecsResponse getDefaultInstanceForType()
Returns
Type Description
ListApiSpecsResponse

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeApiSpecs(int index)

public ListApiSpecsResponse.Builder removeApiSpecs(int index)

The specs from the specified publisher.

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

Parameter
Name Description
index int
Returns
Type Description
ListApiSpecsResponse.Builder

setApiSpecs(int index, ApiSpec value)

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

The specs from the specified publisher.

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

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

setApiSpecs(int index, ApiSpec.Builder builderForValue)

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

The specs from the specified publisher.

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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