Class UpdateApiDeploymentRequest.Builder

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

public static final class UpdateApiDeploymentRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateApiDeploymentRequest.Builder> implements UpdateApiDeploymentRequestOrBuilder
 Request message for UpdateApiDeployment.
 
Protobuf type google.cloud.apigeeregistry.v1.UpdateApiDeploymentRequest
  • 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<UpdateApiDeploymentRequest.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<UpdateApiDeploymentRequest.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<UpdateApiDeploymentRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public UpdateApiDeploymentRequest.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<UpdateApiDeploymentRequest.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<UpdateApiDeploymentRequest.Builder>
    • mergeFrom

      public UpdateApiDeploymentRequest.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<UpdateApiDeploymentRequest.Builder>
      Throws:
      IOException
    • hasApiDeployment

      public boolean hasApiDeployment()
       Required. The deployment to update.
      
       The `name` field is used to identify the deployment to update.
       Format: `projects/*/locations/*/apis/*/deployments/*`
       
      .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasApiDeployment in interface UpdateApiDeploymentRequestOrBuilder
      Returns:
      Whether the apiDeployment field is set.
    • getApiDeployment

      public ApiDeployment getApiDeployment()
       Required. The deployment to update.
      
       The `name` field is used to identify the deployment to update.
       Format: `projects/*/locations/*/apis/*/deployments/*`
       
      .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getApiDeployment in interface UpdateApiDeploymentRequestOrBuilder
      Returns:
      The apiDeployment.
    • setApiDeployment

      public UpdateApiDeploymentRequest.Builder setApiDeployment(ApiDeployment value)
       Required. The deployment to update.
      
       The `name` field is used to identify the deployment to update.
       Format: `projects/*/locations/*/apis/*/deployments/*`
       
      .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED];
    • setApiDeployment

      public UpdateApiDeploymentRequest.Builder setApiDeployment(ApiDeployment.Builder builderForValue)
       Required. The deployment to update.
      
       The `name` field is used to identify the deployment to update.
       Format: `projects/*/locations/*/apis/*/deployments/*`
       
      .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeApiDeployment

      public UpdateApiDeploymentRequest.Builder mergeApiDeployment(ApiDeployment value)
       Required. The deployment to update.
      
       The `name` field is used to identify the deployment to update.
       Format: `projects/*/locations/*/apis/*/deployments/*`
       
      .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearApiDeployment

      public UpdateApiDeploymentRequest.Builder clearApiDeployment()
       Required. The deployment to update.
      
       The `name` field is used to identify the deployment to update.
       Format: `projects/*/locations/*/apis/*/deployments/*`
       
      .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED];
    • getApiDeploymentBuilder

      public ApiDeployment.Builder getApiDeploymentBuilder()
       Required. The deployment to update.
      
       The `name` field is used to identify the deployment to update.
       Format: `projects/*/locations/*/apis/*/deployments/*`
       
      .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED];
    • getApiDeploymentOrBuilder

      public ApiDeploymentOrBuilder getApiDeploymentOrBuilder()
       Required. The deployment to update.
      
       The `name` field is used to identify the deployment to update.
       Format: `projects/*/locations/*/apis/*/deployments/*`
       
      .google.cloud.apigeeregistry.v1.ApiDeployment api_deployment = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getApiDeploymentOrBuilder in interface UpdateApiDeploymentRequestOrBuilder
    • 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 UpdateApiDeploymentRequestOrBuilder
      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 UpdateApiDeploymentRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateApiDeploymentRequest.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 UpdateApiDeploymentRequest.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 UpdateApiDeploymentRequest.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 UpdateApiDeploymentRequest.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 UpdateApiDeploymentRequestOrBuilder
    • getAllowMissing

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

      public UpdateApiDeploymentRequest.Builder setAllowMissing(boolean value)
       If set to true, and the deployment is not found, a new deployment 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 UpdateApiDeploymentRequest.Builder clearAllowMissing()
       If set to true, and the deployment is not found, a new deployment will be
       created. In this situation, `update_mask` is ignored.
       
      bool allow_missing = 3;
      Returns:
      This builder for chaining.