Class UpdateApiConfigRequest.Builder

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

public static final class UpdateApiConfigRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateApiConfigRequest.Builder> implements UpdateApiConfigRequestOrBuilder
 Request message for ApiGatewayService.UpdateApiConfig
 
Protobuf type google.cloud.apigateway.v1.UpdateApiConfigRequest
  • 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<UpdateApiConfigRequest.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<UpdateApiConfigRequest.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<UpdateApiConfigRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public UpdateApiConfigRequest.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<UpdateApiConfigRequest.Builder>
      Throws:
      IOException
    • hasUpdateMask

      public boolean hasUpdateMask()
       Field mask is used to specify the fields to be overwritten in the
       ApiConfig resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1;
      Specified by:
      hasUpdateMask in interface UpdateApiConfigRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Field mask is used to specify the fields to be overwritten in the
       ApiConfig resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1;
      Specified by:
      getUpdateMask in interface UpdateApiConfigRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateApiConfigRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Field mask is used to specify the fields to be overwritten in the
       ApiConfig resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1;
    • setUpdateMask

      public UpdateApiConfigRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Field mask is used to specify the fields to be overwritten in the
       ApiConfig resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1;
    • mergeUpdateMask

      public UpdateApiConfigRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Field mask is used to specify the fields to be overwritten in the
       ApiConfig resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1;
    • clearUpdateMask

      public UpdateApiConfigRequest.Builder clearUpdateMask()
       Field mask is used to specify the fields to be overwritten in the
       ApiConfig resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1;
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Field mask is used to specify the fields to be overwritten in the
       ApiConfig resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1;
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Field mask is used to specify the fields to be overwritten in the
       ApiConfig resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask. If the
       user does not provide a mask then all fields will be overwritten.
       
      .google.protobuf.FieldMask update_mask = 1;
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateApiConfigRequestOrBuilder
    • hasApiConfig

      public boolean hasApiConfig()
       Required. API Config resource.
       
      .google.cloud.apigateway.v1.ApiConfig api_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasApiConfig in interface UpdateApiConfigRequestOrBuilder
      Returns:
      Whether the apiConfig field is set.
    • getApiConfig

      public ApiConfig getApiConfig()
       Required. API Config resource.
       
      .google.cloud.apigateway.v1.ApiConfig api_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getApiConfig in interface UpdateApiConfigRequestOrBuilder
      Returns:
      The apiConfig.
    • setApiConfig

      public UpdateApiConfigRequest.Builder setApiConfig(ApiConfig value)
       Required. API Config resource.
       
      .google.cloud.apigateway.v1.ApiConfig api_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • setApiConfig

      public UpdateApiConfigRequest.Builder setApiConfig(ApiConfig.Builder builderForValue)
       Required. API Config resource.
       
      .google.cloud.apigateway.v1.ApiConfig api_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeApiConfig

      public UpdateApiConfigRequest.Builder mergeApiConfig(ApiConfig value)
       Required. API Config resource.
       
      .google.cloud.apigateway.v1.ApiConfig api_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearApiConfig

      public UpdateApiConfigRequest.Builder clearApiConfig()
       Required. API Config resource.
       
      .google.cloud.apigateway.v1.ApiConfig api_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • getApiConfigBuilder

      public ApiConfig.Builder getApiConfigBuilder()
       Required. API Config resource.
       
      .google.cloud.apigateway.v1.ApiConfig api_config = 2 [(.google.api.field_behavior) = REQUIRED];
    • getApiConfigOrBuilder

      public ApiConfigOrBuilder getApiConfigOrBuilder()
       Required. API Config resource.
       
      .google.cloud.apigateway.v1.ApiConfig api_config = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getApiConfigOrBuilder in interface UpdateApiConfigRequestOrBuilder