Class StateMessage (2.62.0)

publicfinalclassStateMessageextendsGeneratedMessageV3implementsStateMessageOrBuilder

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

Protobuf type google.cloud.functions.v2beta.StateMessage

Static Fields

MESSAGE_FIELD_NUMBER

publicstaticfinalintMESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

SEVERITY_FIELD_NUMBER

publicstaticfinalintSEVERITY_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

publicstaticfinalintTYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

publicstaticStateMessagegetDefaultInstance()
Returns
TypeDescription
StateMessage

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

publicstaticStateMessage.BuildernewBuilder()
Returns
TypeDescription
StateMessage.Builder

newBuilder(StateMessage prototype)

publicstaticStateMessage.BuildernewBuilder(StateMessageprototype)
Parameter
NameDescription
prototypeStateMessage
Returns
TypeDescription
StateMessage.Builder

parseDelimitedFrom(InputStream input)

publicstaticStateMessageparseDelimitedFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StateMessage
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticStateMessageparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StateMessage
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

publicstaticStateMessageparseFrom(byte[]data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
StateMessage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticStateMessageparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StateMessage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticStateMessageparseFrom(ByteStringdata)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StateMessage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticStateMessageparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StateMessage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticStateMessageparseFrom(CodedInputStreaminput)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StateMessage
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticStateMessageparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StateMessage
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

publicstaticStateMessageparseFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StateMessage
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticStateMessageparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StateMessage
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

publicstaticStateMessageparseFrom(ByteBufferdata)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StateMessage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticStateMessageparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StateMessage
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

publicstaticParser<StateMessage>parser()
Returns
TypeDescription
Parser<StateMessage>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

publicStateMessagegetDefaultInstanceForType()
Returns
TypeDescription
StateMessage

getMessage()

publicStringgetMessage()

The message.

string message = 3;

Returns
TypeDescription
String

The message.

getMessageBytes()

publicByteStringgetMessageBytes()

The message.

string message = 3;

Returns
TypeDescription
ByteString

The bytes for message.

getParserForType()

publicParser<StateMessage>getParserForType()
Returns
TypeDescription
Parser<StateMessage>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
TypeDescription
int
Overrides

getSeverity()

publicStateMessage.SeveritygetSeverity()

Severity of the state message.

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

Returns
TypeDescription
StateMessage.Severity

The severity.

getSeverityValue()

publicintgetSeverityValue()

Severity of the state message.

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

Returns
TypeDescription
int

The enum numeric value on the wire for severity.

getType()

publicStringgetType()

One-word CamelCase type of the state message.

string type = 2;

Returns
TypeDescription
String

The type.

getTypeBytes()

publicByteStringgetTypeBytes()

One-word CamelCase type of the state message.

string type = 2;

Returns
TypeDescription
ByteString

The bytes for type.

hashCode()

publicinthashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

publicStateMessage.BuildernewBuilderForType()
Returns
TypeDescription
StateMessage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedStateMessage.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
StateMessage.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

publicStateMessage.BuildertoBuilder()
Returns
TypeDescription
StateMessage.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException