Interface CreateFunctionRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateFunctionRequest
,CreateFunctionRequest.Builder
public interface CreateFunctionRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Function
getFunction()
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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.v2beta.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.v2beta.Function function = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The function.
-
getFunctionOrBuilder
FunctionOrBuilder getFunctionOrBuilder()
Required. Function to be created.
.google.cloud.functions.v2beta.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.
-
-