Class ListExternalApisResponse.Builder (0.2.0)

public static final class ListExternalApisResponse.Builder extends GeneratedMessageV3.Builder<ListExternalApisResponse.Builder> implements ListExternalApisResponseOrBuilder

The ListExternalApis method's response.

Protobuf type google.cloud.apihub.v1.ListExternalApisResponse

Static Methods

getDescriptor()

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

Methods

addAllExternalApis(Iterable<? extends ExternalApi> values)

public ListExternalApisResponse.Builder addAllExternalApis(Iterable<? extends ExternalApi> values)

The External API resources present in the API hub. Only following fields will be populated in the response: name, display_name, documentation.external_uri.

repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.apihub.v1.ExternalApi>
Returns
Type Description
ListExternalApisResponse.Builder

addExternalApis(ExternalApi value)

public ListExternalApisResponse.Builder addExternalApis(ExternalApi value)

The External API resources present in the API hub. Only following fields will be populated in the response: name, display_name, documentation.external_uri.

repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;

Parameter
Name Description
value ExternalApi
Returns
Type Description
ListExternalApisResponse.Builder

addExternalApis(ExternalApi.Builder builderForValue)

public ListExternalApisResponse.Builder addExternalApis(ExternalApi.Builder builderForValue)

The External API resources present in the API hub. Only following fields will be populated in the response: name, display_name, documentation.external_uri.

repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;

Parameter
Name Description
builderForValue ExternalApi.Builder
Returns
Type Description
ListExternalApisResponse.Builder

addExternalApis(int index, ExternalApi value)

public ListExternalApisResponse.Builder addExternalApis(int index, ExternalApi value)

The External API resources present in the API hub. Only following fields will be populated in the response: name, display_name, documentation.external_uri.

repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;

Parameters
Name Description
index int
value ExternalApi
Returns
Type Description
ListExternalApisResponse.Builder

addExternalApis(int index, ExternalApi.Builder builderForValue)

public ListExternalApisResponse.Builder addExternalApis(int index, ExternalApi.Builder builderForValue)

The External API resources present in the API hub. Only following fields will be populated in the response: name, display_name, documentation.external_uri.

repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;

Parameters
Name Description
index int
builderForValue ExternalApi.Builder
Returns
Type Description
ListExternalApisResponse.Builder

addExternalApisBuilder()

public ExternalApi.Builder addExternalApisBuilder()

The External API resources present in the API hub. Only following fields will be populated in the response: name, display_name, documentation.external_uri.

repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;

Returns
Type Description
ExternalApi.Builder

addExternalApisBuilder(int index)

public ExternalApi.Builder addExternalApisBuilder(int index)

The External API resources present in the API hub. Only following fields will be populated in the response: name, display_name, documentation.external_uri.

repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;

Parameter
Name Description
index int
Returns
Type Description
ExternalApi.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListExternalApisResponse build()
Returns
Type Description
ListExternalApisResponse

buildPartial()

public ListExternalApisResponse buildPartial()
Returns
Type Description
ListExternalApisResponse

clear()

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

clearExternalApis()

public ListExternalApisResponse.Builder clearExternalApis()

The External API resources present in the API hub. Only following fields will be populated in the response: name, display_name, documentation.external_uri.

repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;

Returns
Type Description
ListExternalApisResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ListExternalApisResponse getDefaultInstanceForType()
Returns
Type Description
ListExternalApisResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExternalApis(int index)

public ExternalApi getExternalApis(int index)

The External API resources present in the API hub. Only following fields will be populated in the response: name, display_name, documentation.external_uri.

repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;

Parameter
Name Description
index int
Returns
Type Description
ExternalApi

getExternalApisBuilder(int index)

public ExternalApi.Builder getExternalApisBuilder(int index)

The External API resources present in the API hub. Only following fields will be populated in the response: name, display_name, documentation.external_uri.

repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;

Parameter
Name Description
index int
Returns
Type Description
ExternalApi.Builder

getExternalApisBuilderList()

public List<ExternalApi.Builder> getExternalApisBuilderList()

The External API resources present in the API hub. Only following fields will be populated in the response: name, display_name, documentation.external_uri.

repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;

Returns
Type Description
List<Builder>

getExternalApisCount()

public int getExternalApisCount()

The External API resources present in the API hub. Only following fields will be populated in the response: name, display_name, documentation.external_uri.

repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;

Returns
Type Description
int

getExternalApisList()

public List<ExternalApi> getExternalApisList()

The External API resources present in the API hub. Only following fields will be populated in the response: name, display_name, documentation.external_uri.

repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;

Returns
Type Description
List<ExternalApi>

getExternalApisOrBuilder(int index)

public ExternalApiOrBuilder getExternalApisOrBuilder(int index)

The External API resources present in the API hub. Only following fields will be populated in the response: name, display_name, documentation.external_uri.

repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;

Parameter
Name Description
index int
Returns
Type Description
ExternalApiOrBuilder

getExternalApisOrBuilderList()

public List<? extends ExternalApiOrBuilder> getExternalApisOrBuilderList()

The External API resources present in the API hub. Only following fields will be populated in the response: name, display_name, documentation.external_uri.

repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;

Returns
Type Description
List<? extends com.google.cloud.apihub.v1.ExternalApiOrBuilder>

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeExternalApis(int index)

public ListExternalApisResponse.Builder removeExternalApis(int index)

The External API resources present in the API hub. Only following fields will be populated in the response: name, display_name, documentation.external_uri.

repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;

Parameter
Name Description
index int
Returns
Type Description
ListExternalApisResponse.Builder

setExternalApis(int index, ExternalApi value)

public ListExternalApisResponse.Builder setExternalApis(int index, ExternalApi value)

The External API resources present in the API hub. Only following fields will be populated in the response: name, display_name, documentation.external_uri.

repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;

Parameters
Name Description
index int
value ExternalApi
Returns
Type Description
ListExternalApisResponse.Builder

setExternalApis(int index, ExternalApi.Builder builderForValue)

public ListExternalApisResponse.Builder setExternalApis(int index, ExternalApi.Builder builderForValue)

The External API resources present in the API hub. Only following fields will be populated in the response: name, display_name, documentation.external_uri.

repeated .google.cloud.apihub.v1.ExternalApi external_apis = 1;

Parameters
Name Description
index int
builderForValue ExternalApi.Builder
Returns
Type Description
ListExternalApisResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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