Package com.google.cloud.deploy.v1
Class Rollout
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.deploy.v1.Rollout
-
- All Implemented Interfaces:
RolloutOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Rollout extends com.google.protobuf.GeneratedMessageV3 implements RolloutOrBuilder
A `Rollout` resource in the Cloud Deploy API. A `Rollout` contains information around a specific deployment to a `Target`.
Protobuf typegoogle.cloud.deploy.v1.Rollout
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Rollout.ApprovalState
Valid approval states of a `Rollout`.static class
Rollout.Builder
A `Rollout` resource in the Cloud Deploy API.static class
Rollout.FailureCause
Well-known rollout failures.static class
Rollout.State
Valid states of a `Rollout`.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ANNOTATIONS_FIELD_NUMBER
static int
APPROVAL_STATE_FIELD_NUMBER
static int
APPROVE_TIME_FIELD_NUMBER
static int
CONTROLLER_ROLLOUT_FIELD_NUMBER
static int
CREATE_TIME_FIELD_NUMBER
static int
DEPLOY_END_TIME_FIELD_NUMBER
static int
DEPLOY_FAILURE_CAUSE_FIELD_NUMBER
static int
DEPLOY_START_TIME_FIELD_NUMBER
static int
DEPLOYING_BUILD_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
ENQUEUE_TIME_FIELD_NUMBER
static int
ETAG_FIELD_NUMBER
static int
FAILURE_REASON_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
METADATA_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
PHASES_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
TARGET_ID_FIELD_NUMBER
static int
UID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsAnnotations(String key)
User annotations.boolean
containsLabels(String key)
Labels are attributes that can be set and used by both the user and by Cloud Deploy.boolean
equals(Object obj)
Map<String,String>
getAnnotations()
Deprecated.int
getAnnotationsCount()
User annotations.Map<String,String>
getAnnotationsMap()
User annotations.String
getAnnotationsOrDefault(String key, String defaultValue)
User annotations.String
getAnnotationsOrThrow(String key)
User annotations.Rollout.ApprovalState
getApprovalState()
Output only.int
getApprovalStateValue()
Output only.com.google.protobuf.Timestamp
getApproveTime()
Output only.com.google.protobuf.TimestampOrBuilder
getApproveTimeOrBuilder()
Output only.String
getControllerRollout()
Output only.com.google.protobuf.ByteString
getControllerRolloutBytes()
Output only.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static Rollout
getDefaultInstance()
Rollout
getDefaultInstanceForType()
com.google.protobuf.Timestamp
getDeployEndTime()
Output only.com.google.protobuf.TimestampOrBuilder
getDeployEndTimeOrBuilder()
Output only.Rollout.FailureCause
getDeployFailureCause()
Output only.int
getDeployFailureCauseValue()
Output only.String
getDeployingBuild()
Output only.com.google.protobuf.ByteString
getDeployingBuildBytes()
Output only.com.google.protobuf.Timestamp
getDeployStartTime()
Output only.com.google.protobuf.TimestampOrBuilder
getDeployStartTimeOrBuilder()
Output only.String
getDescription()
Description of the `Rollout` for user purposes.com.google.protobuf.ByteString
getDescriptionBytes()
Description of the `Rollout` for user purposes.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Timestamp
getEnqueueTime()
Output only.com.google.protobuf.TimestampOrBuilder
getEnqueueTimeOrBuilder()
Output only.String
getEtag()
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.com.google.protobuf.ByteString
getEtagBytes()
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.String
getFailureReason()
Output only.com.google.protobuf.ByteString
getFailureReasonBytes()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels are attributes that can be set and used by both the user and by Cloud Deploy.Map<String,String>
getLabelsMap()
Labels are attributes that can be set and used by both the user and by Cloud Deploy.String
getLabelsOrDefault(String key, String defaultValue)
Labels are attributes that can be set and used by both the user and by Cloud Deploy.String
getLabelsOrThrow(String key)
Labels are attributes that can be set and used by both the user and by Cloud Deploy.Metadata
getMetadata()
Output only.MetadataOrBuilder
getMetadataOrBuilder()
Output only.String
getName()
Optional.com.google.protobuf.ByteString
getNameBytes()
Optional.com.google.protobuf.Parser<Rollout>
getParserForType()
Phase
getPhases(int index)
Output only.int
getPhasesCount()
Output only.List<Phase>
getPhasesList()
Output only.PhaseOrBuilder
getPhasesOrBuilder(int index)
Output only.List<? extends PhaseOrBuilder>
getPhasesOrBuilderList()
Output only.int
getSerializedSize()
Rollout.State
getState()
Output only.int
getStateValue()
Output only.String
getTargetId()
Required.com.google.protobuf.ByteString
getTargetIdBytes()
Required.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.boolean
hasApproveTime()
Output only.boolean
hasCreateTime()
Output only.boolean
hasDeployEndTime()
Output only.boolean
hasDeployStartTime()
Output only.boolean
hasEnqueueTime()
Output only.int
hashCode()
boolean
hasMetadata()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Rollout.Builder
newBuilder()
static Rollout.Builder
newBuilder(Rollout prototype)
Rollout.Builder
newBuilderForType()
protected Rollout.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Rollout
parseDelimitedFrom(InputStream input)
static Rollout
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Rollout
parseFrom(byte[] data)
static Rollout
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Rollout
parseFrom(com.google.protobuf.ByteString data)
static Rollout
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Rollout
parseFrom(com.google.protobuf.CodedInputStream input)
static Rollout
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Rollout
parseFrom(InputStream input)
static Rollout
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Rollout
parseFrom(ByteBuffer data)
static Rollout
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Rollout>
parser()
Rollout.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UID_FIELD_NUMBER
public static final int UID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANNOTATIONS_FIELD_NUMBER
public static final int ANNOTATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APPROVE_TIME_FIELD_NUMBER
public static final int APPROVE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENQUEUE_TIME_FIELD_NUMBER
public static final int ENQUEUE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPLOY_START_TIME_FIELD_NUMBER
public static final int DEPLOY_START_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPLOY_END_TIME_FIELD_NUMBER
public static final int DEPLOY_END_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_ID_FIELD_NUMBER
public static final int TARGET_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APPROVAL_STATE_FIELD_NUMBER
public static final int APPROVAL_STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FAILURE_REASON_FIELD_NUMBER
public static final int FAILURE_REASON_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPLOYING_BUILD_FIELD_NUMBER
public static final int DEPLOYING_BUILD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPLOY_FAILURE_CAUSE_FIELD_NUMBER
public static final int DEPLOY_FAILURE_CAUSE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PHASES_FIELD_NUMBER
public static final int PHASES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTROLLER_ROLLOUT_FIELD_NUMBER
public static final int CONTROLLER_ROLLOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Optional. Name of the `Rollout`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getName
in interfaceRolloutOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Optional. Name of the `Rollout`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}.
string name = 1 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getNameBytes
in interfaceRolloutOrBuilder
- Returns:
- The bytes for name.
-
getUid
public String getUid()
Output only. Unique identifier of the `Rollout`.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUid
in interfaceRolloutOrBuilder
- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. Unique identifier of the `Rollout`.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUidBytes
in interfaceRolloutOrBuilder
- Returns:
- The bytes for uid.
-
getDescription
public String getDescription()
Description of the `Rollout` for user purposes. Max length is 255 characters.
string description = 3;
- Specified by:
getDescription
in interfaceRolloutOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Description of the `Rollout` for user purposes. Max length is 255 characters.
string description = 3;
- Specified by:
getDescriptionBytes
in interfaceRolloutOrBuilder
- Returns:
- The bytes for description.
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:RolloutOrBuilder
User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;
- Specified by:
getAnnotationsCount
in interfaceRolloutOrBuilder
-
containsAnnotations
public boolean containsAnnotations(String key)
User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;
- Specified by:
containsAnnotations
in interfaceRolloutOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in interfaceRolloutOrBuilder
-
getAnnotationsMap
public Map<String,String> getAnnotationsMap()
User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;
- Specified by:
getAnnotationsMap
in interfaceRolloutOrBuilder
-
getAnnotationsOrDefault
public String getAnnotationsOrDefault(String key, String defaultValue)
User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;
- Specified by:
getAnnotationsOrDefault
in interfaceRolloutOrBuilder
-
getAnnotationsOrThrow
public String getAnnotationsOrThrow(String key)
User annotations. These attributes can only be set and used by the user, and not by Cloud Deploy. See https://google.aip.dev/128#annotations for more details such as format and size limitations.
map<string, string> annotations = 4;
- Specified by:
getAnnotationsOrThrow
in interfaceRolloutOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:RolloutOrBuilder
Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 5;
- Specified by:
getLabelsCount
in interfaceRolloutOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 5;
- Specified by:
containsLabels
in interfaceRolloutOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceRolloutOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 5;
- Specified by:
getLabelsMap
in interfaceRolloutOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 5;
- Specified by:
getLabelsOrDefault
in interfaceRolloutOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels are attributes that can be set and used by both the user and by Cloud Deploy. Labels must meet the following constraints: * Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes. * All characters must use UTF-8 encoding, and international characters are allowed. * Keys must start with a lowercase letter or international character. * Each resource is limited to a maximum of 64 labels. Both keys and values are additionally constrained to be <= 128 bytes.
map<string, string> labels = 5;
- Specified by:
getLabelsOrThrow
in interfaceRolloutOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. Time at which the `Rollout` was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceRolloutOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Time at which the `Rollout` was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceRolloutOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time at which the `Rollout` was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceRolloutOrBuilder
-
hasApproveTime
public boolean hasApproveTime()
Output only. Time at which the `Rollout` was approved.
.google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasApproveTime
in interfaceRolloutOrBuilder
- Returns:
- Whether the approveTime field is set.
-
getApproveTime
public com.google.protobuf.Timestamp getApproveTime()
Output only. Time at which the `Rollout` was approved.
.google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getApproveTime
in interfaceRolloutOrBuilder
- Returns:
- The approveTime.
-
getApproveTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getApproveTimeOrBuilder()
Output only. Time at which the `Rollout` was approved.
.google.protobuf.Timestamp approve_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getApproveTimeOrBuilder
in interfaceRolloutOrBuilder
-
hasEnqueueTime
public boolean hasEnqueueTime()
Output only. Time at which the `Rollout` was enqueued.
.google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasEnqueueTime
in interfaceRolloutOrBuilder
- Returns:
- Whether the enqueueTime field is set.
-
getEnqueueTime
public com.google.protobuf.Timestamp getEnqueueTime()
Output only. Time at which the `Rollout` was enqueued.
.google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEnqueueTime
in interfaceRolloutOrBuilder
- Returns:
- The enqueueTime.
-
getEnqueueTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEnqueueTimeOrBuilder()
Output only. Time at which the `Rollout` was enqueued.
.google.protobuf.Timestamp enqueue_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEnqueueTimeOrBuilder
in interfaceRolloutOrBuilder
-
hasDeployStartTime
public boolean hasDeployStartTime()
Output only. Time at which the `Rollout` started deploying.
.google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasDeployStartTime
in interfaceRolloutOrBuilder
- Returns:
- Whether the deployStartTime field is set.
-
getDeployStartTime
public com.google.protobuf.Timestamp getDeployStartTime()
Output only. Time at which the `Rollout` started deploying.
.google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeployStartTime
in interfaceRolloutOrBuilder
- Returns:
- The deployStartTime.
-
getDeployStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeployStartTimeOrBuilder()
Output only. Time at which the `Rollout` started deploying.
.google.protobuf.Timestamp deploy_start_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeployStartTimeOrBuilder
in interfaceRolloutOrBuilder
-
hasDeployEndTime
public boolean hasDeployEndTime()
Output only. Time at which the `Rollout` finished deploying.
.google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasDeployEndTime
in interfaceRolloutOrBuilder
- Returns:
- Whether the deployEndTime field is set.
-
getDeployEndTime
public com.google.protobuf.Timestamp getDeployEndTime()
Output only. Time at which the `Rollout` finished deploying.
.google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeployEndTime
in interfaceRolloutOrBuilder
- Returns:
- The deployEndTime.
-
getDeployEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeployEndTimeOrBuilder()
Output only. Time at which the `Rollout` finished deploying.
.google.protobuf.Timestamp deploy_end_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeployEndTimeOrBuilder
in interfaceRolloutOrBuilder
-
getTargetId
public String getTargetId()
Required. The ID of Target to which this `Rollout` is deploying.
string target_id = 18 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getTargetId
in interfaceRolloutOrBuilder
- Returns:
- The targetId.
-
getTargetIdBytes
public com.google.protobuf.ByteString getTargetIdBytes()
Required. The ID of Target to which this `Rollout` is deploying.
string target_id = 18 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getTargetIdBytes
in interfaceRolloutOrBuilder
- Returns:
- The bytes for targetId.
-
getApprovalStateValue
public int getApprovalStateValue()
Output only. Approval state of the `Rollout`.
.google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getApprovalStateValue
in interfaceRolloutOrBuilder
- Returns:
- The enum numeric value on the wire for approvalState.
-
getApprovalState
public Rollout.ApprovalState getApprovalState()
Output only. Approval state of the `Rollout`.
.google.cloud.deploy.v1.Rollout.ApprovalState approval_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getApprovalState
in interfaceRolloutOrBuilder
- Returns:
- The approvalState.
-
getStateValue
public int getStateValue()
Output only. Current state of the `Rollout`.
.google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceRolloutOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
getState
public Rollout.State getState()
Output only. Current state of the `Rollout`.
.google.cloud.deploy.v1.Rollout.State state = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceRolloutOrBuilder
- Returns:
- The state.
-
getFailureReason
public String getFailureReason()
Output only. Additional information about the rollout failure, if available.
string failure_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getFailureReason
in interfaceRolloutOrBuilder
- Returns:
- The failureReason.
-
getFailureReasonBytes
public com.google.protobuf.ByteString getFailureReasonBytes()
Output only. Additional information about the rollout failure, if available.
string failure_reason = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getFailureReasonBytes
in interfaceRolloutOrBuilder
- Returns:
- The bytes for failureReason.
-
getDeployingBuild
public String getDeployingBuild()
Output only. The resource name of the Cloud Build `Build` object that is used to deploy the Rollout. Format is `projects/{project}/locations/{location}/builds/{build}`.
string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getDeployingBuild
in interfaceRolloutOrBuilder
- Returns:
- The deployingBuild.
-
getDeployingBuildBytes
public com.google.protobuf.ByteString getDeployingBuildBytes()
Output only. The resource name of the Cloud Build `Build` object that is used to deploy the Rollout. Format is `projects/{project}/locations/{location}/builds/{build}`.
string deploying_build = 17 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getDeployingBuildBytes
in interfaceRolloutOrBuilder
- Returns:
- The bytes for deployingBuild.
-
getEtag
public String getEtag()
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 16;
- Specified by:
getEtag
in interfaceRolloutOrBuilder
- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
string etag = 16;
- Specified by:
getEtagBytes
in interfaceRolloutOrBuilder
- Returns:
- The bytes for etag.
-
getDeployFailureCauseValue
public int getDeployFailureCauseValue()
Output only. The reason this rollout failed. This will always be unspecified while the rollout is in progress.
.google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeployFailureCauseValue
in interfaceRolloutOrBuilder
- Returns:
- The enum numeric value on the wire for deployFailureCause.
-
getDeployFailureCause
public Rollout.FailureCause getDeployFailureCause()
Output only. The reason this rollout failed. This will always be unspecified while the rollout is in progress.
.google.cloud.deploy.v1.Rollout.FailureCause deploy_failure_cause = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeployFailureCause
in interfaceRolloutOrBuilder
- Returns:
- The deployFailureCause.
-
getPhasesList
public List<Phase> getPhasesList()
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPhasesList
in interfaceRolloutOrBuilder
-
getPhasesOrBuilderList
public List<? extends PhaseOrBuilder> getPhasesOrBuilderList()
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPhasesOrBuilderList
in interfaceRolloutOrBuilder
-
getPhasesCount
public int getPhasesCount()
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPhasesCount
in interfaceRolloutOrBuilder
-
getPhases
public Phase getPhases(int index)
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPhases
in interfaceRolloutOrBuilder
-
getPhasesOrBuilder
public PhaseOrBuilder getPhasesOrBuilder(int index)
Output only. The phases that represent the workflows of this `Rollout`.
repeated .google.cloud.deploy.v1.Phase phases = 23 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPhasesOrBuilder
in interfaceRolloutOrBuilder
-
hasMetadata
public boolean hasMetadata()
Output only. Metadata contains information about the rollout.
.google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasMetadata
in interfaceRolloutOrBuilder
- Returns:
- Whether the metadata field is set.
-
getMetadata
public Metadata getMetadata()
Output only. Metadata contains information about the rollout.
.google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMetadata
in interfaceRolloutOrBuilder
- Returns:
- The metadata.
-
getMetadataOrBuilder
public MetadataOrBuilder getMetadataOrBuilder()
Output only. Metadata contains information about the rollout.
.google.cloud.deploy.v1.Metadata metadata = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMetadataOrBuilder
in interfaceRolloutOrBuilder
-
getControllerRollout
public String getControllerRollout()
Output only. Name of the `ControllerRollout`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}.
string controller_rollout = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getControllerRollout
in interfaceRolloutOrBuilder
- Returns:
- The controllerRollout.
-
getControllerRolloutBytes
public com.google.protobuf.ByteString getControllerRolloutBytes()
Output only. Name of the `ControllerRollout`. Format is projects/{project}/ locations/{location}/deliveryPipelines/{deliveryPipeline}/ releases/{release}/rollouts/[a-z][a-z0-9\-]{0,62}.
string controller_rollout = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getControllerRolloutBytes
in interfaceRolloutOrBuilder
- Returns:
- The bytes for controllerRollout.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Rollout parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rollout parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rollout parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rollout parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rollout parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rollout parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Rollout parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Rollout parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Rollout parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Rollout parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Rollout parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Rollout parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Rollout.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Rollout.Builder newBuilder()
-
newBuilder
public static Rollout.Builder newBuilder(Rollout prototype)
-
toBuilder
public Rollout.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Rollout.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Rollout getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Rollout> parser()
-
getParserForType
public com.google.protobuf.Parser<Rollout> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Rollout getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-