Class ListApiSpecRevisionsResponse.Builder (0.28.0)

public static final class ListApiSpecRevisionsResponse.Builder extends GeneratedMessageV3.Builder<ListApiSpecRevisionsResponse.Builder> implements ListApiSpecRevisionsResponseOrBuilder

Response message for ListApiSpecRevisionsResponse.

Protobuf type google.cloud.apigeeregistry.v1.ListApiSpecRevisionsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

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
NameDescription
valuesIterable<? extends com.google.cloud.apigeeregistry.v1.ApiSpec>
Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder

addApiSpecs(ApiSpec value)

public ListApiSpecRevisionsResponse.Builder addApiSpecs(ApiSpec value)

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Parameter
NameDescription
valueApiSpec
Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder

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;

Parameter
NameDescription
builderForValueApiSpec.Builder
Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder

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
NameDescription
indexint
valueApiSpec
Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder

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;

Parameters
NameDescription
indexint
builderForValueApiSpec.Builder
Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder

addApiSpecsBuilder()

public ApiSpec.Builder addApiSpecsBuilder()

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Returns
TypeDescription
ApiSpec.Builder

addApiSpecsBuilder(int index)

public ApiSpec.Builder addApiSpecsBuilder(int index)

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ApiSpec.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListApiSpecRevisionsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder
Overrides

build()

public ListApiSpecRevisionsResponse build()
Returns
TypeDescription
ListApiSpecRevisionsResponse

buildPartial()

public ListApiSpecRevisionsResponse buildPartial()
Returns
TypeDescription
ListApiSpecRevisionsResponse

clear()

public ListApiSpecRevisionsResponse.Builder clear()
Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder
Overrides

clearApiSpecs()

public ListApiSpecRevisionsResponse.Builder clearApiSpecs()

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListApiSpecRevisionsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder
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;

Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListApiSpecRevisionsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder
Overrides

clone()

public ListApiSpecRevisionsResponse.Builder clone()
Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder
Overrides

getApiSpecs(int index)

public ApiSpec getApiSpecs(int index)

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ApiSpec

getApiSpecsBuilder(int index)

public ApiSpec.Builder getApiSpecsBuilder(int index)

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ApiSpec.Builder

getApiSpecsBuilderList()

public List<ApiSpec.Builder> getApiSpecsBuilderList()

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Returns
TypeDescription
List<Builder>

getApiSpecsCount()

public int getApiSpecsCount()

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Returns
TypeDescription
int

getApiSpecsList()

public List<ApiSpec> getApiSpecsList()

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Returns
TypeDescription
List<ApiSpec>

getApiSpecsOrBuilder(int index)

public ApiSpecOrBuilder getApiSpecsOrBuilder(int index)

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ApiSpecOrBuilder

getApiSpecsOrBuilderList()

public List<? extends ApiSpecOrBuilder> getApiSpecsOrBuilderList()

The revisions of the spec.

repeated .google.cloud.apigeeregistry.v1.ApiSpec api_specs = 1;

Returns
TypeDescription
List<? extends com.google.cloud.apigeeregistry.v1.ApiSpecOrBuilder>

getDefaultInstanceForType()

public ListApiSpecRevisionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListApiSpecRevisionsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListApiSpecRevisionsResponse other)

public ListApiSpecRevisionsResponse.Builder mergeFrom(ListApiSpecRevisionsResponse other)
Parameter
NameDescription
otherListApiSpecRevisionsResponse
Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListApiSpecRevisionsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListApiSpecRevisionsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListApiSpecRevisionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder
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
NameDescription
indexint
Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder

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
NameDescription
indexint
valueApiSpec
Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder

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;

Parameters
NameDescription
indexint
builderForValueApiSpec.Builder
Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListApiSpecRevisionsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder

This builder for chaining.

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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder

This builder for chaining.

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

public ListApiSpecRevisionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListApiSpecRevisionsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListApiSpecRevisionsResponse.Builder
Overrides