public final class Stage extends GeneratedMessageV3 implements StageOrBuilder
Each Stage of the deployment process
Protobuf type google.cloud.functions.v2alpha.Stage
Static Fields
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
Field Value
RESOURCE_URI_FIELD_NUMBER
public static final int RESOURCE_URI_FIELD_NUMBER
Field Value
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value
STATE_MESSAGES_FIELD_NUMBER
public static final int STATE_MESSAGES_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Stage getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Stage.Builder newBuilder()
Returns
newBuilder(Stage prototype)
public static Stage.Builder newBuilder(Stage prototype)
Parameter
Name | Description |
prototype | Stage
|
Returns
public static Stage parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Stage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Stage parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Stage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Stage parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Stage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Stage parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Stage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Stage parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Stage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Stage parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Stage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Stage> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Stage getDefaultInstanceForType()
Returns
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
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
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
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
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
Overrides
getState()
public Stage.State getState()
Current state of the Stage
.google.cloud.functions.v2alpha.Stage.State state = 3;
Returns
getStateMessages(int index)
public StateMessage getStateMessages(int index)
State messages from the current Stage.
repeated .google.cloud.functions.v2alpha.StateMessage state_messages = 6;
Parameter
Returns
getStateMessagesCount()
public int getStateMessagesCount()
State messages from the current Stage.
repeated .google.cloud.functions.v2alpha.StateMessage state_messages = 6;
Returns
getStateMessagesList()
public List<StateMessage> getStateMessagesList()
State messages from the current Stage.
repeated .google.cloud.functions.v2alpha.StateMessage state_messages = 6;
Returns
getStateMessagesOrBuilder(int index)
public StateMessageOrBuilder getStateMessagesOrBuilder(int index)
State messages from the current Stage.
repeated .google.cloud.functions.v2alpha.StateMessage state_messages = 6;
Parameter
Returns
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Stage.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Stage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Stage.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions