Class Stage (2.42.0)

public final class Stage extends GeneratedMessageV3 implements StageOrBuilder

Each Stage of the deployment process

Protobuf type google.cloud.functions.v2.Stage

Implements

StageOrBuilder

Static Fields

MESSAGE_FIELD_NUMBER

public static final int MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_FIELD_NUMBER

public static final int RESOURCE_FIELD_NUMBER
Field Value
TypeDescription
int

RESOURCE_URI_FIELD_NUMBER

public static final int RESOURCE_URI_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_MESSAGES_FIELD_NUMBER

public static final int STATE_MESSAGES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Stage getDefaultInstance()
Returns
TypeDescription
Stage

getDescriptor()

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

newBuilder()

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

newBuilder(Stage prototype)

public static Stage.Builder newBuilder(Stage prototype)
Parameter
NameDescription
prototypeStage
Returns
TypeDescription
Stage.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Stage getDefaultInstanceForType()
Returns
TypeDescription
Stage

getMessage()

public String getMessage()

Message describing the Stage

string message = 2;

Returns
TypeDescription
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Message describing the Stage

string message = 2;

Returns
TypeDescription
ByteString

The bytes for message.

getName()

public Stage.Name getName()

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

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

Returns
TypeDescription
Stage.Name

The name.

getNameValue()

public int getNameValue()

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

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

Returns
TypeDescription
int

The enum numeric value on the wire for name.

getParserForType()

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

getResource()

public String getResource()

Resource of the Stage

string resource = 4;

Returns
TypeDescription
String

The resource.

getResourceBytes()

public ByteString getResourceBytes()

Resource of the Stage

string resource = 4;

Returns
TypeDescription
ByteString

The bytes for resource.

getResourceUri()

public String getResourceUri()

Link to the current Stage resource

string resource_uri = 5;

Returns
TypeDescription
String

The resourceUri.

getResourceUriBytes()

public ByteString getResourceUriBytes()

Link to the current Stage resource

string resource_uri = 5;

Returns
TypeDescription
ByteString

The bytes for resourceUri.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public Stage.State getState()

Current state of the Stage

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

Returns
TypeDescription
Stage.State

The state.

getStateMessages(int index)

public StateMessage getStateMessages(int index)

State messages from the current Stage.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
StateMessage

getStateMessagesCount()

public int getStateMessagesCount()

State messages from the current Stage.

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

Returns
TypeDescription
int

getStateMessagesList()

public List<StateMessage> getStateMessagesList()

State messages from the current Stage.

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

Returns
TypeDescription
List<StateMessage>

getStateMessagesOrBuilder(int index)

public StateMessageOrBuilder getStateMessagesOrBuilder(int index)

State messages from the current Stage.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
StateMessageOrBuilder

getStateMessagesOrBuilderList()

public List<? extends StateMessageOrBuilder> getStateMessagesOrBuilderList()

State messages from the current Stage.

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

Returns
TypeDescription
List<? extends com.google.cloud.functions.v2.StateMessageOrBuilder>

getStateValue()

public int getStateValue()

Current state of the Stage

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

Returns
TypeDescription
int

The enum numeric value on the wire for state.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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