Class Stage (1.1.3)

public final class Stage extends GeneratedMessageV3 implements StageOrBuilder

Stage specifies a location to which to deploy.

Protobuf type google.cloud.deploy.v1.Stage

Implements

StageOrBuilder

Static Fields

PROFILES_FIELD_NUMBER

public static final int PROFILES_FIELD_NUMBER
Field Value
TypeDescription
int

TARGET_ID_FIELD_NUMBER

public static final int TARGET_ID_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

getParserForType()

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

getProfiles(int index)

public String getProfiles(int index)

Skaffold profiles to use when rendering the manifest for this stage's Target.

repeated string profiles = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The profiles at the given index.

getProfilesBytes(int index)

public ByteString getProfilesBytes(int index)

Skaffold profiles to use when rendering the manifest for this stage's Target.

repeated string profiles = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the profiles at the given index.

getProfilesCount()

public int getProfilesCount()

Skaffold profiles to use when rendering the manifest for this stage's Target.

repeated string profiles = 2;

Returns
TypeDescription
int

The count of profiles.

getProfilesList()

public ProtocolStringList getProfilesList()

Skaffold profiles to use when rendering the manifest for this stage's Target.

repeated string profiles = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the profiles.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTargetId()

public String getTargetId()

The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be my-target (rather than projects/project/locations/location/targets/my-target). The location of the Target is inferred to be the same as the location of the DeliveryPipeline that contains this Stage.

string target_id = 1;

Returns
TypeDescription
String

The targetId.

getTargetIdBytes()

public ByteString getTargetIdBytes()

The target_id to which this stage points. This field refers exclusively to the last segment of a target name. For example, this field would just be my-target (rather than projects/project/locations/location/targets/my-target). The location of the Target is inferred to be the same as the location of the DeliveryPipeline that contains this Stage.

string target_id = 1;

Returns
TypeDescription
ByteString

The bytes for targetId.

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