- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.4
- 2.4.3
- 2.3.6
public static final class StateMessage.Builder extends GeneratedMessageV3.Builder<StateMessage.Builder> implements StateMessageOrBuilder
Informational messages about the state of the Cloud Function or Operation.
Protobuf type google.cloud.functions.v2beta.StateMessage
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StateMessage.BuilderImplements
StateMessageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StateMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
StateMessage.Builder |
build()
public StateMessage build()
Returns | |
---|---|
Type | Description |
StateMessage |
buildPartial()
public StateMessage buildPartial()
Returns | |
---|---|
Type | Description |
StateMessage |
clear()
public StateMessage.Builder clear()
Returns | |
---|---|
Type | Description |
StateMessage.Builder |
clearField(Descriptors.FieldDescriptor field)
public StateMessage.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
StateMessage.Builder |
clearMessage()
public StateMessage.Builder clearMessage()
The message.
string message = 3;
Returns | |
---|---|
Type | Description |
StateMessage.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public StateMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
StateMessage.Builder |
clearSeverity()
public StateMessage.Builder clearSeverity()
Severity of the state message.
.google.cloud.functions.v2beta.StateMessage.Severity severity = 1;
Returns | |
---|---|
Type | Description |
StateMessage.Builder |
This builder for chaining. |
clearType()
public StateMessage.Builder clearType()
One-word CamelCase type of the state message.
string type = 2;
Returns | |
---|---|
Type | Description |
StateMessage.Builder |
This builder for chaining. |
clone()
public StateMessage.Builder clone()
Returns | |
---|---|
Type | Description |
StateMessage.Builder |
getDefaultInstanceForType()
public StateMessage getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
StateMessage |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMessage()
public String getMessage()
The message.
string message = 3;
Returns | |
---|---|
Type | Description |
String |
The message. |
getMessageBytes()
public ByteString getMessageBytes()
The message.
string message = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for message. |
getSeverity()
public StateMessage.Severity getSeverity()
Severity of the state message.
.google.cloud.functions.v2beta.StateMessage.Severity severity = 1;
Returns | |
---|---|
Type | Description |
StateMessage.Severity |
The severity. |
getSeverityValue()
public int getSeverityValue()
Severity of the state message.
.google.cloud.functions.v2beta.StateMessage.Severity severity = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
The type. |
getTypeBytes()
public ByteString getTypeBytes()
One-word CamelCase type of the state message.
string type = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for type. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(StateMessage other)
public StateMessage.Builder mergeFrom(StateMessage other)
Parameter | |
---|---|
Name | Description |
other |
StateMessage |
Returns | |
---|---|
Type | Description |
StateMessage.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StateMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StateMessage.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public StateMessage.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
StateMessage.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StateMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StateMessage.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public StateMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
StateMessage.Builder |
setMessage(String value)
public StateMessage.Builder setMessage(String value)
The message.
string message = 3;
Parameter | |
---|---|
Name | Description |
value |
String The message to set. |
Returns | |
---|---|
Type | Description |
StateMessage.Builder |
This builder for chaining. |
setMessageBytes(ByteString value)
public StateMessage.Builder setMessageBytes(ByteString value)
The message.
string message = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for message to set. |
Returns | |
---|---|
Type | Description |
StateMessage.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StateMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
StateMessage.Builder |
setSeverity(StateMessage.Severity value)
public StateMessage.Builder setSeverity(StateMessage.Severity value)
Severity of the state message.
.google.cloud.functions.v2beta.StateMessage.Severity severity = 1;
Parameter | |
---|---|
Name | Description |
value |
StateMessage.Severity The severity to set. |
Returns | |
---|---|
Type | Description |
StateMessage.Builder |
This builder for chaining. |
setSeverityValue(int value)
public StateMessage.Builder setSeverityValue(int value)
Severity of the state message.
.google.cloud.functions.v2beta.StateMessage.Severity severity = 1;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for severity to set. |
Returns | |
---|---|
Type | Description |
StateMessage.Builder |
This builder for chaining. |
setType(String value)
public StateMessage.Builder setType(String value)
One-word CamelCase type of the state message.
string type = 2;
Parameter | |
---|---|
Name | Description |
value |
String The type to set. |
Returns | |
---|---|
Type | Description |
StateMessage.Builder |
This builder for chaining. |
setTypeBytes(ByteString value)
public StateMessage.Builder setTypeBytes(ByteString value)
One-word CamelCase type of the state message.
string type = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for type to set. |
Returns | |
---|---|
Type | Description |
StateMessage.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final StateMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
StateMessage.Builder |