Package com.google.cloud.functions.v1
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 CloudFunction
getFunction()
Required.CloudFunctionOrBuilder
getFunctionOrBuilder()
Required.String
getLocation()
Required.com.google.protobuf.ByteString
getLocationBytes()
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
-
getLocation
String getLocation()
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:
- The location.
-
getLocationBytes
com.google.protobuf.ByteString getLocationBytes()
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:
- The bytes for location.
-
hasFunction
boolean hasFunction()
Required. Function to be created.
.google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the function field is set.
-
getFunction
CloudFunction getFunction()
Required. Function to be created.
.google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The function.
-
getFunctionOrBuilder
CloudFunctionOrBuilder getFunctionOrBuilder()
Required. Function to be created.
.google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];
-
-