Interface UpdateApiRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateApiRequest
,UpdateApiRequest.Builder
public interface UpdateApiRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getAllowMissing()
If set to true, and the API is not found, a new API will be created.Api
getApi()
Required.ApiOrBuilder
getApiOrBuilder()
Required.com.google.protobuf.FieldMask
getUpdateMask()
The list of fields to be updated.com.google.protobuf.FieldMaskOrBuilder
getUpdateMaskOrBuilder()
The list of fields to be updated.boolean
hasApi()
Required.boolean
hasUpdateMask()
The list of fields to be updated.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasApi
boolean hasApi()
Required. The API to update. The `name` field is used to identify the API to update. Format: `projects/*/locations/*/apis/*`
.google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the api field is set.
-
getApi
Api getApi()
Required. The API to update. The `name` field is used to identify the API to update. Format: `projects/*/locations/*/apis/*`
.google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The api.
-
getApiOrBuilder
ApiOrBuilder getApiOrBuilder()
Required. The API to update. The `name` field is used to identify the API to update. Format: `projects/*/locations/*/apis/*`
.google.cloud.apigeeregistry.v1.Api api = 1 [(.google.api.field_behavior) = REQUIRED];
-
hasUpdateMask
boolean hasUpdateMask()
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.
.google.protobuf.FieldMask update_mask = 2;
- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.FieldMask getUpdateMask()
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.
.google.protobuf.FieldMask update_mask = 2;
- Returns:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
The list of fields to be updated. If omitted, all fields are updated that are set in the request message (fields set to default values are ignored). If an asterisk "*" is specified, all fields are updated, including fields that are unspecified/default in the request.
.google.protobuf.FieldMask update_mask = 2;
-
getAllowMissing
boolean getAllowMissing()
If set to true, and the API is not found, a new API will be created. In this situation, `update_mask` is ignored.
bool allow_missing = 3;
- Returns:
- The allowMissing.
-
-