Class HttpsTrigger (2.14.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
TypeDescription
int

URL_FIELD_NUMBER

public static final int URL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static HttpsTrigger getDefaultInstance()
Returns
TypeDescription
HttpsTrigger

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static HttpsTrigger.Builder newBuilder()
Returns
TypeDescription
HttpsTrigger.Builder

newBuilder(HttpsTrigger prototype)

public static HttpsTrigger.Builder newBuilder(HttpsTrigger prototype)
Parameter
NameDescription
prototypeHttpsTrigger
Returns
TypeDescription
HttpsTrigger.Builder

parseDelimitedFrom(InputStream input)

public static HttpsTrigger parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HttpsTrigger
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HttpsTrigger parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HttpsTrigger
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static HttpsTrigger parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
HttpsTrigger
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HttpsTrigger parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HttpsTrigger
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HttpsTrigger parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
HttpsTrigger
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HttpsTrigger parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HttpsTrigger
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HttpsTrigger parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
HttpsTrigger
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HttpsTrigger parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HttpsTrigger
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static HttpsTrigger parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HttpsTrigger
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HttpsTrigger parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HttpsTrigger
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static HttpsTrigger parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
HttpsTrigger
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HttpsTrigger parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HttpsTrigger
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<HttpsTrigger> parser()
Returns
TypeDescription
Parser<HttpsTrigger>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public HttpsTrigger getDefaultInstanceForType()
Returns
TypeDescription
HttpsTrigger

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public HttpsTrigger.Builder newBuilderForType()
Returns
TypeDescription
HttpsTrigger.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HttpsTrigger.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
HttpsTrigger.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public HttpsTrigger.Builder toBuilder()
Returns
TypeDescription
HttpsTrigger.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException