Package com.google.cloud.deploy.v1
Class PromoteReleaseOperation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.deploy.v1.PromoteReleaseOperation
- All Implemented Interfaces:
PromoteReleaseOperationOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class PromoteReleaseOperation
extends com.google.protobuf.GeneratedMessage
implements PromoteReleaseOperationOrBuilder
Contains the information of an automated promote-release operation.Protobuf type
google.cloud.deploy.v1.PromoteReleaseOperation- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the information of an automated promote-release operation.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 PromoteReleaseOperationstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<PromoteReleaseOperation>getPhase()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.intOutput only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.DurationgetWait()Output only.com.google.protobuf.DurationOrBuilderOutput only.inthashCode()booleanhasWait()Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(PromoteReleaseOperation prototype) protected PromoteReleaseOperation.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static PromoteReleaseOperationparseDelimitedFrom(InputStream input) static PromoteReleaseOperationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PromoteReleaseOperationparseFrom(byte[] data) static PromoteReleaseOperationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PromoteReleaseOperationparseFrom(com.google.protobuf.ByteString data) static PromoteReleaseOperationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PromoteReleaseOperationparseFrom(com.google.protobuf.CodedInputStream input) static PromoteReleaseOperationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PromoteReleaseOperationparseFrom(InputStream input) static PromoteReleaseOperationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PromoteReleaseOperationparseFrom(ByteBuffer data) static PromoteReleaseOperationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PromoteReleaseOperation>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:
-
WAIT_FIELD_NUMBER
public static final int WAIT_FIELD_NUMBER- See Also:
-
ROLLOUT_FIELD_NUMBER
public static final int ROLLOUT_FIELD_NUMBER- See Also:
-
PHASE_FIELD_NUMBER
public static final int PHASE_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
Output only. The ID of the target that represents the promotion stage to which the release will be promoted. The value of this field is the last segment of a target name.
string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTargetIdin interfacePromoteReleaseOperationOrBuilder- Returns:
- The targetId.
-
getTargetIdBytes
public com.google.protobuf.ByteString getTargetIdBytes()Output only. The ID of the target that represents the promotion stage to which the release will be promoted. The value of this field is the last segment of a target name.
string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTargetIdBytesin interfacePromoteReleaseOperationOrBuilder- Returns:
- The bytes for targetId.
-
hasWait
public boolean hasWait()Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasWaitin interfacePromoteReleaseOperationOrBuilder- Returns:
- Whether the wait field is set.
-
getWait
public com.google.protobuf.Duration getWait()Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWaitin interfacePromoteReleaseOperationOrBuilder- Returns:
- The wait.
-
getWaitOrBuilder
public com.google.protobuf.DurationOrBuilder getWaitOrBuilder()Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getWaitOrBuilderin interfacePromoteReleaseOperationOrBuilder
-
getRollout
Output only. The name of the rollout that initiates the `AutomationRun`.
string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRolloutin interfacePromoteReleaseOperationOrBuilder- Returns:
- The rollout.
-
getRolloutBytes
public com.google.protobuf.ByteString getRolloutBytes()Output only. The name of the rollout that initiates the `AutomationRun`.
string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRolloutBytesin interfacePromoteReleaseOperationOrBuilder- Returns:
- The bytes for rollout.
-
getPhase
Output only. The starting phase of the rollout created by this operation.
string phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPhasein interfacePromoteReleaseOperationOrBuilder- Returns:
- The phase.
-
getPhaseBytes
public com.google.protobuf.ByteString getPhaseBytes()Output only. The starting phase of the rollout created by this operation.
string phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPhaseBytesin interfacePromoteReleaseOperationOrBuilder- Returns:
- The bytes for phase.
-
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 PromoteReleaseOperation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PromoteReleaseOperation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PromoteReleaseOperation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PromoteReleaseOperation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PromoteReleaseOperation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PromoteReleaseOperation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PromoteReleaseOperation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PromoteReleaseOperation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PromoteReleaseOperation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PromoteReleaseOperation 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
protected PromoteReleaseOperation.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - 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
-