Interface UpdateApiRequestOrBuilder (0.32.0)

public interface UpdateApiRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowMissing()

public abstract 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
TypeDescription
boolean

The allowMissing.

getApi()

public abstract 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
TypeDescription
Api

The api.

getApiOrBuilder()

public abstract 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];

Returns
TypeDescription
ApiOrBuilder

getUpdateMask()

public abstract 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
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract 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;

Returns
TypeDescription
FieldMaskOrBuilder

hasApi()

public abstract 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
TypeDescription
boolean

Whether the api field is set.

hasUpdateMask()

public abstract 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
TypeDescription
boolean

Whether the updateMask field is set.