public static final class ListApiVersionsResponse.Builder extends GeneratedMessageV3.Builder<ListApiVersionsResponse.Builder> implements ListApiVersionsResponseOrBuilder
Response message for ListApiVersions.
Protobuf type google.cloud.apigeeregistry.v1.ListApiVersionsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
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
Name | Description |
values | Iterable<? extends com.google.cloud.apigeeregistry.v1.ApiVersion>
|
Returns
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
Returns
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
Returns
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
Returns
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
Returns
addApiVersionsBuilder()
public ApiVersion.Builder addApiVersionsBuilder()
The versions from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListApiVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListApiVersionsResponse build()
Returns
buildPartial()
public ListApiVersionsResponse buildPartial()
Returns
clear()
public ListApiVersionsResponse.Builder clear()
Returns
Overrides
clearApiVersions()
public ListApiVersionsResponse.Builder clearApiVersions()
The versions from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ListApiVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListApiVersionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListApiVersionsResponse.Builder clone()
Returns
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
Returns
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
Returns
getApiVersionsBuilderList()
public List<ApiVersion.Builder> getApiVersionsBuilderList()
The versions from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;
Returns
getApiVersionsCount()
public int getApiVersionsCount()
The versions from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;
Returns
getApiVersionsList()
public List<ApiVersion> getApiVersionsList()
The versions from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;
Returns
getApiVersionsOrBuilder(int index)
public ApiVersionOrBuilder getApiVersionsOrBuilder(int index)
The versions from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;
Parameter
Returns
getApiVersionsOrBuilderList()
public List<? extends ApiVersionOrBuilder> getApiVersionsOrBuilderList()
The versions from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;
Returns
Type | Description |
List<? extends com.google.cloud.apigeeregistry.v1.ApiVersionOrBuilder> | |
getDefaultInstanceForType()
public ListApiVersionsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListApiVersionsResponse other)
public ListApiVersionsResponse.Builder mergeFrom(ListApiVersionsResponse other)
Parameter
Returns
public ListApiVersionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListApiVersionsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListApiVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListApiVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Name | Description |
value | String
The nextPageToken to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListApiVersionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListApiVersionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides