Package com.google.cloud.functions.v2
Interface CreateFunctionRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateFunctionRequest,CreateFunctionRequest.Builder
@Generated
public interface CreateFunctionRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.The ID to use for the function, which will become the final component of the function's resource name.com.google.protobuf.ByteStringThe ID to use for the function, which will become the final component of the function's resource name.Required.Required.com.google.protobuf.ByteStringRequired.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
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) = { ... }- Returns:
- The parent.
-
getParentBytes
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) = { ... }- Returns:
- The bytes for parent.
-
hasFunction
boolean hasFunction()Required. Function to be created.
.google.cloud.functions.v2.Function function = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the function field is set.
-
getFunction
Function getFunction()Required. Function to be created.
.google.cloud.functions.v2.Function function = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The function.
-
getFunctionOrBuilder
FunctionOrBuilder getFunctionOrBuilder()Required. Function to be created.
.google.cloud.functions.v2.Function function = 2 [(.google.api.field_behavior) = REQUIRED]; -
getFunctionId
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;- Returns:
- The functionId.
-
getFunctionIdBytes
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;- Returns:
- The bytes for functionId.
-