- 1.51.0 (latest)
- 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 DeployJobRun.Builder extends GeneratedMessageV3.Builder<DeployJobRun.Builder> implements DeployJobRunOrBuilder
DeployJobRun contains information specific to a deploy JobRun
.
Protobuf type google.cloud.deploy.v1.DeployJobRun
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeployJobRun.BuilderImplements
DeployJobRunOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeployJobRun.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder |
build()
public DeployJobRun build()
Returns | |
---|---|
Type | Description |
DeployJobRun |
buildPartial()
public DeployJobRun buildPartial()
Returns | |
---|---|
Type | Description |
DeployJobRun |
clear()
public DeployJobRun.Builder clear()
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder |
clearArtifact()
public DeployJobRun.Builder clearArtifact()
Output only. The artifact of a deploy job run, if available.
.google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder |
clearBuild()
public DeployJobRun.Builder clearBuild()
Output only. The resource name of the Cloud Build Build
object that is
used to deploy. Format is
projects/{project}/locations/{location}/builds/{build}
.
string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder | This builder for chaining. |
clearFailureCause()
public DeployJobRun.Builder clearFailureCause()
Output only. The reason the deploy failed. This will always be unspecified while the deploy is in progress or if it succeeded.
.google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder | This builder for chaining. |
clearFailureMessage()
public DeployJobRun.Builder clearFailureMessage()
Output only. Additional information about the deploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DeployJobRun.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder |
clearMetadata()
public DeployJobRun.Builder clearMetadata()
Output only. Metadata containing information about the deploy job run.
.google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DeployJobRun.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder |
clone()
public DeployJobRun.Builder clone()
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder |
getArtifact()
public DeployArtifact getArtifact()
Output only. The artifact of a deploy job run, if available.
.google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DeployArtifact | The artifact. |
getArtifactBuilder()
public DeployArtifact.Builder getArtifactBuilder()
Output only. The artifact of a deploy job run, if available.
.google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DeployArtifact.Builder |
getArtifactOrBuilder()
public DeployArtifactOrBuilder getArtifactOrBuilder()
Output only. The artifact of a deploy job run, if available.
.google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DeployArtifactOrBuilder |
getBuild()
public String getBuild()
Output only. The resource name of the Cloud Build Build
object that is
used to deploy. Format is
projects/{project}/locations/{location}/builds/{build}
.
string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String | The build. |
getBuildBytes()
public ByteString getBuildBytes()
Output only. The resource name of the Cloud Build Build
object that is
used to deploy. Format is
projects/{project}/locations/{location}/builds/{build}
.
string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString | The bytes for build. |
getDefaultInstanceForType()
public DeployJobRun getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DeployJobRun |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFailureCause()
public DeployJobRun.FailureCause getFailureCause()
Output only. The reason the deploy failed. This will always be unspecified while the deploy is in progress or if it succeeded.
.google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DeployJobRun.FailureCause | The failureCause. |
getFailureCauseValue()
public int getFailureCauseValue()
Output only. The reason the deploy failed. This will always be unspecified while the deploy is in progress or if it succeeded.
.google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for failureCause. |
getFailureMessage()
public String getFailureMessage()
Output only. Additional information about the deploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String | The failureMessage. |
getFailureMessageBytes()
public ByteString getFailureMessageBytes()
Output only. Additional information about the deploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for failureMessage. |
getMetadata()
public DeployJobRunMetadata getMetadata()
Output only. Metadata containing information about the deploy job run.
.google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DeployJobRunMetadata | The metadata. |
getMetadataBuilder()
public DeployJobRunMetadata.Builder getMetadataBuilder()
Output only. Metadata containing information about the deploy job run.
.google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DeployJobRunMetadata.Builder |
getMetadataOrBuilder()
public DeployJobRunMetadataOrBuilder getMetadataOrBuilder()
Output only. Metadata containing information about the deploy job run.
.google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DeployJobRunMetadataOrBuilder |
hasArtifact()
public boolean hasArtifact()
Output only. The artifact of a deploy job run, if available.
.google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the artifact field is set. |
hasMetadata()
public boolean hasMetadata()
Output only. Metadata containing information about the deploy job run.
.google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
boolean | Whether the metadata field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeArtifact(DeployArtifact value)
public DeployJobRun.Builder mergeArtifact(DeployArtifact value)
Output only. The artifact of a deploy job run, if available.
.google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | DeployArtifact |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder |
mergeFrom(DeployJobRun other)
public DeployJobRun.Builder mergeFrom(DeployJobRun other)
Parameter | |
---|---|
Name | Description |
other | DeployJobRun |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DeployJobRun.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DeployJobRun.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder |
mergeMetadata(DeployJobRunMetadata value)
public DeployJobRun.Builder mergeMetadata(DeployJobRunMetadata value)
Output only. Metadata containing information about the deploy job run.
.google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | DeployJobRunMetadata |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeployJobRun.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder |
setArtifact(DeployArtifact value)
public DeployJobRun.Builder setArtifact(DeployArtifact value)
Output only. The artifact of a deploy job run, if available.
.google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | DeployArtifact |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder |
setArtifact(DeployArtifact.Builder builderForValue)
public DeployJobRun.Builder setArtifact(DeployArtifact.Builder builderForValue)
Output only. The artifact of a deploy job run, if available.
.google.cloud.deploy.v1.DeployArtifact artifact = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | DeployArtifact.Builder |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder |
setBuild(String value)
public DeployJobRun.Builder setBuild(String value)
Output only. The resource name of the Cloud Build Build
object that is
used to deploy. Format is
projects/{project}/locations/{location}/builds/{build}
.
string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The build to set. |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder | This builder for chaining. |
setBuildBytes(ByteString value)
public DeployJobRun.Builder setBuildBytes(ByteString value)
Output only. The resource name of the Cloud Build Build
object that is
used to deploy. Format is
projects/{project}/locations/{location}/builds/{build}
.
string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for build to set. |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder | This builder for chaining. |
setFailureCause(DeployJobRun.FailureCause value)
public DeployJobRun.Builder setFailureCause(DeployJobRun.FailureCause value)
Output only. The reason the deploy failed. This will always be unspecified while the deploy is in progress or if it succeeded.
.google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | DeployJobRun.FailureCause The failureCause to set. |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder | This builder for chaining. |
setFailureCauseValue(int value)
public DeployJobRun.Builder setFailureCauseValue(int value)
Output only. The reason the deploy failed. This will always be unspecified while the deploy is in progress or if it succeeded.
.google.cloud.deploy.v1.DeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for failureCause to set. |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder | This builder for chaining. |
setFailureMessage(String value)
public DeployJobRun.Builder setFailureMessage(String value)
Output only. Additional information about the deploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | String The failureMessage to set. |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder | This builder for chaining. |
setFailureMessageBytes(ByteString value)
public DeployJobRun.Builder setFailureMessageBytes(ByteString value)
Output only. Additional information about the deploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for failureMessage to set. |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DeployJobRun.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder |
setMetadata(DeployJobRunMetadata value)
public DeployJobRun.Builder setMetadata(DeployJobRunMetadata value)
Output only. Metadata containing information about the deploy job run.
.google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | DeployJobRunMetadata |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder |
setMetadata(DeployJobRunMetadata.Builder builderForValue)
public DeployJobRun.Builder setMetadata(DeployJobRunMetadata.Builder builderForValue)
Output only. Metadata containing information about the deploy job run.
.google.cloud.deploy.v1.DeployJobRunMetadata metadata = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue | DeployJobRunMetadata.Builder |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeployJobRun.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DeployJobRun.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DeployJobRun.Builder |