Send feedback
Class RollbackTargetRequest (1.45.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.45.0 keyboard_arrow_down
public final class RollbackTargetRequest extends GeneratedMessageV3 implements RollbackTargetRequestOrBuilder
The request object for RollbackTarget
.
Protobuf type google.cloud.deploy.v1.RollbackTargetRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
RELEASE_ID_FIELD_NUMBER
public static final int RELEASE_ID_FIELD_NUMBER
Field Value
Type
Description
int
ROLLBACK_CONFIG_FIELD_NUMBER
public static final int ROLLBACK_CONFIG_FIELD_NUMBER
Field Value
Type
Description
int
ROLLOUT_ID_FIELD_NUMBER
public static final int ROLLOUT_ID_FIELD_NUMBER
Field Value
Type
Description
int
ROLLOUT_TO_ROLL_BACK_FIELD_NUMBER
public static final int ROLLOUT_TO_ROLL_BACK_FIELD_NUMBER
Field Value
Type
Description
int
TARGET_ID_FIELD_NUMBER
public static final int TARGET_ID_FIELD_NUMBER
Field Value
Type
Description
int
VALIDATE_ONLY_FIELD_NUMBER
public static final int VALIDATE_ONLY_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static RollbackTargetRequest getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static RollbackTargetRequest . Builder newBuilder ()
newBuilder(RollbackTargetRequest prototype)
public static RollbackTargetRequest . Builder newBuilder ( RollbackTargetRequest prototype )
public static RollbackTargetRequest parseDelimitedFrom ( InputStream input )
public static RollbackTargetRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static RollbackTargetRequest parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RollbackTargetRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static RollbackTargetRequest parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RollbackTargetRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static RollbackTargetRequest parseFrom ( CodedInputStream input )
public static RollbackTargetRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static RollbackTargetRequest parseFrom ( InputStream input )
public static RollbackTargetRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static RollbackTargetRequest parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RollbackTargetRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<RollbackTargetRequest> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public RollbackTargetRequest getDefaultInstanceForType ()
getName()
Required. The DeliveryPipeline
for which the rollback Rollout
must be
created. The format is
projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The name.
getNameBytes()
public ByteString getNameBytes ()
Required. The DeliveryPipeline
for which the rollback Rollout
must be
created. The format is
projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}
.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for name.
getParserForType()
public Parser<RollbackTargetRequest> getParserForType ()
Overrides
getReleaseId()
public String getReleaseId ()
Optional. ID of the Release
to roll back to. If this isn't specified, the
previous successful Rollout
to the specified target will be used to
determine the Release
.
string release_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The releaseId.
getReleaseIdBytes()
public ByteString getReleaseIdBytes ()
Optional. ID of the Release
to roll back to. If this isn't specified, the
previous successful Rollout
to the specified target will be used to
determine the Release
.
string release_id = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for releaseId.
getRollbackConfig()
public RollbackTargetConfig getRollbackConfig ()
Optional. Configs for the rollback Rollout
.
.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL];
getRollbackConfigOrBuilder()
public RollbackTargetConfigOrBuilder getRollbackConfigOrBuilder ()
Optional. Configs for the rollback Rollout
.
.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL];
getRolloutId()
public String getRolloutId ()
Required. ID of the rollback Rollout
to create.
string rollout_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The rolloutId.
getRolloutIdBytes()
public ByteString getRolloutIdBytes ()
Required. ID of the rollback Rollout
to create.
string rollout_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for rolloutId.
getRolloutToRollBack()
public String getRolloutToRollBack ()
Optional. If provided, this must be the latest Rollout
that is on the
Target
.
string rollout_to_roll_back = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The rolloutToRollBack.
getRolloutToRollBackBytes()
public ByteString getRolloutToRollBackBytes ()
Optional. If provided, this must be the latest Rollout
that is on the
Target
.
string rollout_to_roll_back = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for rolloutToRollBack.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getTargetId()
public String getTargetId ()
Required. ID of the Target
that is being rolled back.
string target_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The targetId.
getTargetIdBytes()
public ByteString getTargetIdBytes ()
Required. ID of the Target
that is being rolled back.
string target_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for targetId.
getValidateOnly()
public boolean getValidateOnly ()
Optional. If set to true, the request is validated and the user is provided
with a RollbackTargetResponse
.
bool validate_only = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
The validateOnly.
hasRollbackConfig()
public boolean hasRollbackConfig ()
Optional. Configs for the rollback Rollout
.
.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the rollbackConfig field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public RollbackTargetRequest . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RollbackTargetRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public RollbackTargetRequest . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]