Class TimedPromoteReleaseCondition (1.52.0)

public final class TimedPromoteReleaseCondition extends GeneratedMessageV3 implements TimedPromoteReleaseConditionOrBuilder

TimedPromoteReleaseCondition contains conditions specific to an Automation with a Timed Promote Release rule defined.

Protobuf type google.cloud.deploy.v1.TimedPromoteReleaseCondition

Static Fields

NEXT_PROMOTION_TIME_FIELD_NUMBER

public static final int NEXT_PROMOTION_TIME_FIELD_NUMBER
Field Value
Type Description
int

TARGETS_LIST_FIELD_NUMBER

public static final int TARGETS_LIST_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TimedPromoteReleaseCondition getDefaultInstance()
Returns
Type Description
TimedPromoteReleaseCondition

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TimedPromoteReleaseCondition.Builder newBuilder()
Returns
Type Description
TimedPromoteReleaseCondition.Builder

newBuilder(TimedPromoteReleaseCondition prototype)

public static TimedPromoteReleaseCondition.Builder newBuilder(TimedPromoteReleaseCondition prototype)
Parameter
Name Description
prototype TimedPromoteReleaseCondition
Returns
Type Description
TimedPromoteReleaseCondition.Builder

parseDelimitedFrom(InputStream input)

public static TimedPromoteReleaseCondition parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TimedPromoteReleaseCondition
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TimedPromoteReleaseCondition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimedPromoteReleaseCondition
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TimedPromoteReleaseCondition parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TimedPromoteReleaseCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TimedPromoteReleaseCondition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimedPromoteReleaseCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TimedPromoteReleaseCondition parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TimedPromoteReleaseCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TimedPromoteReleaseCondition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimedPromoteReleaseCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TimedPromoteReleaseCondition parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TimedPromoteReleaseCondition
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TimedPromoteReleaseCondition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimedPromoteReleaseCondition
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TimedPromoteReleaseCondition parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TimedPromoteReleaseCondition
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TimedPromoteReleaseCondition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimedPromoteReleaseCondition
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TimedPromoteReleaseCondition parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TimedPromoteReleaseCondition
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TimedPromoteReleaseCondition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TimedPromoteReleaseCondition
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TimedPromoteReleaseCondition> parser()
Returns
Type Description
Parser<TimedPromoteReleaseCondition>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TimedPromoteReleaseCondition getDefaultInstanceForType()
Returns
Type Description
TimedPromoteReleaseCondition

getNextPromotionTime()

public Timestamp getNextPromotionTime()

Output only. When the next scheduled promotion(s) will occur.

.google.protobuf.Timestamp next_promotion_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The nextPromotionTime.

getNextPromotionTimeOrBuilder()

public TimestampOrBuilder getNextPromotionTimeOrBuilder()

Output only. When the next scheduled promotion(s) will occur.

.google.protobuf.Timestamp next_promotion_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getParserForType()

public Parser<TimedPromoteReleaseCondition> getParserForType()
Returns
Type Description
Parser<TimedPromoteReleaseCondition>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTargetsList(int index)

public TimedPromoteReleaseCondition.Targets getTargetsList(int index)

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
TimedPromoteReleaseCondition.Targets

getTargetsListCount()

public int getTargetsListCount()

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getTargetsListList()

public List<TimedPromoteReleaseCondition.Targets> getTargetsListList()

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Targets>

getTargetsListOrBuilder(int index)

public TimedPromoteReleaseCondition.TargetsOrBuilder getTargetsListOrBuilder(int index)

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
TimedPromoteReleaseCondition.TargetsOrBuilder

getTargetsListOrBuilderList()

public List<? extends TimedPromoteReleaseCondition.TargetsOrBuilder> getTargetsListOrBuilderList()

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.deploy.v1.TimedPromoteReleaseCondition.TargetsOrBuilder>

hasNextPromotionTime()

public boolean hasNextPromotionTime()

Output only. When the next scheduled promotion(s) will occur.

.google.protobuf.Timestamp next_promotion_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the nextPromotionTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TimedPromoteReleaseCondition.Builder newBuilderForType()
Returns
Type Description
TimedPromoteReleaseCondition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TimedPromoteReleaseCondition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TimedPromoteReleaseCondition.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TimedPromoteReleaseCondition.Builder toBuilder()
Returns
Type Description
TimedPromoteReleaseCondition.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException