Class ListApiSpecsResponse.Builder (0.37.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.apigeeregistry.v1.ApiSpec>
Returns
TypeDescription
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
NameDescription
valueApiSpec
Returns
TypeDescription
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
NameDescription
builderForValueApiSpec.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueApiSpec
Returns
TypeDescription
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
NameDescription
indexint
builderForValueApiSpec.Builder
Returns
TypeDescription
ListApiSpecsResponse.Builder

addApiSpecsBuilder()

public ApiSpec.Builder addApiSpecsBuilder()

The specs from the specified publisher.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListApiSpecsResponse build()
Returns
TypeDescription
ListApiSpecsResponse

buildPartial()

public ListApiSpecsResponse buildPartial()
Returns
TypeDescription
ListApiSpecsResponse

clear()

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

clearApiSpecs()

public ListApiSpecsResponse.Builder clearApiSpecs()

The specs from the specified publisher.

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

Returns
TypeDescription
ListApiSpecsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getApiSpecsBuilderList()

public List<ApiSpec.Builder> getApiSpecsBuilderList()

The specs from the specified publisher.

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

Returns
TypeDescription
List<Builder>

getApiSpecsCount()

public int getApiSpecsCount()

The specs from the specified publisher.

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

Returns
TypeDescription
int

getApiSpecsList()

public List<ApiSpec> getApiSpecsList()

The specs from the specified publisher.

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

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

getApiSpecsOrBuilderList()

public List<? extends ApiSpecOrBuilder> getApiSpecsOrBuilderList()

The specs from the specified publisher.

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

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

getDefaultInstanceForType()

public ListApiSpecsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListApiSpecsResponse

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

public ListApiSpecsResponse.Builder mergeFrom(ListApiSpecsResponse other)
Parameter
NameDescription
otherListApiSpecsResponse
Returns
TypeDescription
ListApiSpecsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListApiSpecsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueApiSpec
Returns
TypeDescription
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
NameDescription
indexint
builderForValueApiSpec.Builder
Returns
TypeDescription
ListApiSpecsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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