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
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
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>
|
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;
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;
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;
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;
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;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListApiOperationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListApiOperationsResponse build()
buildPartial()
public ListApiOperationsResponse buildPartial()
clear()
public ListApiOperationsResponse.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public ListApiOperationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListApiOperationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ListApiOperationsResponse.Builder clone()
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
|
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
|
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;
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;
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
|
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()
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(ListApiOperationsResponse other)
public ListApiOperationsResponse.Builder mergeFrom(ListApiOperationsResponse other)
public ListApiOperationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListApiOperationsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListApiOperationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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;
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;
setField(Descriptors.FieldDescriptor field, Object value)
public ListApiOperationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListApiOperationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListApiOperationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides