public static final class HttpsTrigger.Builder extends GeneratedMessageV3.Builder<HttpsTrigger.Builder> implements HttpsTriggerOrBuilder
Describes HttpsTrigger, could be used to connect web hooks to function.
Protobuf type google.cloud.functions.v1.HttpsTrigger
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public HttpsTrigger.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public HttpsTrigger build()
Returns
buildPartial()
public HttpsTrigger buildPartial()
Returns
clear()
public HttpsTrigger.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public HttpsTrigger.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public HttpsTrigger.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSecurityLevel()
public HttpsTrigger.Builder clearSecurityLevel()
The security level for the function.
.google.cloud.functions.v1.HttpsTrigger.SecurityLevel security_level = 2;
Returns
clearUrl()
public HttpsTrigger.Builder clearUrl()
Output only. The deployed url for the function.
string url = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clone()
public HttpsTrigger.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public HttpsTrigger getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getSecurityLevel()
public HttpsTrigger.SecurityLevel getSecurityLevel()
The security level for the function.
.google.cloud.functions.v1.HttpsTrigger.SecurityLevel security_level = 2;
Returns
getSecurityLevelValue()
public int getSecurityLevelValue()
The security level for the function.
.google.cloud.functions.v1.HttpsTrigger.SecurityLevel security_level = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for securityLevel.
|
getUrl()
Output only. The deployed url for the function.
string url = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getUrlBytes()
public ByteString getUrlBytes()
Output only. The deployed url for the function.
string url = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(HttpsTrigger other)
public HttpsTrigger.Builder mergeFrom(HttpsTrigger other)
Parameter
Returns
public HttpsTrigger.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public HttpsTrigger.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final HttpsTrigger.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public HttpsTrigger.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public HttpsTrigger.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSecurityLevel(HttpsTrigger.SecurityLevel value)
public HttpsTrigger.Builder setSecurityLevel(HttpsTrigger.SecurityLevel value)
The security level for the function.
.google.cloud.functions.v1.HttpsTrigger.SecurityLevel security_level = 2;
Parameter
Returns
setSecurityLevelValue(int value)
public HttpsTrigger.Builder setSecurityLevelValue(int value)
The security level for the function.
.google.cloud.functions.v1.HttpsTrigger.SecurityLevel security_level = 2;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for securityLevel to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final HttpsTrigger.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUrl(String value)
public HttpsTrigger.Builder setUrl(String value)
Output only. The deployed url for the function.
string url = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | String
The url to set.
|
Returns
setUrlBytes(ByteString value)
public HttpsTrigger.Builder setUrlBytes(ByteString value)
Output only. The deployed url for the function.
string url = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | ByteString
The bytes for url to set.
|
Returns