Class CreateFunctionRequest.Builder

    • Method Detail

      • getDescriptor

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

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

        public CreateFunctionRequest.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.GeneratedMessageV3.Builder<CreateFunctionRequest.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.GeneratedMessageV3.Builder<CreateFunctionRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public CreateFunctionRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateFunctionRequest.Builder>
      • clearField

        public CreateFunctionRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateFunctionRequest.Builder>
      • clearOneof

        public CreateFunctionRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateFunctionRequest.Builder>
      • setRepeatedField

        public CreateFunctionRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateFunctionRequest.Builder>
      • addRepeatedField

        public CreateFunctionRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateFunctionRequest.Builder>
      • isInitialized

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

        public CreateFunctionRequest.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<CreateFunctionRequest.Builder>
        Throws:
        IOException
      • getLocation

        public String getLocation()
         Required. The project and location in which the function should be created,
         specified in the format `projects/*/locations/*`
         
        string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getLocation in interface CreateFunctionRequestOrBuilder
        Returns:
        The location.
      • getLocationBytes

        public com.google.protobuf.ByteString getLocationBytes()
         Required. The project and location in which the function should be created,
         specified in the format `projects/*/locations/*`
         
        string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getLocationBytes in interface CreateFunctionRequestOrBuilder
        Returns:
        The bytes for location.
      • setLocation

        public CreateFunctionRequest.Builder setLocation​(String value)
         Required. The project and location in which the function should be created,
         specified in the format `projects/*/locations/*`
         
        string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The location to set.
        Returns:
        This builder for chaining.
      • clearLocation

        public CreateFunctionRequest.Builder clearLocation()
         Required. The project and location in which the function should be created,
         specified in the format `projects/*/locations/*`
         
        string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setLocationBytes

        public CreateFunctionRequest.Builder setLocationBytes​(com.google.protobuf.ByteString value)
         Required. The project and location in which the function should be created,
         specified in the format `projects/*/locations/*`
         
        string location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for location to set.
        Returns:
        This builder for chaining.
      • hasFunction

        public boolean hasFunction()
         Required. Function to be created.
         
        .google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasFunction in interface CreateFunctionRequestOrBuilder
        Returns:
        Whether the function field is set.
      • getFunction

        public CloudFunction getFunction()
         Required. Function to be created.
         
        .google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getFunction in interface CreateFunctionRequestOrBuilder
        Returns:
        The function.
      • setFunction

        public CreateFunctionRequest.Builder setFunction​(CloudFunction value)
         Required. Function to be created.
         
        .google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeFunction

        public CreateFunctionRequest.Builder mergeFunction​(CloudFunction value)
         Required. Function to be created.
         
        .google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearFunction

        public CreateFunctionRequest.Builder clearFunction()
         Required. Function to be created.
         
        .google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];
      • getFunctionBuilder

        public CloudFunction.Builder getFunctionBuilder()
         Required. Function to be created.
         
        .google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];
      • setUnknownFields

        public final CreateFunctionRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateFunctionRequest.Builder>
      • mergeUnknownFields

        public final CreateFunctionRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateFunctionRequest.Builder>