public static final class ListApiSpecRevisionsResponse.Builder extends GeneratedMessageV3.Builder<ListApiSpecRevisionsResponse.Builder> implements ListApiSpecRevisionsResponseOrBuilder
Response message for ListApiSpecRevisionsResponse.
Protobuf type google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse
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
addAllApiSpecs(Iterable<? extends ApiSpec> values)
public ListApiSpecRevisionsResponse.Builder addAllApiSpecs(Iterable<? extends ApiSpec> values)
The revisions of the spec.
repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.apigeeregistry.v1.ApiSpec>
|
addApiSpecs(ApiSpec value)
public ListApiSpecRevisionsResponse.Builder addApiSpecs(ApiSpec value)
The revisions of the spec.
repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
Parameter |
Name |
Description |
value |
ApiSpec
|
addApiSpecs(ApiSpec.Builder builderForValue)
public ListApiSpecRevisionsResponse.Builder addApiSpecs(ApiSpec.Builder builderForValue)
The revisions of the spec.
repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
addApiSpecs(int index, ApiSpec value)
public ListApiSpecRevisionsResponse.Builder addApiSpecs(int index, ApiSpec value)
The revisions of the spec.
repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
Parameters |
Name |
Description |
index |
int
|
value |
ApiSpec
|
addApiSpecs(int index, ApiSpec.Builder builderForValue)
public ListApiSpecRevisionsResponse.Builder addApiSpecs(int index, ApiSpec.Builder builderForValue)
The revisions of the spec.
repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
addApiSpecsBuilder()
public ApiSpec.Builder addApiSpecsBuilder()
The revisions of the spec.
repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
addApiSpecsBuilder(int index)
public ApiSpec.Builder addApiSpecsBuilder(int index)
The revisions of the spec.
repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListApiSpecRevisionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListApiSpecRevisionsResponse build()
buildPartial()
public ListApiSpecRevisionsResponse buildPartial()
clear()
public ListApiSpecRevisionsResponse.Builder clear()
Overrides
clearApiSpecs()
public ListApiSpecRevisionsResponse.Builder clearApiSpecs()
The revisions of the spec.
repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
clearField(Descriptors.FieldDescriptor field)
public ListApiSpecRevisionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListApiSpecRevisionsResponse.Builder clearNextPageToken()
A token that 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 ListApiSpecRevisionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListApiSpecRevisionsResponse.Builder clone()
Overrides
getApiSpecs(int index)
public ApiSpec getApiSpecs(int index)
The revisions of the spec.
repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
Parameter |
Name |
Description |
index |
int
|
getApiSpecsBuilder(int index)
public ApiSpec.Builder getApiSpecsBuilder(int index)
The revisions of the spec.
repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
Parameter |
Name |
Description |
index |
int
|
getApiSpecsBuilderList()
public List<ApiSpec.Builder> getApiSpecsBuilderList()
The revisions of the spec.
repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
getApiSpecsCount()
public int getApiSpecsCount()
The revisions of the spec.
repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
Returns |
Type |
Description |
int |
|
getApiSpecsList()
public List<ApiSpec> getApiSpecsList()
The revisions of the spec.
repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
getApiSpecsOrBuilder(int index)
public ApiSpecOrBuilder getApiSpecsOrBuilder(int index)
The revisions of the spec.
repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
Parameter |
Name |
Description |
index |
int
|
getApiSpecsOrBuilderList()
public List<? extends ApiSpecOrBuilder> getApiSpecsOrBuilderList()
The revisions of the spec.
repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder> |
|
getDefaultInstanceForType()
public ListApiSpecRevisionsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getNextPageToken()
public String getNextPageToken()
A token that 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 that 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(ListApiSpecRevisionsResponse other)
public ListApiSpecRevisionsResponse.Builder mergeFrom(ListApiSpecRevisionsResponse other)
public ListApiSpecRevisionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListApiSpecRevisionsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListApiSpecRevisionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeApiSpecs(int index)
public ListApiSpecRevisionsResponse.Builder removeApiSpecs(int index)
The revisions of the spec.
repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
Parameter |
Name |
Description |
index |
int
|
setApiSpecs(int index, ApiSpec value)
public ListApiSpecRevisionsResponse.Builder setApiSpecs(int index, ApiSpec value)
The revisions of the spec.
repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
Parameters |
Name |
Description |
index |
int
|
value |
ApiSpec
|
setApiSpecs(int index, ApiSpec.Builder builderForValue)
public ListApiSpecRevisionsResponse.Builder setApiSpecs(int index, ApiSpec.Builder builderForValue)
The revisions of the spec.
repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public ListApiSpecRevisionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
public ListApiSpecRevisionsResponse.Builder setNextPageToken(String value)
A token that 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 ListApiSpecRevisionsResponse.Builder setNextPageTokenBytes(ByteString value)
A token that 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 ListApiSpecRevisionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListApiSpecRevisionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides