Interface UpdateApiSpecRequestOrBuilder (0.45.0)

public interface UpdateApiSpecRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowMissing()

public abstract boolean getAllowMissing()

If set to true, and the spec is not found, a new spec will be created. In this situation, update_mask is ignored.

bool allow_missing = 3;

Returns
Type Description
boolean

The allowMissing.

getApiSpec()

public abstract ApiSpec getApiSpec()

Required. The spec to update.

The name field is used to identify the spec to update. Format: projects/*/locations/*/apis/*/versions/*/specs/*

.google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ApiSpec

The apiSpec.

getApiSpecOrBuilder()

public abstract ApiSpecOrBuilder getApiSpecOrBuilder()

Required. The spec to update.

The name field is used to identify the spec to update. Format: projects/*/locations/*/apis/*/versions/*/specs/*

.google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ApiSpecOrBuilder

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
Type Description
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
Type Description
FieldMaskOrBuilder

hasApiSpec()

public abstract boolean hasApiSpec()

Required. The spec to update.

The name field is used to identify the spec to update. Format: projects/*/locations/*/apis/*/versions/*/specs/*

.google.cloud.apigeeregistry.v1.ApiSpec api_spec = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the apiSpec 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
Type Description
boolean

Whether the updateMask field is set.