publicstaticfinalclass CreateFunctionRequest.BuilderextendsGeneratedMessageV3.Builder<CreateFunctionRequest.Builder>implementsCreateFunctionRequestOrBuilder
Request for the CreateFunction method.
Protobuf type google.cloud.functions.v1.CreateFunctionRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicCreateFunctionRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicCreateFunctionRequestbuild()
buildPartial()
publicCreateFunctionRequestbuildPartial()
clear()
publicCreateFunctionRequest.Builderclear()
Overrides
clearField(Descriptors.FieldDescriptor field)
publicCreateFunctionRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearFunction()
publicCreateFunctionRequest.BuilderclearFunction()
Required. Function to be created.
.google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];
clearLocation()
publicCreateFunctionRequest.BuilderclearLocation()
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) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
publicCreateFunctionRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clone()
publicCreateFunctionRequest.Builderclone()
Overrides
getDefaultInstanceForType()
publicCreateFunctionRequestgetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getFunction()
publicCloudFunctiongetFunction()
Required. Function to be created.
.google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];
getFunctionBuilder()
publicCloudFunction.BuildergetFunctionBuilder()
Required. Function to be created.
.google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];
getFunctionOrBuilder()
publicCloudFunctionOrBuildergetFunctionOrBuilder()
Required. Function to be created.
.google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];
getLocation()
publicStringgetLocation()
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 |
| Type |
Description |
String |
The location.
|
getLocationBytes()
publicByteStringgetLocationBytes()
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 |
| Type |
Description |
ByteString |
The bytes for location.
|
hasFunction()
publicbooleanhasFunction()
Required. Function to be created.
.google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the function field is set.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(CreateFunctionRequest other)
publicCreateFunctionRequest.BuildermergeFrom(CreateFunctionRequestother)
publicCreateFunctionRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicCreateFunctionRequest.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeFunction(CloudFunction value)
publicCreateFunctionRequest.BuildermergeFunction(CloudFunctionvalue)
Required. Function to be created.
.google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalCreateFunctionRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
publicCreateFunctionRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setFunction(CloudFunction value)
publicCreateFunctionRequest.BuildersetFunction(CloudFunctionvalue)
Required. Function to be created.
.google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];
setFunction(CloudFunction.Builder builderForValue)
publicCreateFunctionRequest.BuildersetFunction(CloudFunction.BuilderbuilderForValue)
Required. Function to be created.
.google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];
setLocation(String value)
publicCreateFunctionRequest.BuildersetLocation(Stringvalue)
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) = { ... }
| Parameter |
| Name |
Description |
value |
String
The location to set.
|
setLocationBytes(ByteString value)
publicCreateFunctionRequest.BuildersetLocationBytes(ByteStringvalue)
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) = { ... }
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for location to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicCreateFunctionRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalCreateFunctionRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides