public static final class IgnoreJobRequest.Builder extends GeneratedMessage.Builder<IgnoreJobRequest.Builder> implements IgnoreJobRequestOrBuilder The request object used by IgnoreJob.
Protobuf type google.cloud.deploy.v1.IgnoreJobRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IgnoreJobRequest.BuilderImplements
IgnoreJobRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllOverrideDeployPolicy(Iterable<String> values)
public IgnoreJobRequest.Builder addAllOverrideDeployPolicy(Iterable<String> values) Optional. Deploy policies to override. Format is
projects/{project}/locations/{location}/deployPolicies/{deployPolicy}.
repeated string override_deploy_policy = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The overrideDeployPolicy to add. |
| Returns | |
|---|---|
| Type | Description |
IgnoreJobRequest.Builder |
This builder for chaining. |
addOverrideDeployPolicy(String value)
public IgnoreJobRequest.Builder addOverrideDeployPolicy(String value) Optional. Deploy policies to override. Format is
projects/{project}/locations/{location}/deployPolicies/{deployPolicy}.
repeated string override_deploy_policy = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe overrideDeployPolicy to add. |
| Returns | |
|---|---|
| Type | Description |
IgnoreJobRequest.Builder |
This builder for chaining. |
addOverrideDeployPolicyBytes(ByteString value)
public IgnoreJobRequest.Builder addOverrideDeployPolicyBytes(ByteString value) Optional. Deploy policies to override. Format is
projects/{project}/locations/{location}/deployPolicies/{deployPolicy}.
repeated string override_deploy_policy = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the overrideDeployPolicy to add. |
| Returns | |
|---|---|
| Type | Description |
IgnoreJobRequest.Builder |
This builder for chaining. |
build()
public IgnoreJobRequest build()| Returns | |
|---|---|
| Type | Description |
IgnoreJobRequest |
|
buildPartial()
public IgnoreJobRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
IgnoreJobRequest |
|
clear()
public IgnoreJobRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
IgnoreJobRequest.Builder |
|
clearJobId()
public IgnoreJobRequest.Builder clearJobId()Required. The job ID for the Job to ignore.
string job_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
IgnoreJobRequest.Builder |
This builder for chaining. |
clearOverrideDeployPolicy()
public IgnoreJobRequest.Builder clearOverrideDeployPolicy() Optional. Deploy policies to override. Format is
projects/{project}/locations/{location}/deployPolicies/{deployPolicy}.
repeated string override_deploy_policy = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
IgnoreJobRequest.Builder |
This builder for chaining. |
clearPhaseId()
public IgnoreJobRequest.Builder clearPhaseId()Required. The phase ID the Job to ignore belongs to.
string phase_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
IgnoreJobRequest.Builder |
This builder for chaining. |
clearRollout()
public IgnoreJobRequest.Builder clearRollout() Required. Name of the Rollout. Format is
projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}.
string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
IgnoreJobRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public IgnoreJobRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
IgnoreJobRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getJobId()
public String getJobId()Required. The job ID for the Job to ignore.
string job_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The jobId. |
getJobIdBytes()
public ByteString getJobIdBytes()Required. The job ID for the Job to ignore.
string job_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for jobId. |
getOverrideDeployPolicy(int index)
public String getOverrideDeployPolicy(int index) Optional. Deploy policies to override. Format is
projects/{project}/locations/{location}/deployPolicies/{deployPolicy}.
repeated string override_deploy_policy = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The overrideDeployPolicy at the given index. |
getOverrideDeployPolicyBytes(int index)
public ByteString getOverrideDeployPolicyBytes(int index) Optional. Deploy policies to override. Format is
projects/{project}/locations/{location}/deployPolicies/{deployPolicy}.
repeated string override_deploy_policy = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the overrideDeployPolicy at the given index. |
getOverrideDeployPolicyCount()
public int getOverrideDeployPolicyCount() Optional. Deploy policies to override. Format is
projects/{project}/locations/{location}/deployPolicies/{deployPolicy}.
repeated string override_deploy_policy = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
int |
The count of overrideDeployPolicy. |
getOverrideDeployPolicyList()
public ProtocolStringList getOverrideDeployPolicyList() Optional. Deploy policies to override. Format is
projects/{project}/locations/{location}/deployPolicies/{deployPolicy}.
repeated string override_deploy_policy = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the overrideDeployPolicy. |
getPhaseId()
public String getPhaseId()Required. The phase ID the Job to ignore belongs to.
string phase_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The phaseId. |
getPhaseIdBytes()
public ByteString getPhaseIdBytes()Required. The phase ID the Job to ignore belongs to.
string phase_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for phaseId. |
getRollout()
public String getRollout() Required. Name of the Rollout. Format is
projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}.
string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The rollout. |
getRolloutBytes()
public ByteString getRolloutBytes() Required. Name of the Rollout. Format is
projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}.
string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for rollout. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(IgnoreJobRequest other)
public IgnoreJobRequest.Builder mergeFrom(IgnoreJobRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
IgnoreJobRequest |
| Returns | |
|---|---|
| Type | Description |
IgnoreJobRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IgnoreJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
IgnoreJobRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public IgnoreJobRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
IgnoreJobRequest.Builder |
|
setJobId(String value)
public IgnoreJobRequest.Builder setJobId(String value)Required. The job ID for the Job to ignore.
string job_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe jobId to set. |
| Returns | |
|---|---|
| Type | Description |
IgnoreJobRequest.Builder |
This builder for chaining. |
setJobIdBytes(ByteString value)
public IgnoreJobRequest.Builder setJobIdBytes(ByteString value)Required. The job ID for the Job to ignore.
string job_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for jobId to set. |
| Returns | |
|---|---|
| Type | Description |
IgnoreJobRequest.Builder |
This builder for chaining. |
setOverrideDeployPolicy(int index, String value)
public IgnoreJobRequest.Builder setOverrideDeployPolicy(int index, String value) Optional. Deploy policies to override. Format is
projects/{project}/locations/{location}/deployPolicies/{deployPolicy}.
repeated string override_deploy_policy = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe overrideDeployPolicy to set. |
| Returns | |
|---|---|
| Type | Description |
IgnoreJobRequest.Builder |
This builder for chaining. |
setPhaseId(String value)
public IgnoreJobRequest.Builder setPhaseId(String value)Required. The phase ID the Job to ignore belongs to.
string phase_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe phaseId to set. |
| Returns | |
|---|---|
| Type | Description |
IgnoreJobRequest.Builder |
This builder for chaining. |
setPhaseIdBytes(ByteString value)
public IgnoreJobRequest.Builder setPhaseIdBytes(ByteString value)Required. The phase ID the Job to ignore belongs to.
string phase_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for phaseId to set. |
| Returns | |
|---|---|
| Type | Description |
IgnoreJobRequest.Builder |
This builder for chaining. |
setRollout(String value)
public IgnoreJobRequest.Builder setRollout(String value) Required. Name of the Rollout. Format is
projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}.
string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe rollout to set. |
| Returns | |
|---|---|
| Type | Description |
IgnoreJobRequest.Builder |
This builder for chaining. |
setRolloutBytes(ByteString value)
public IgnoreJobRequest.Builder setRolloutBytes(ByteString value) Required. Name of the Rollout. Format is
projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}.
string rollout = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for rollout to set. |
| Returns | |
|---|---|
| Type | Description |
IgnoreJobRequest.Builder |
This builder for chaining. |