public interface CreateFunctionRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getFunction()
public abstract CloudFunction getFunction()
Required. Function to be created.
.google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CloudFunction |
The function. |
getFunctionOrBuilder()
public abstract CloudFunctionOrBuilder getFunctionOrBuilder()
Required. Function to be created.
.google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
CloudFunctionOrBuilder |
getLocation()
public abstract 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 | |
---|---|
Type | Description |
String |
The location. |
getLocationBytes()
public abstract 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 | |
---|---|
Type | Description |
ByteString |
The bytes for location. |
hasFunction()
public abstract boolean hasFunction()
Required. Function to be created.
.google.cloud.functions.v1.CloudFunction function = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the function field is set. |