public final class Stage extends GeneratedMessageV3 implements StageOrBuilder
Stage specifies a location to which to deploy.
Protobuf type google.cloud.deploy.v1.Stage
Static Fields
PROFILES_FIELD_NUMBER
public static final int PROFILES_FIELD_NUMBER
Field Value
TARGET_ID_FIELD_NUMBER
public static final int TARGET_ID_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
getParserForType()
public Parser<Stage> getParserForType()
Returns
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
Name | Description |
index | int
The index of the element to return.
|
Returns
Type | Description |
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
Name | Description |
index | int
The index of the value to return.
|
Returns
Type | Description |
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
Type | Description |
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
getSerializedSize()
public int getSerializedSize()
Returns
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/deliveryPipelines/pipeline/targets/my-target
). The
parent DeliveryPipeline
of the Target
is inferred to be the parent
DeliveryPipeline
of the Release
in which this Stage
lives.
string target_id = 1;
Returns
Type | Description |
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/deliveryPipelines/pipeline/targets/my-target
). The
parent DeliveryPipeline
of the Target
is inferred to be the parent
DeliveryPipeline
of the Release
in which this Stage
lives.
string target_id = 1;
Returns
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