Class HttpsTrigger.Builder (2.48.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HttpsTrigger.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HttpsTrigger.Builder
Overrides

build()

public HttpsTrigger build()
Returns
Type Description
HttpsTrigger

buildPartial()

public HttpsTrigger buildPartial()
Returns
Type Description
HttpsTrigger

clear()

public HttpsTrigger.Builder clear()
Returns
Type Description
HttpsTrigger.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public HttpsTrigger.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HttpsTrigger.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public HttpsTrigger.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
HttpsTrigger.Builder
Overrides

clearSecurityLevel()

public HttpsTrigger.Builder clearSecurityLevel()

The security level for the function.

.google.cloud.functions.v1.HttpsTrigger.SecurityLevel security_level = 2;

Returns
Type Description
HttpsTrigger.Builder

This builder for chaining.

clearUrl()

public HttpsTrigger.Builder clearUrl()

Output only. The deployed URL for the function.

string url = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
HttpsTrigger.Builder

This builder for chaining.

clone()

public HttpsTrigger.Builder clone()
Returns
Type Description
HttpsTrigger.Builder
Overrides

getDefaultInstanceForType()

public HttpsTrigger getDefaultInstanceForType()
Returns
Type Description
HttpsTrigger

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSecurityLevel()

public HttpsTrigger.SecurityLevel getSecurityLevel()

The security level for the function.

.google.cloud.functions.v1.HttpsTrigger.SecurityLevel security_level = 2;

Returns
Type Description
HttpsTrigger.SecurityLevel

The securityLevel.

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()

public String getUrl()

Output only. The deployed URL for the function.

string url = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

Output only. The deployed URL for the function.

string url = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for url.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HttpsTrigger other)

public HttpsTrigger.Builder mergeFrom(HttpsTrigger other)
Parameter
Name Description
other HttpsTrigger
Returns
Type Description
HttpsTrigger.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HttpsTrigger.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpsTrigger.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public HttpsTrigger.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
HttpsTrigger.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HttpsTrigger.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HttpsTrigger.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public HttpsTrigger.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
HttpsTrigger.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public HttpsTrigger.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
HttpsTrigger.Builder
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
Name Description
value HttpsTrigger.SecurityLevel

The securityLevel to set.

Returns
Type Description
HttpsTrigger.Builder

This builder for chaining.

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
Type Description
HttpsTrigger.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final HttpsTrigger.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HttpsTrigger.Builder
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
Type Description
HttpsTrigger.Builder

This builder for chaining.

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
Type Description
HttpsTrigger.Builder

This builder for chaining.