Package com.google.cloud.deploy.v1
Class Stage
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.deploy.v1.Stage
- All Implemented Interfaces:
StageOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class Stage
extends com.google.protobuf.GeneratedMessage
implements StageOrBuilder
Stage specifies a location to which to deploy.Protobuf type
google.cloud.deploy.v1.Stage- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classStage specifies a location to which to deploy.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic StagegetDeployParameters(int index) Optional.intOptional.Optional.getDeployParametersOrBuilder(int index) Optional.List<? extends DeployParametersOrBuilder>Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<Stage>getProfiles(int index) Optional.com.google.protobuf.ByteStringgetProfilesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.intOptional.Optional.Optional.com.google.protobuf.ByteStringOptional.inthashCode()booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Stage.Builderstatic Stage.BuildernewBuilder(Stage prototype) protected Stage.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static StageparseDelimitedFrom(InputStream input) static StageparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StageparseFrom(byte[] data) static StageparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StageparseFrom(com.google.protobuf.ByteString data) static StageparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StageparseFrom(com.google.protobuf.CodedInputStream input) static StageparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StageparseFrom(InputStream input) static StageparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StageparseFrom(ByteBuffer data) static StageparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Stage>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TARGET_ID_FIELD_NUMBER
public static final int TARGET_ID_FIELD_NUMBER- See Also:
-
PROFILES_FIELD_NUMBER
public static final int PROFILES_FIELD_NUMBER- See Also:
-
STRATEGY_FIELD_NUMBER
public static final int STRATEGY_FIELD_NUMBER- See Also:
-
DEPLOY_PARAMETERS_FIELD_NUMBER
public static final int DEPLOY_PARAMETERS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getTargetId
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTargetIdin interfaceStageOrBuilder- Returns:
- The targetId.
-
getTargetIdBytes
public com.google.protobuf.ByteString getTargetIdBytes()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTargetIdBytesin interfaceStageOrBuilder- Returns:
- The bytes for targetId.
-
getProfilesList
public com.google.protobuf.ProtocolStringList getProfilesList()Optional. Skaffold profiles to use when rendering the manifest for this stage's `Target`.
repeated string profiles = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getProfilesListin interfaceStageOrBuilder- Returns:
- A list containing the profiles.
-
getProfilesCount
public int getProfilesCount()Optional. Skaffold profiles to use when rendering the manifest for this stage's `Target`.
repeated string profiles = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getProfilesCountin interfaceStageOrBuilder- Returns:
- The count of profiles.
-
getProfiles
Optional. Skaffold profiles to use when rendering the manifest for this stage's `Target`.
repeated string profiles = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getProfilesin interfaceStageOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The profiles at the given index.
-
getProfilesBytes
public com.google.protobuf.ByteString getProfilesBytes(int index) Optional. Skaffold profiles to use when rendering the manifest for this stage's `Target`.
repeated string profiles = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getProfilesBytesin interfaceStageOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the profiles at the given index.
-
hasStrategy
public boolean hasStrategy()Optional. The strategy to use for a `Rollout` to this stage.
.google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasStrategyin interfaceStageOrBuilder- Returns:
- Whether the strategy field is set.
-
getStrategy
Optional. The strategy to use for a `Rollout` to this stage.
.google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStrategyin interfaceStageOrBuilder- Returns:
- The strategy.
-
getStrategyOrBuilder
Optional. The strategy to use for a `Rollout` to this stage.
.google.cloud.deploy.v1.Strategy strategy = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getStrategyOrBuilderin interfaceStageOrBuilder
-
getDeployParametersList
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeployParametersListin interfaceStageOrBuilder
-
getDeployParametersOrBuilderList
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeployParametersOrBuilderListin interfaceStageOrBuilder
-
getDeployParametersCount
public int getDeployParametersCount()Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeployParametersCountin interfaceStageOrBuilder
-
getDeployParameters
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeployParametersin interfaceStageOrBuilder
-
getDeployParametersOrBuilder
Optional. The deploy parameters to use for the target in this stage.
repeated .google.cloud.deploy.v1.DeployParameters deploy_parameters = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDeployParametersOrBuilderin interfaceStageOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Stage parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Stage parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Stage parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Stage parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Stage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Stage parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Stage parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Stage parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Stage parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-