Class UpdateFunctionRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateFunctionRequest.Builder>
com.google.cloud.functions.v2alpha.UpdateFunctionRequest.Builder
All Implemented Interfaces:
UpdateFunctionRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateFunctionRequest

public static final class UpdateFunctionRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateFunctionRequest.Builder> implements UpdateFunctionRequestOrBuilder
 Request for the `UpdateFunction` method.
 
Protobuf type google.cloud.functions.v2alpha.UpdateFunctionRequest
  • 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<UpdateFunctionRequest.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<UpdateFunctionRequest.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<UpdateFunctionRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public UpdateFunctionRequest.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<UpdateFunctionRequest.Builder>
      Throws:
      IOException
    • hasFunction

      public boolean hasFunction()
       Required. New version of the function.
       
      .google.cloud.functions.v2alpha.Function function = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasFunction in interface UpdateFunctionRequestOrBuilder
      Returns:
      Whether the function field is set.
    • getFunction

      public Function getFunction()
       Required. New version of the function.
       
      .google.cloud.functions.v2alpha.Function function = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFunction in interface UpdateFunctionRequestOrBuilder
      Returns:
      The function.
    • setFunction

      public UpdateFunctionRequest.Builder setFunction(Function value)
       Required. New version of the function.
       
      .google.cloud.functions.v2alpha.Function function = 1 [(.google.api.field_behavior) = REQUIRED];
    • setFunction

      public UpdateFunctionRequest.Builder setFunction(Function.Builder builderForValue)
       Required. New version of the function.
       
      .google.cloud.functions.v2alpha.Function function = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeFunction

      public UpdateFunctionRequest.Builder mergeFunction(Function value)
       Required. New version of the function.
       
      .google.cloud.functions.v2alpha.Function function = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearFunction

      public UpdateFunctionRequest.Builder clearFunction()
       Required. New version of the function.
       
      .google.cloud.functions.v2alpha.Function function = 1 [(.google.api.field_behavior) = REQUIRED];
    • getFunctionBuilder

      public Function.Builder getFunctionBuilder()
       Required. New version of the function.
       
      .google.cloud.functions.v2alpha.Function function = 1 [(.google.api.field_behavior) = REQUIRED];
    • getFunctionOrBuilder

      public FunctionOrBuilder getFunctionOrBuilder()
       Required. New version of the function.
       
      .google.cloud.functions.v2alpha.Function function = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getFunctionOrBuilder in interface UpdateFunctionRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       The list of fields to be updated.
       If no field mask is provided, all fields will be updated.
       
      .google.protobuf.FieldMask update_mask = 2;
      Specified by:
      hasUpdateMask in interface UpdateFunctionRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       The list of fields to be updated.
       If no field mask is provided, all fields will be updated.
       
      .google.protobuf.FieldMask update_mask = 2;
      Specified by:
      getUpdateMask in interface UpdateFunctionRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateFunctionRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       The list of fields to be updated.
       If no field mask is provided, all fields will be updated.
       
      .google.protobuf.FieldMask update_mask = 2;
    • setUpdateMask

      public UpdateFunctionRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       The list of fields to be updated.
       If no field mask is provided, all fields will be updated.
       
      .google.protobuf.FieldMask update_mask = 2;
    • mergeUpdateMask

      public UpdateFunctionRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       The list of fields to be updated.
       If no field mask is provided, all fields will be updated.
       
      .google.protobuf.FieldMask update_mask = 2;
    • clearUpdateMask

      public UpdateFunctionRequest.Builder clearUpdateMask()
       The list of fields to be updated.
       If no field mask is provided, all fields will be updated.
       
      .google.protobuf.FieldMask update_mask = 2;
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       The list of fields to be updated.
       If no field mask is provided, all fields will be updated.
       
      .google.protobuf.FieldMask update_mask = 2;
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       The list of fields to be updated.
       If no field mask is provided, all fields will be updated.
       
      .google.protobuf.FieldMask update_mask = 2;
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateFunctionRequestOrBuilder