Class ListApiOperationsResponse.Builder (0.1.0)

public static final class ListApiOperationsResponse.Builder extends GeneratedMessageV3.Builder<ListApiOperationsResponse.Builder> implements ListApiOperationsResponseOrBuilder

The ListApiOperations method's response.

Protobuf type google.cloud.apihub.v1.ListApiOperationsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllApiOperations(Iterable<? extends ApiOperation> values)

public ListApiOperationsResponse.Builder addAllApiOperations(Iterable<? extends ApiOperation> values)

The operations corresponding to an API version. Only following field will be populated in the response: name, spec, details.deprecated, details.http_operation.path.path, details.http_operation.method and details.documentation.external_uri.

repeated .google.cloud.apihub.v1.ApiOperation api_operations = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.apihub.v1.ApiOperation>
Returns
Type Description
ListApiOperationsResponse.Builder

addApiOperations(ApiOperation value)

public ListApiOperationsResponse.Builder addApiOperations(ApiOperation value)

The operations corresponding to an API version. Only following field will be populated in the response: name, spec, details.deprecated, details.http_operation.path.path, details.http_operation.method and details.documentation.external_uri.

repeated .google.cloud.apihub.v1.ApiOperation api_operations = 1;

Parameter
Name Description
value ApiOperation
Returns
Type Description
ListApiOperationsResponse.Builder

addApiOperations(ApiOperation.Builder builderForValue)

public ListApiOperationsResponse.Builder addApiOperations(ApiOperation.Builder builderForValue)

The operations corresponding to an API version. Only following field will be populated in the response: name, spec, details.deprecated, details.http_operation.path.path, details.http_operation.method and details.documentation.external_uri.

repeated .google.cloud.apihub.v1.ApiOperation api_operations = 1;

Parameter
Name Description
builderForValue ApiOperation.Builder
Returns
Type Description
ListApiOperationsResponse.Builder

addApiOperations(int index, ApiOperation value)

public ListApiOperationsResponse.Builder addApiOperations(int index, ApiOperation value)

The operations corresponding to an API version. Only following field will be populated in the response: name, spec, details.deprecated, details.http_operation.path.path, details.http_operation.method and details.documentation.external_uri.

repeated .google.cloud.apihub.v1.ApiOperation api_operations = 1;

Parameters
Name Description
index int
value ApiOperation
Returns
Type Description
ListApiOperationsResponse.Builder

addApiOperations(int index, ApiOperation.Builder builderForValue)

public ListApiOperationsResponse.Builder addApiOperations(int index, ApiOperation.Builder builderForValue)

The operations corresponding to an API version. Only following field will be populated in the response: name, spec, details.deprecated, details.http_operation.path.path, details.http_operation.method and details.documentation.external_uri.

repeated .google.cloud.apihub.v1.ApiOperation api_operations = 1;

Parameters
Name Description
index int
builderForValue ApiOperation.Builder
Returns
Type Description
ListApiOperationsResponse.Builder

addApiOperationsBuilder()

public ApiOperation.Builder addApiOperationsBuilder()

The operations corresponding to an API version. Only following field will be populated in the response: name, spec, details.deprecated, details.http_operation.path.path, details.http_operation.method and details.documentation.external_uri.

repeated .google.cloud.apihub.v1.ApiOperation api_operations = 1;

Returns
Type Description
ApiOperation.Builder

addApiOperationsBuilder(int index)

public ApiOperation.Builder addApiOperationsBuilder(int index)

The operations corresponding to an API version. Only following field will be populated in the response: name, spec, details.deprecated, details.http_operation.path.path, details.http_operation.method and details.documentation.external_uri.

repeated .google.cloud.apihub.v1.ApiOperation api_operations = 1;

Parameter
Name Description
index int
Returns
Type Description
ApiOperation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListApiOperationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListApiOperationsResponse.Builder
Overrides

build()

public ListApiOperationsResponse build()
Returns
Type Description
ListApiOperationsResponse

buildPartial()

public ListApiOperationsResponse buildPartial()
Returns
Type Description
ListApiOperationsResponse

clear()

public ListApiOperationsResponse.Builder clear()
Returns
Type Description
ListApiOperationsResponse.Builder
Overrides

clearApiOperations()

public ListApiOperationsResponse.Builder clearApiOperations()

The operations corresponding to an API version. Only following field will be populated in the response: name, spec, details.deprecated, details.http_operation.path.path, details.http_operation.method and details.documentation.external_uri.

repeated .google.cloud.apihub.v1.ApiOperation api_operations = 1;

Returns
Type Description
ListApiOperationsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListApiOperationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListApiOperationsResponse.Builder
Overrides

clearNextPageToken()

public ListApiOperationsResponse.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
Type Description
ListApiOperationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListApiOperationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListApiOperationsResponse.Builder
Overrides

clone()

public ListApiOperationsResponse.Builder clone()
Returns
Type Description
ListApiOperationsResponse.Builder
Overrides

getApiOperations(int index)

public ApiOperation getApiOperations(int index)

The operations corresponding to an API version. Only following field will be populated in the response: name, spec, details.deprecated, details.http_operation.path.path, details.http_operation.method and details.documentation.external_uri.

repeated .google.cloud.apihub.v1.ApiOperation api_operations = 1;

Parameter
Name Description
index int
Returns
Type Description
ApiOperation

getApiOperationsBuilder(int index)

public ApiOperation.Builder getApiOperationsBuilder(int index)

The operations corresponding to an API version. Only following field will be populated in the response: name, spec, details.deprecated, details.http_operation.path.path, details.http_operation.method and details.documentation.external_uri.

repeated .google.cloud.apihub.v1.ApiOperation api_operations = 1;

Parameter
Name Description
index int
Returns
Type Description
ApiOperation.Builder

getApiOperationsBuilderList()

public List<ApiOperation.Builder> getApiOperationsBuilderList()

The operations corresponding to an API version. Only following field will be populated in the response: name, spec, details.deprecated, details.http_operation.path.path, details.http_operation.method and details.documentation.external_uri.

repeated .google.cloud.apihub.v1.ApiOperation api_operations = 1;

Returns
Type Description
List<Builder>

getApiOperationsCount()

public int getApiOperationsCount()

The operations corresponding to an API version. Only following field will be populated in the response: name, spec, details.deprecated, details.http_operation.path.path, details.http_operation.method and details.documentation.external_uri.

repeated .google.cloud.apihub.v1.ApiOperation api_operations = 1;

Returns
Type Description
int

getApiOperationsList()

public List<ApiOperation> getApiOperationsList()

The operations corresponding to an API version. Only following field will be populated in the response: name, spec, details.deprecated, details.http_operation.path.path, details.http_operation.method and details.documentation.external_uri.

repeated .google.cloud.apihub.v1.ApiOperation api_operations = 1;

Returns
Type Description
List<ApiOperation>

getApiOperationsOrBuilder(int index)

public ApiOperationOrBuilder getApiOperationsOrBuilder(int index)

The operations corresponding to an API version. Only following field will be populated in the response: name, spec, details.deprecated, details.http_operation.path.path, details.http_operation.method and details.documentation.external_uri.

repeated .google.cloud.apihub.v1.ApiOperation api_operations = 1;

Parameter
Name Description
index int
Returns
Type Description
ApiOperationOrBuilder

getApiOperationsOrBuilderList()

public List<? extends ApiOperationOrBuilder> getApiOperationsOrBuilderList()

The operations corresponding to an API version. Only following field will be populated in the response: name, spec, details.deprecated, details.http_operation.path.path, details.http_operation.method and details.documentation.external_uri.

repeated .google.cloud.apihub.v1.ApiOperation api_operations = 1;

Returns
Type Description
List<? extends com.google.cloud.apihub.v1.ApiOperationOrBuilder>

getDefaultInstanceForType()

public ListApiOperationsResponse getDefaultInstanceForType()
Returns
Type Description
ListApiOperationsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListApiOperationsResponse other)

public ListApiOperationsResponse.Builder mergeFrom(ListApiOperationsResponse other)
Parameter
Name Description
other ListApiOperationsResponse
Returns
Type Description
ListApiOperationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListApiOperationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListApiOperationsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListApiOperationsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListApiOperationsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListApiOperationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListApiOperationsResponse.Builder
Overrides

removeApiOperations(int index)

public ListApiOperationsResponse.Builder removeApiOperations(int index)

The operations corresponding to an API version. Only following field will be populated in the response: name, spec, details.deprecated, details.http_operation.path.path, details.http_operation.method and details.documentation.external_uri.

repeated .google.cloud.apihub.v1.ApiOperation api_operations = 1;

Parameter
Name Description
index int
Returns
Type Description
ListApiOperationsResponse.Builder

setApiOperations(int index, ApiOperation value)

public ListApiOperationsResponse.Builder setApiOperations(int index, ApiOperation value)

The operations corresponding to an API version. Only following field will be populated in the response: name, spec, details.deprecated, details.http_operation.path.path, details.http_operation.method and details.documentation.external_uri.

repeated .google.cloud.apihub.v1.ApiOperation api_operations = 1;

Parameters
Name Description
index int
value ApiOperation
Returns
Type Description
ListApiOperationsResponse.Builder

setApiOperations(int index, ApiOperation.Builder builderForValue)

public ListApiOperationsResponse.Builder setApiOperations(int index, ApiOperation.Builder builderForValue)

The operations corresponding to an API version. Only following field will be populated in the response: name, spec, details.deprecated, details.http_operation.path.path, details.http_operation.method and details.documentation.external_uri.

repeated .google.cloud.apihub.v1.ApiOperation api_operations = 1;

Parameters
Name Description
index int
builderForValue ApiOperation.Builder
Returns
Type Description
ListApiOperationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListApiOperationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListApiOperationsResponse.Builder
Overrides

setNextPageToken(String value)

public ListApiOperationsResponse.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
Type Description
ListApiOperationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListApiOperationsResponse.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
Type Description
ListApiOperationsResponse.Builder

This builder for chaining.

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

public ListApiOperationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListApiOperationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListApiOperationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListApiOperationsResponse.Builder
Overrides