Class UpdateApiVersionRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateApiVersionRequest.Builder>
com.google.cloud.apigeeregistry.v1.UpdateApiVersionRequest.Builder
All Implemented Interfaces:
UpdateApiVersionRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateApiVersionRequest

public static final class UpdateApiVersionRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateApiVersionRequest.Builder> implements UpdateApiVersionRequestOrBuilder
 Request message for UpdateApiVersion.
 
Protobuf type google.cloud.apigeeregistry.v1.UpdateApiVersionRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdateApiVersionRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<UpdateApiVersionRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UpdateApiVersionRequest.Builder>
    • getDefaultInstanceForType

      public UpdateApiVersionRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public UpdateApiVersionRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public UpdateApiVersionRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public UpdateApiVersionRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateApiVersionRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<UpdateApiVersionRequest.Builder>
    • mergeFrom

      public UpdateApiVersionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateApiVersionRequest.Builder>
      Throws:
      IOException
    • hasApiVersion

      public boolean hasApiVersion()
       Required. The version to update.
      
       The `name` field is used to identify the version to update.
       Format: `projects/*/locations/*/apis/*/versions/*`
       
      .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasApiVersion in interface UpdateApiVersionRequestOrBuilder
      Returns:
      Whether the apiVersion field is set.
    • getApiVersion

      public ApiVersion getApiVersion()
       Required. The version to update.
      
       The `name` field is used to identify the version to update.
       Format: `projects/*/locations/*/apis/*/versions/*`
       
      .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getApiVersion in interface UpdateApiVersionRequestOrBuilder
      Returns:
      The apiVersion.
    • setApiVersion

      public UpdateApiVersionRequest.Builder setApiVersion(ApiVersion value)
       Required. The version to update.
      
       The `name` field is used to identify the version to update.
       Format: `projects/*/locations/*/apis/*/versions/*`
       
      .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED];
    • setApiVersion

      public UpdateApiVersionRequest.Builder setApiVersion(ApiVersion.Builder builderForValue)
       Required. The version to update.
      
       The `name` field is used to identify the version to update.
       Format: `projects/*/locations/*/apis/*/versions/*`
       
      .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeApiVersion

      public UpdateApiVersionRequest.Builder mergeApiVersion(ApiVersion value)
       Required. The version to update.
      
       The `name` field is used to identify the version to update.
       Format: `projects/*/locations/*/apis/*/versions/*`
       
      .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearApiVersion

      public UpdateApiVersionRequest.Builder clearApiVersion()
       Required. The version to update.
      
       The `name` field is used to identify the version to update.
       Format: `projects/*/locations/*/apis/*/versions/*`
       
      .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED];
    • getApiVersionBuilder

      public ApiVersion.Builder getApiVersionBuilder()
       Required. The version to update.
      
       The `name` field is used to identify the version to update.
       Format: `projects/*/locations/*/apis/*/versions/*`
       
      .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED];
    • getApiVersionOrBuilder

      public ApiVersionOrBuilder getApiVersionOrBuilder()
       Required. The version to update.
      
       The `name` field is used to identify the version to update.
       Format: `projects/*/locations/*/apis/*/versions/*`
       
      .google.cloud.apigeeregistry.v1.ApiVersion api_version = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getApiVersionOrBuilder in interface UpdateApiVersionRequestOrBuilder
    • hasUpdateMask

      public 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;
      Specified by:
      hasUpdateMask in interface UpdateApiVersionRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public 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;
      Specified by:
      getUpdateMask in interface UpdateApiVersionRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateApiVersionRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       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;
    • setUpdateMask

      public UpdateApiVersionRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       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;
    • mergeUpdateMask

      public UpdateApiVersionRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       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;
    • clearUpdateMask

      public UpdateApiVersionRequest.Builder clearUpdateMask()
       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;
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       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;
    • getUpdateMaskOrBuilder

      public 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;
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateApiVersionRequestOrBuilder
    • getAllowMissing

      public boolean getAllowMissing()
       If set to true, and the version is not found, a new version will be
       created. In this situation, `update_mask` is ignored.
       
      bool allow_missing = 3;
      Specified by:
      getAllowMissing in interface UpdateApiVersionRequestOrBuilder
      Returns:
      The allowMissing.
    • setAllowMissing

      public UpdateApiVersionRequest.Builder setAllowMissing(boolean value)
       If set to true, and the version is not found, a new version will be
       created. In this situation, `update_mask` is ignored.
       
      bool allow_missing = 3;
      Parameters:
      value - The allowMissing to set.
      Returns:
      This builder for chaining.
    • clearAllowMissing

      public UpdateApiVersionRequest.Builder clearAllowMissing()
       If set to true, and the version is not found, a new version will be
       created. In this situation, `update_mask` is ignored.
       
      bool allow_missing = 3;
      Returns:
      This builder for chaining.