Class HttpsTrigger (2.55.0)

public final class HttpsTrigger extends GeneratedMessageV3 implements HttpsTriggerOrBuilder

Describes HttpsTrigger, could be used to connect web hooks to function.

Protobuf type google.cloud.functions.v1.HttpsTrigger

Static Fields

SECURITY_LEVEL_FIELD_NUMBER

public static final int SECURITY_LEVEL_FIELD_NUMBER
Field Value
Type Description
int

URL_FIELD_NUMBER

public static final int URL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HttpsTrigger getDefaultInstance()
Returns
Type Description
HttpsTrigger

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static HttpsTrigger.Builder newBuilder()
Returns
Type Description
HttpsTrigger.Builder

newBuilder(HttpsTrigger prototype)

public static HttpsTrigger.Builder newBuilder(HttpsTrigger prototype)
Parameter
Name Description
prototype HttpsTrigger
Returns
Type Description
HttpsTrigger.Builder

parseDelimitedFrom(InputStream input)

public static HttpsTrigger parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HttpsTrigger
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HttpsTrigger parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpsTrigger
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static HttpsTrigger parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
HttpsTrigger
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HttpsTrigger parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpsTrigger
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HttpsTrigger parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
HttpsTrigger
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HttpsTrigger parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpsTrigger
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HttpsTrigger parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
HttpsTrigger
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HttpsTrigger parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpsTrigger
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static HttpsTrigger parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HttpsTrigger
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HttpsTrigger parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpsTrigger
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static HttpsTrigger parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
HttpsTrigger
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HttpsTrigger parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HttpsTrigger
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<HttpsTrigger> parser()
Returns
Type Description
Parser<HttpsTrigger>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public HttpsTrigger getDefaultInstanceForType()
Returns
Type Description
HttpsTrigger

getParserForType()

public Parser<HttpsTrigger> getParserForType()
Returns
Type Description
Parser<HttpsTrigger>
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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public HttpsTrigger.Builder newBuilderForType()
Returns
Type Description
HttpsTrigger.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HttpsTrigger.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
HttpsTrigger.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public HttpsTrigger.Builder toBuilder()
Returns
Type Description
HttpsTrigger.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException