Class StateMessage (2.41.0)

publicfinalclass StateMessageextendsGeneratedMessageV3implementsStateMessageOrBuilder

Informational messages about the state of the Cloud Function or Operation.

Protobuf type google.cloud.functions.v2alpha.StateMessage

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

MESSAGE_FIELD_NUMBER

publicstaticfinalintMESSAGE_FIELD_NUMBER
Field Value
Type Description
int

SEVERITY_FIELD_NUMBER

publicstaticfinalintSEVERITY_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

publicstaticfinalintTYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticStateMessagegetDefaultInstance()
Returns
Type Description
StateMessage

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticStateMessage.BuildernewBuilder()
Returns
Type Description
StateMessage.Builder

newBuilder(StateMessage prototype)

publicstaticStateMessage.BuildernewBuilder(StateMessageprototype)
Parameter
Name Description
prototype StateMessage
Returns
Type Description
StateMessage.Builder

parseDelimitedFrom(InputStream input)

publicstaticStateMessageparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
StateMessage
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticStateMessageparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StateMessage
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticStateMessageparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
StateMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticStateMessageparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StateMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticStateMessageparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
StateMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticStateMessageparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StateMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticStateMessageparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
StateMessage
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticStateMessageparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StateMessage
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticStateMessageparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
StateMessage
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticStateMessageparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StateMessage
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticStateMessageparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
StateMessage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticStateMessageparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StateMessage
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<StateMessage>parser()
Returns
Type Description
Parser<StateMessage>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicStateMessagegetDefaultInstanceForType()
Returns
Type Description
StateMessage

getMessage()

publicStringgetMessage()

The message.

string message = 3;

Returns
Type Description
String

The message.

getMessageBytes()

publicByteStringgetMessageBytes()

The message.

string message = 3;

Returns
Type Description
ByteString

The bytes for message.

getParserForType()

publicParser<StateMessage>getParserForType()
Returns
Type Description
Parser<StateMessage>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getSeverity()

publicStateMessage.SeveritygetSeverity()

Severity of the state message.

.google.cloud.functions.v2alpha.StateMessage.Severity severity = 1;

Returns
Type Description
StateMessage.Severity

The severity.

getSeverityValue()

publicintgetSeverityValue()

Severity of the state message.

.google.cloud.functions.v2alpha.StateMessage.Severity severity = 1;

Returns
Type Description
int

The enum numeric value on the wire for severity.

getType()

publicStringgetType()

One-word CamelCase type of the state message.

string type = 2;

Returns
Type Description
String

The type.

getTypeBytes()

publicByteStringgetTypeBytes()

One-word CamelCase type of the state message.

string type = 2;

Returns
Type Description
ByteString

The bytes for type.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicStateMessage.BuildernewBuilderForType()
Returns
Type Description
StateMessage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedStateMessage.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
StateMessage.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicStateMessage.BuildertoBuilder()
Returns
Type Description
StateMessage.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.