- 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 PredeployJobRun.Builder extends GeneratedMessageV3.Builder<PredeployJobRun.Builder> implements PredeployJobRunOrBuilder
PredeployJobRun contains information specific to a predeploy JobRun
.
Protobuf type google.cloud.deploy.v1.PredeployJobRun
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PredeployJobRun.BuilderImplements
PredeployJobRunOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PredeployJobRun.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PredeployJobRun.Builder |
build()
public PredeployJobRun build()
Returns | |
---|---|
Type | Description |
PredeployJobRun |
buildPartial()
public PredeployJobRun buildPartial()
Returns | |
---|---|
Type | Description |
PredeployJobRun |
clear()
public PredeployJobRun.Builder clear()
Returns | |
---|---|
Type | Description |
PredeployJobRun.Builder |
clearBuild()
public PredeployJobRun.Builder clearBuild()
Output only. The resource name of the Cloud Build Build
object that is
used to execute the custom actions associated with the predeploy Job.
Format is projects/{project}/locations/{location}/builds/{build}
.
string build = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
PredeployJobRun.Builder |
This builder for chaining. |
clearFailureCause()
public PredeployJobRun.Builder clearFailureCause()
Output only. The reason the predeploy failed. This will always be unspecified while the predeploy is in progress or if it succeeded.
.google.cloud.deploy.v1.PredeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
PredeployJobRun.Builder |
This builder for chaining. |
clearFailureMessage()
public PredeployJobRun.Builder clearFailureMessage()
Output only. Additional information about the predeploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
PredeployJobRun.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PredeployJobRun.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
PredeployJobRun.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PredeployJobRun.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
PredeployJobRun.Builder |
clone()
public PredeployJobRun.Builder clone()
Returns | |
---|---|
Type | Description |
PredeployJobRun.Builder |
getBuild()
public String getBuild()
Output only. The resource name of the Cloud Build Build
object that is
used to execute the custom actions associated with the predeploy Job.
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 execute the custom actions associated with the predeploy Job.
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 PredeployJobRun getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PredeployJobRun |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFailureCause()
public PredeployJobRun.FailureCause getFailureCause()
Output only. The reason the predeploy failed. This will always be unspecified while the predeploy is in progress or if it succeeded.
.google.cloud.deploy.v1.PredeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
PredeployJobRun.FailureCause |
The failureCause. |
getFailureCauseValue()
public int getFailureCauseValue()
Output only. The reason the predeploy failed. This will always be unspecified while the predeploy is in progress or if it succeeded.
.google.cloud.deploy.v1.PredeployJobRun.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 predeploy 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 predeploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for failureMessage. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(PredeployJobRun other)
public PredeployJobRun.Builder mergeFrom(PredeployJobRun other)
Parameter | |
---|---|
Name | Description |
other |
PredeployJobRun |
Returns | |
---|---|
Type | Description |
PredeployJobRun.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PredeployJobRun.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PredeployJobRun.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PredeployJobRun.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
PredeployJobRun.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PredeployJobRun.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PredeployJobRun.Builder |
setBuild(String value)
public PredeployJobRun.Builder setBuild(String value)
Output only. The resource name of the Cloud Build Build
object that is
used to execute the custom actions associated with the predeploy Job.
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 |
PredeployJobRun.Builder |
This builder for chaining. |
setBuildBytes(ByteString value)
public PredeployJobRun.Builder setBuildBytes(ByteString value)
Output only. The resource name of the Cloud Build Build
object that is
used to execute the custom actions associated with the predeploy Job.
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 |
PredeployJobRun.Builder |
This builder for chaining. |
setFailureCause(PredeployJobRun.FailureCause value)
public PredeployJobRun.Builder setFailureCause(PredeployJobRun.FailureCause value)
Output only. The reason the predeploy failed. This will always be unspecified while the predeploy is in progress or if it succeeded.
.google.cloud.deploy.v1.PredeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
PredeployJobRun.FailureCause The failureCause to set. |
Returns | |
---|---|
Type | Description |
PredeployJobRun.Builder |
This builder for chaining. |
setFailureCauseValue(int value)
public PredeployJobRun.Builder setFailureCauseValue(int value)
Output only. The reason the predeploy failed. This will always be unspecified while the predeploy is in progress or if it succeeded.
.google.cloud.deploy.v1.PredeployJobRun.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 |
PredeployJobRun.Builder |
This builder for chaining. |
setFailureMessage(String value)
public PredeployJobRun.Builder setFailureMessage(String value)
Output only. Additional information about the predeploy 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 |
PredeployJobRun.Builder |
This builder for chaining. |
setFailureMessageBytes(ByteString value)
public PredeployJobRun.Builder setFailureMessageBytes(ByteString value)
Output only. Additional information about the predeploy 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 |
PredeployJobRun.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PredeployJobRun.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PredeployJobRun.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PredeployJobRun.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
PredeployJobRun.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PredeployJobRun.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PredeployJobRun.Builder |