public static final class ListApisResponse.Builder extends GeneratedMessageV3.Builder<ListApisResponse.Builder> implements ListApisResponseOrBuilder
The ListApis method's response.
Protobuf type google.cloud.apihub.v1.ListApisResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllApis(Iterable<? extends Api> values)
public ListApisResponse.Builder addAllApis(Iterable<? extends Api> values)
The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.apihub.v1.Api>
|
addApis(Api value)
public ListApisResponse.Builder addApis(Api value)
The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
Parameter |
Name |
Description |
value |
Api
|
addApis(Api.Builder builderForValue)
public ListApisResponse.Builder addApis(Api.Builder builderForValue)
The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
addApis(int index, Api value)
public ListApisResponse.Builder addApis(int index, Api value)
The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Api
|
addApis(int index, Api.Builder builderForValue)
public ListApisResponse.Builder addApis(int index, Api.Builder builderForValue)
The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
addApisBuilder()
public Api.Builder addApisBuilder()
The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
addApisBuilder(int index)
public Api.Builder addApisBuilder(int index)
The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListApisResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListApisResponse build()
buildPartial()
public ListApisResponse buildPartial()
clear()
public ListApisResponse.Builder clear()
Overrides
clearApis()
public ListApisResponse.Builder clearApis()
The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
clearField(Descriptors.FieldDescriptor field)
public ListApisResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListApisResponse.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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListApisResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListApisResponse.Builder clone()
Overrides
getApis(int index)
public Api getApis(int index)
The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Api |
|
getApisBuilder(int index)
public Api.Builder getApisBuilder(int index)
The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
Parameter |
Name |
Description |
index |
int
|
getApisBuilderList()
public List<Api.Builder> getApisBuilderList()
The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
getApisCount()
public int getApisCount()
The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
Returns |
Type |
Description |
int |
|
getApisList()
public List<Api> getApisList()
The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
getApisOrBuilder(int index)
public ApiOrBuilder getApisOrBuilder(int index)
The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
Parameter |
Name |
Description |
index |
int
|
getApisOrBuilderList()
public List<? extends ApiOrBuilder> getApisOrBuilderList()
The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.apihub.v1.ApiOrBuilder> |
|
getDefaultInstanceForType()
public ListApisResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListApisResponse other)
public ListApisResponse.Builder mergeFrom(ListApisResponse other)
public ListApisResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListApisResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListApisResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeApis(int index)
public ListApisResponse.Builder removeApis(int index)
The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
Parameter |
Name |
Description |
index |
int
|
setApis(int index, Api value)
public ListApisResponse.Builder setApis(int index, Api value)
The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
Parameters |
Name |
Description |
index |
int
|
value |
Api
|
setApis(int index, Api.Builder builderForValue)
public ListApisResponse.Builder setApis(int index, Api.Builder builderForValue)
The API resources present in the API hub.
repeated .google.cloud.apihub.v1.Api apis = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListApisResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListApisResponse.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.
|
setNextPageTokenBytes(ByteString value)
public ListApisResponse.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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListApisResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListApisResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides