Class StateMessage (2.16.0)

public final class StateMessage extends GeneratedMessageV3 implements StateMessageOrBuilder

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

Protobuf type google.cloud.functions.v2beta.StateMessage

Static Fields

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

SEVERITY_FIELD_NUMBER

public static final int SEVERITY_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StateMessage getDefaultInstance()
Returns
TypeDescription
StateMessage

getDescriptor()

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

newBuilder()

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

newBuilder(StateMessage prototype)

public static StateMessage.Builder newBuilder(StateMessage prototype)
Parameter
NameDescription
prototypeStateMessage
Returns
TypeDescription
StateMessage.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public StateMessage getDefaultInstanceForType()
Returns
TypeDescription
StateMessage

getMessage()

public String getMessage()

The message.

string message = 3;

Returns
TypeDescription
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

The message.

string message = 3;

Returns
TypeDescription
ByteString

The bytes for message.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSeverity()

public StateMessage.Severity getSeverity()

Severity of the state message.

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

Returns
TypeDescription
StateMessage.Severity

The severity.

getSeverityValue()

public int getSeverityValue()

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()

public String getType()

One-word CamelCase type of the state message.

string type = 2;

Returns
TypeDescription
String

The type.

getTypeBytes()

public ByteString getTypeBytes()

One-word CamelCase type of the state message.

string type = 2;

Returns
TypeDescription
ByteString

The bytes for type.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 StateMessage.Builder newBuilderForType()
Returns
TypeDescription
StateMessage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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