Class HttpsTrigger.Builder (2.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public HttpsTrigger.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
HttpsTrigger.Builder
Overrides

build()

public HttpsTrigger build()
Returns
TypeDescription
HttpsTrigger

buildPartial()

public HttpsTrigger buildPartial()
Returns
TypeDescription
HttpsTrigger

clear()

public HttpsTrigger.Builder clear()
Returns
TypeDescription
HttpsTrigger.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public HttpsTrigger.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
HttpsTrigger.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public HttpsTrigger.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
HttpsTrigger.Builder
Overrides

clearSecurityLevel()

public HttpsTrigger.Builder clearSecurityLevel()

The security level for the function.

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

Returns
TypeDescription
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
TypeDescription
HttpsTrigger.Builder

This builder for chaining.

clone()

public HttpsTrigger.Builder clone()
Returns
TypeDescription
HttpsTrigger.Builder
Overrides

getDefaultInstanceForType()

public HttpsTrigger getDefaultInstanceForType()
Returns
TypeDescription
HttpsTrigger

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSecurityLevel()

public HttpsTrigger.SecurityLevel getSecurityLevel()

The security level for the function.

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

Returns
TypeDescription
HttpsTrigger.SecurityLevel

The securityLevel.

getSecurityLevelValue()

public int getSecurityLevelValue()

The security level for the function.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for url.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(HttpsTrigger other)

public HttpsTrigger.Builder mergeFrom(HttpsTrigger other)
Parameter
NameDescription
otherHttpsTrigger
Returns
TypeDescription
HttpsTrigger.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public HttpsTrigger.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HttpsTrigger.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public HttpsTrigger.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
HttpsTrigger.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HttpsTrigger.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
HttpsTrigger.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public HttpsTrigger.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
HttpsTrigger.Builder
Overrides

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

public HttpsTrigger.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueHttpsTrigger.SecurityLevel

The securityLevel to set.

Returns
TypeDescription
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
NameDescription
valueint

The enum numeric value on the wire for securityLevel to set.

Returns
TypeDescription
HttpsTrigger.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final HttpsTrigger.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The url to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for url to set.

Returns
TypeDescription
HttpsTrigger.Builder

This builder for chaining.