Class Stage (2.47.0)

public final class Stage extends GeneratedMessageV3 implements StageOrBuilder

Each Stage of the deployment process

Protobuf type google.cloud.functions.v2alpha.Stage

Implements

StageOrBuilder

Static Fields

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_URI_FIELD_NUMBER

public static final int RESOURCE_URI_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

STATE_MESSAGES_FIELD_NUMBER

public static final int STATE_MESSAGES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Stage getDefaultInstance()
Returns
Type Description
Stage

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Stage.Builder newBuilder()
Returns
Type Description
Stage.Builder

newBuilder(Stage prototype)

public static Stage.Builder newBuilder(Stage prototype)
Parameter
Name Description
prototype Stage
Returns
Type Description
Stage.Builder

parseDelimitedFrom(InputStream input)

public static Stage parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Stage
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Stage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Stage
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Stage parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Stage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Stage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Stage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Stage parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Stage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Stage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Stage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Stage parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Stage
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Stage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Stage
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Stage parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Stage
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Stage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Stage
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Stage parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Stage
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Stage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Stage
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Stage> parser()
Returns
Type Description
Parser<Stage>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Stage getDefaultInstanceForType()
Returns
Type Description
Stage

getMessage()

public String getMessage()

Message describing the Stage

string message = 2;

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Message describing the Stage

string message = 2;

Returns
Type Description
ByteString

The bytes for message.

getName()

public Stage.Name getName()

Name of the Stage. This will be unique for each Stage.

.google.cloud.functions.v2alpha.Stage.Name name = 1;

Returns
Type Description
Stage.Name

The name.

getNameValue()

public int getNameValue()

Name of the Stage. This will be unique for each Stage.

.google.cloud.functions.v2alpha.Stage.Name name = 1;

Returns
Type Description
int

The enum numeric value on the wire for name.

getParserForType()

public Parser<Stage> getParserForType()
Returns
Type Description
Parser<Stage>
Overrides

getResource()

public String getResource()

Resource of the Stage

string resource = 4;

Returns
Type Description
String

The resource.

getResourceBytes()

public ByteString getResourceBytes()

Resource of the Stage

string resource = 4;

Returns
Type Description
ByteString

The bytes for resource.

getResourceUri()

public String getResourceUri()

Link to the current Stage resource

string resource_uri = 5;

Returns
Type Description
String

The resourceUri.

getResourceUriBytes()

public ByteString getResourceUriBytes()

Link to the current Stage resource

string resource_uri = 5;

Returns
Type Description
ByteString

The bytes for resourceUri.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public Stage.State getState()

Current state of the Stage

.google.cloud.functions.v2alpha.Stage.State state = 3;

Returns
Type Description
Stage.State

The state.

getStateMessages(int index)

public StateMessage getStateMessages(int index)

State messages from the current Stage.

repeated .google.cloud.functions.v2alpha.StateMessage state_messages = 6;

Parameter
Name Description
index int
Returns
Type Description
StateMessage

getStateMessagesCount()

public int getStateMessagesCount()

State messages from the current Stage.

repeated .google.cloud.functions.v2alpha.StateMessage state_messages = 6;

Returns
Type Description
int

getStateMessagesList()

public List<StateMessage> getStateMessagesList()

State messages from the current Stage.

repeated .google.cloud.functions.v2alpha.StateMessage state_messages = 6;

Returns
Type Description
List<StateMessage>

getStateMessagesOrBuilder(int index)

public StateMessageOrBuilder getStateMessagesOrBuilder(int index)

State messages from the current Stage.

repeated .google.cloud.functions.v2alpha.StateMessage state_messages = 6;

Parameter
Name Description
index int
Returns
Type Description
StateMessageOrBuilder

getStateMessagesOrBuilderList()

public List<? extends StateMessageOrBuilder> getStateMessagesOrBuilderList()

State messages from the current Stage.

repeated .google.cloud.functions.v2alpha.StateMessage state_messages = 6;

Returns
Type Description
List<? extends com.google.cloud.functions.v2alpha.StateMessageOrBuilder>

getStateValue()

public int getStateValue()

Current state of the Stage

.google.cloud.functions.v2alpha.Stage.State state = 3;

Returns
Type Description
int

The enum numeric value on the wire for state.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Stage.Builder newBuilderForType()
Returns
Type Description
Stage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Stage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Stage.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Stage.Builder toBuilder()
Returns
Type Description
Stage.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException