public static final class CreateFunctionRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateFunctionRequest.Builder> implements CreateFunctionRequestOrBuilder
Request for the `CreateFunction` method.Protobuf type
google.cloud.functions.v2alpha.CreateFunctionRequest| Modifier and Type | Method and Description |
|---|---|
CreateFunctionRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CreateFunctionRequest |
build() |
CreateFunctionRequest |
buildPartial() |
CreateFunctionRequest.Builder |
clear() |
CreateFunctionRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CreateFunctionRequest.Builder |
clearFunction()
Required.
|
CreateFunctionRequest.Builder |
clearFunctionId()
The ID to use for the function, which will become the final component of
the function's resource name.
|
CreateFunctionRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CreateFunctionRequest.Builder |
clearParent()
Required.
|
CreateFunctionRequest.Builder |
clone() |
CreateFunctionRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Function |
getFunction()
Required.
|
Function.Builder |
getFunctionBuilder()
Required.
|
String |
getFunctionId()
The ID to use for the function, which will become the final component of
the function's resource name.
|
com.google.protobuf.ByteString |
getFunctionIdBytes()
The ID to use for the function, which will become the final component of
the function's resource name.
|
FunctionOrBuilder |
getFunctionOrBuilder()
Required.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
boolean |
hasFunction()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CreateFunctionRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CreateFunctionRequest.Builder |
mergeFrom(CreateFunctionRequest other) |
CreateFunctionRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
CreateFunctionRequest.Builder |
mergeFunction(Function value)
Required.
|
CreateFunctionRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CreateFunctionRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CreateFunctionRequest.Builder |
setFunction(Function.Builder builderForValue)
Required.
|
CreateFunctionRequest.Builder |
setFunction(Function value)
Required.
|
CreateFunctionRequest.Builder |
setFunctionId(String value)
The ID to use for the function, which will become the final component of
the function's resource name.
|
CreateFunctionRequest.Builder |
setFunctionIdBytes(com.google.protobuf.ByteString value)
The ID to use for the function, which will become the final component of
the function's resource name.
|
CreateFunctionRequest.Builder |
setParent(String value)
Required.
|
CreateFunctionRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
CreateFunctionRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CreateFunctionRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CreateFunctionRequest.Builder>public CreateFunctionRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateFunctionRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CreateFunctionRequest.Builder>public CreateFunctionRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CreateFunctionRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CreateFunctionRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CreateFunctionRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateFunctionRequest.Builder>public CreateFunctionRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateFunctionRequest.Builder>public CreateFunctionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateFunctionRequest.Builder>public CreateFunctionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateFunctionRequest.Builder>public CreateFunctionRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateFunctionRequest.Builder>public CreateFunctionRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateFunctionRequest.Builder>public CreateFunctionRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateFunctionRequest.Builder>public CreateFunctionRequest.Builder mergeFrom(CreateFunctionRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CreateFunctionRequest.Builder>public CreateFunctionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CreateFunctionRequest.Builder>IOExceptionpublic String getParent()
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) = { ... }
getParent in interface CreateFunctionRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
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) = { ... }
getParentBytes in interface CreateFunctionRequestOrBuilderpublic CreateFunctionRequest.Builder setParent(String value)
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) = { ... }
value - The parent to set.public CreateFunctionRequest.Builder clearParent()
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) = { ... }
public CreateFunctionRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
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) = { ... }
value - The bytes for parent to set.public boolean hasFunction()
Required. Function to be created.
.google.cloud.functions.v2alpha.Function function = 2 [(.google.api.field_behavior) = REQUIRED];
hasFunction in interface CreateFunctionRequestOrBuilderpublic Function getFunction()
Required. Function to be created.
.google.cloud.functions.v2alpha.Function function = 2 [(.google.api.field_behavior) = REQUIRED];
getFunction in interface CreateFunctionRequestOrBuilderpublic CreateFunctionRequest.Builder setFunction(Function value)
Required. Function to be created.
.google.cloud.functions.v2alpha.Function function = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateFunctionRequest.Builder setFunction(Function.Builder builderForValue)
Required. Function to be created.
.google.cloud.functions.v2alpha.Function function = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateFunctionRequest.Builder mergeFunction(Function value)
Required. Function to be created.
.google.cloud.functions.v2alpha.Function function = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateFunctionRequest.Builder clearFunction()
Required. Function to be created.
.google.cloud.functions.v2alpha.Function function = 2 [(.google.api.field_behavior) = REQUIRED];
public Function.Builder getFunctionBuilder()
Required. Function to be created.
.google.cloud.functions.v2alpha.Function function = 2 [(.google.api.field_behavior) = REQUIRED];
public FunctionOrBuilder getFunctionOrBuilder()
Required. Function to be created.
.google.cloud.functions.v2alpha.Function function = 2 [(.google.api.field_behavior) = REQUIRED];
getFunctionOrBuilder in interface CreateFunctionRequestOrBuilderpublic String getFunctionId()
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][0-9]-/.
string function_id = 3;getFunctionId in interface CreateFunctionRequestOrBuilderpublic com.google.protobuf.ByteString getFunctionIdBytes()
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][0-9]-/.
string function_id = 3;getFunctionIdBytes in interface CreateFunctionRequestOrBuilderpublic CreateFunctionRequest.Builder setFunctionId(String value)
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][0-9]-/.
string function_id = 3;value - The functionId to set.public CreateFunctionRequest.Builder clearFunctionId()
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][0-9]-/.
string function_id = 3;public CreateFunctionRequest.Builder setFunctionIdBytes(com.google.protobuf.ByteString value)
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][0-9]-/.
string function_id = 3;value - The bytes for functionId to set.public final CreateFunctionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateFunctionRequest.Builder>public final CreateFunctionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CreateFunctionRequest.Builder>Copyright © 2023 Google LLC. All rights reserved.