Interface UpdateApiSpecRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
UpdateApiSpecRequest, UpdateApiSpecRequest.Builder

@Generated public interface UpdateApiSpecRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    If set to true, and the spec is not found, a new spec will be created.
    Required.
    Required.
    com.google.protobuf.FieldMask
    The list of fields to be updated.
    com.google.protobuf.FieldMaskOrBuilder
    The list of fields to be updated.
    boolean
    Required.
    boolean
    The list of fields to be updated.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasApiSpec

      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:
      Whether the apiSpec field is set.
    • getApiSpec

      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:
      The apiSpec.
    • getApiSpecOrBuilder

      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];
    • 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 spec is not found, a new spec will be created.
       In this situation, `update_mask` is ignored.
       
      bool allow_missing = 3;
      Returns:
      The allowMissing.