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.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
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>
|
addApiVersions(ApiVersion value)
public ListApiVersionsResponse.Builder addApiVersions(ApiVersion value)
The versions from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;
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;
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;
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;
addApiVersionsBuilder()
public ApiVersion.Builder addApiVersionsBuilder()
The versions from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;
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 |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListApiVersionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListApiVersionsResponse build()
buildPartial()
public ListApiVersionsResponse buildPartial()
clear()
public ListApiVersionsResponse.Builder clear()
Overrides
clearApiVersions()
public ListApiVersionsResponse.Builder clearApiVersions()
The versions from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;
clearField(Descriptors.FieldDescriptor field)
public ListApiVersionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListApiVersionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListApiVersionsResponse.Builder clone()
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 |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
getApiVersionsBuilderList()
public List<ApiVersion.Builder> getApiVersionsBuilderList()
The versions from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;
getApiVersionsCount()
public int getApiVersionsCount()
The versions from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;
Returns |
Type |
Description |
int |
|
getApiVersionsList()
public List<ApiVersion> getApiVersionsList()
The versions from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;
getApiVersionsOrBuilder(int index)
public ApiVersionOrBuilder getApiVersionsOrBuilder(int index)
The versions from the specified publisher.
repeated .google.cloud.apigeeregistry.v1.ApiVersion api_versions = 1;
Parameter |
Name |
Description |
index |
int
|
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()
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(ListApiVersionsResponse other)
public ListApiVersionsResponse.Builder mergeFrom(ListApiVersionsResponse other)
public ListApiVersionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListApiVersionsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListApiVersionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListApiVersionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListApiVersionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListApiVersionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides