- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
public static final class RollbackTargetRequest.Builder extends GeneratedMessageV3.Builder<RollbackTargetRequest.Builder> implements RollbackTargetRequestOrBuilder
The request object for RollbackTarget
.
Protobuf type google.cloud.deploy.v1.RollbackTargetRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RollbackTargetRequest.BuilderImplements
RollbackTargetRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RollbackTargetRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
build()
public RollbackTargetRequest build()
Returns | |
---|---|
Type | Description |
RollbackTargetRequest |
buildPartial()
public RollbackTargetRequest buildPartial()
Returns | |
---|---|
Type | Description |
RollbackTargetRequest |
clear()
public RollbackTargetRequest.Builder clear()
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public RollbackTargetRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
clearName()
public RollbackTargetRequest.Builder clearName()
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 |
RollbackTargetRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RollbackTargetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
clearReleaseId()
public RollbackTargetRequest.Builder clearReleaseId()
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 |
RollbackTargetRequest.Builder |
This builder for chaining. |
clearRollbackConfig()
public RollbackTargetRequest.Builder clearRollbackConfig()
Optional. Configs for the rollback Rollout
.
.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
clearRolloutId()
public RollbackTargetRequest.Builder clearRolloutId()
Required. ID of the rollback Rollout
to create.
string rollout_id = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
This builder for chaining. |
clearRolloutToRollBack()
public RollbackTargetRequest.Builder clearRolloutToRollBack()
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 |
RollbackTargetRequest.Builder |
This builder for chaining. |
clearTargetId()
public RollbackTargetRequest.Builder clearTargetId()
Required. ID of the Target
that is being rolled back.
string target_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
This builder for chaining. |
clearValidateOnly()
public RollbackTargetRequest.Builder clearValidateOnly()
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 |
RollbackTargetRequest.Builder |
This builder for chaining. |
clone()
public RollbackTargetRequest.Builder clone()
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
getDefaultInstanceForType()
public RollbackTargetRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RollbackTargetRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public String 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. |
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];
Returns | |
---|---|
Type | Description |
RollbackTargetConfig |
The rollbackConfig. |
getRollbackConfigBuilder()
public RollbackTargetConfig.Builder getRollbackConfigBuilder()
Optional. Configs for the rollback Rollout
.
.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RollbackTargetConfig.Builder |
getRollbackConfigOrBuilder()
public RollbackTargetConfigOrBuilder getRollbackConfigOrBuilder()
Optional. Configs for the rollback Rollout
.
.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RollbackTargetConfigOrBuilder |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(RollbackTargetRequest other)
public RollbackTargetRequest.Builder mergeFrom(RollbackTargetRequest other)
Parameter | |
---|---|
Name | Description |
other |
RollbackTargetRequest |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RollbackTargetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RollbackTargetRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
mergeRollbackConfig(RollbackTargetConfig value)
public RollbackTargetRequest.Builder mergeRollbackConfig(RollbackTargetConfig value)
Optional. Configs for the rollback Rollout
.
.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
RollbackTargetConfig |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RollbackTargetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RollbackTargetRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
setName(String value)
public RollbackTargetRequest.Builder setName(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public RollbackTargetRequest.Builder setNameBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
This builder for chaining. |
setReleaseId(String value)
public RollbackTargetRequest.Builder setReleaseId(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The releaseId to set. |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
This builder for chaining. |
setReleaseIdBytes(ByteString value)
public RollbackTargetRequest.Builder setReleaseIdBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for releaseId to set. |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RollbackTargetRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
setRollbackConfig(RollbackTargetConfig value)
public RollbackTargetRequest.Builder setRollbackConfig(RollbackTargetConfig value)
Optional. Configs for the rollback Rollout
.
.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
RollbackTargetConfig |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
setRollbackConfig(RollbackTargetConfig.Builder builderForValue)
public RollbackTargetRequest.Builder setRollbackConfig(RollbackTargetConfig.Builder builderForValue)
Optional. Configs for the rollback Rollout
.
.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
RollbackTargetConfig.Builder |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
setRolloutId(String value)
public RollbackTargetRequest.Builder setRolloutId(String value)
Required. ID of the rollback Rollout
to create.
string rollout_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The rolloutId to set. |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
This builder for chaining. |
setRolloutIdBytes(ByteString value)
public RollbackTargetRequest.Builder setRolloutIdBytes(ByteString value)
Required. ID of the rollback Rollout
to create.
string rollout_id = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for rolloutId to set. |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
This builder for chaining. |
setRolloutToRollBack(String value)
public RollbackTargetRequest.Builder setRolloutToRollBack(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The rolloutToRollBack to set. |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
This builder for chaining. |
setRolloutToRollBackBytes(ByteString value)
public RollbackTargetRequest.Builder setRolloutToRollBackBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for rolloutToRollBack to set. |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
This builder for chaining. |
setTargetId(String value)
public RollbackTargetRequest.Builder setTargetId(String value)
Required. ID of the Target
that is being rolled back.
string target_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The targetId to set. |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
This builder for chaining. |
setTargetIdBytes(ByteString value)
public RollbackTargetRequest.Builder setTargetIdBytes(ByteString value)
Required. ID of the Target
that is being rolled back.
string target_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for targetId to set. |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RollbackTargetRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
setValidateOnly(boolean value)
public RollbackTargetRequest.Builder setValidateOnly(boolean value)
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];
Parameter | |
---|---|
Name | Description |
value |
boolean The validateOnly to set. |
Returns | |
---|---|
Type | Description |
RollbackTargetRequest.Builder |
This builder for chaining. |