Class CreateFunctionRequest.Builder (2.31.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 2.80.0 (latest)
- 2.78.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.72.0
- 2.70.0
- 2.69.0
- 2.66.0
- 2.65.0
- 2.64.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.4
- 2.4.3
- 2.3.6
publicstaticfinalclass CreateFunctionRequest.BuilderextendsGeneratedMessageV3.Builder<CreateFunctionRequest.Builder>implementsCreateFunctionRequestOrBuilder Request for the CreateFunction method.
Protobuf type google.cloud.functions.v2.CreateFunctionRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateFunctionRequest.BuilderImplements
CreateFunctionRequestOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicCreateFunctionRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
|
build()
publicCreateFunctionRequestbuild()| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest |
|
buildPartial()
publicCreateFunctionRequestbuildPartial()| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest |
|
clear()
publicCreateFunctionRequest.Builderclear()| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
|
clearField(Descriptors.FieldDescriptor field)
publicCreateFunctionRequest.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
|
clearFunction()
publicCreateFunctionRequest.BuilderclearFunction()Required. Function to be created.
.google.cloud.functions.v2.Function function = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
|
clearFunctionId()
publicCreateFunctionRequest.BuilderclearFunctionId()The ID to use for the function, which will become the final component of the function's resource name.
This value should be 4-63 characters, and valid characters are /a-z-/.
string function_id = 3;
| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
publicCreateFunctionRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
|
clearParent()
publicCreateFunctionRequest.BuilderclearParent() Required. The project and location in which the function should be created,
specified in the format projects/*/locations/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
This builder for chaining. |
clone()
publicCreateFunctionRequest.Builderclone()| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
|
getDefaultInstanceForType()
publicCreateFunctionRequestgetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFunction()
publicFunctiongetFunction()Required. Function to be created.
.google.cloud.functions.v2.Function function = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Function |
The function. |
getFunctionBuilder()
publicFunction.BuildergetFunctionBuilder()Required. Function to be created.
.google.cloud.functions.v2.Function function = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Function.Builder |
|
getFunctionId()
publicStringgetFunctionId()The ID to use for the function, which will become the final component of the function's resource name.
This value should be 4-63 characters, and valid characters are /a-z-/.
string function_id = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The functionId. |
getFunctionIdBytes()
publicByteStringgetFunctionIdBytes()The ID to use for the function, which will become the final component of the function's resource name.
This value should be 4-63 characters, and valid characters are /a-z-/.
string function_id = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for functionId. |
getFunctionOrBuilder()
publicFunctionOrBuildergetFunctionOrBuilder()Required. Function to be created.
.google.cloud.functions.v2.Function function = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
FunctionOrBuilder |
|
getParent()
publicStringgetParent() Required. The project and location in which the function should be created,
specified in the format projects/*/locations/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
publicByteStringgetParentBytes() Required. The project and location in which the function should be created,
specified in the format projects/*/locations/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasFunction()
publicbooleanhasFunction()Required. Function to be created.
.google.cloud.functions.v2.Function function = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the function field is set. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateFunctionRequest other)
publicCreateFunctionRequest.BuildermergeFrom(CreateFunctionRequestother)| Parameter | |
|---|---|
| Name | Description |
other |
CreateFunctionRequest |
| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicCreateFunctionRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicCreateFunctionRequest.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
|
mergeFunction(Function value)
publicCreateFunctionRequest.BuildermergeFunction(Functionvalue)Required. Function to be created.
.google.cloud.functions.v2.Function function = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Function |
| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalCreateFunctionRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
publicCreateFunctionRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
|
setFunction(Function value)
publicCreateFunctionRequest.BuildersetFunction(Functionvalue)Required. Function to be created.
.google.cloud.functions.v2.Function function = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Function |
| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
|
setFunction(Function.Builder builderForValue)
publicCreateFunctionRequest.BuildersetFunction(Function.BuilderbuilderForValue)Required. Function to be created.
.google.cloud.functions.v2.Function function = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Function.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
|
setFunctionId(String value)
publicCreateFunctionRequest.BuildersetFunctionId(Stringvalue)The ID to use for the function, which will become the final component of the function's resource name.
This value should be 4-63 characters, and valid characters are /a-z-/.
string function_id = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
String The functionId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
This builder for chaining. |
setFunctionIdBytes(ByteString value)
publicCreateFunctionRequest.BuildersetFunctionIdBytes(ByteStringvalue)The ID to use for the function, which will become the final component of the function's resource name.
This value should be 4-63 characters, and valid characters are /a-z-/.
string function_id = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for functionId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
This builder for chaining. |
setParent(String value)
publicCreateFunctionRequest.BuildersetParent(Stringvalue) Required. The project and location in which the function should be created,
specified in the format projects/*/locations/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
String The parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
publicCreateFunctionRequest.BuildersetParentBytes(ByteStringvalue) Required. The project and location in which the function should be created,
specified in the format projects/*/locations/*
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicCreateFunctionRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalCreateFunctionRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
CreateFunctionRequest.Builder |
|