public final class PostdeployJobRun extends GeneratedMessageV3 implements PostdeployJobRunOrBuilder
PostdeployJobRun contains information specific to a postdeploy JobRun
.
Protobuf type google.cloud.deploy.v1.PostdeployJobRun
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>)
Static Fields
BUILD_FIELD_NUMBER
public static final int BUILD_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FAILURE_CAUSE_FIELD_NUMBER
public static final int FAILURE_CAUSE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FAILURE_MESSAGE_FIELD_NUMBER
public static final int FAILURE_MESSAGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static PostdeployJobRun getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PostdeployJobRun.Builder newBuilder()
newBuilder(PostdeployJobRun prototype)
public static PostdeployJobRun.Builder newBuilder(PostdeployJobRun prototype)
parseDelimitedFrom(InputStream input)
public static PostdeployJobRun parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PostdeployJobRun parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PostdeployJobRun parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PostdeployJobRun parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PostdeployJobRun parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PostdeployJobRun parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static PostdeployJobRun parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PostdeployJobRun parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static PostdeployJobRun parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PostdeployJobRun parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PostdeployJobRun parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PostdeployJobRun parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PostdeployJobRun> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getBuild()
Output only. The resource name of the Cloud Build Build
object that is
used to execute the custom actions associated with the postdeploy 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 postdeploy 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 PostdeployJobRun getDefaultInstanceForType()
getFailureCause()
public PostdeployJobRun.FailureCause getFailureCause()
Output only. The reason the postdeploy failed. This will always be
unspecified while the postdeploy is in progress or if it succeeded.
.google.cloud.deploy.v1.PostdeployJobRun.FailureCause failure_cause = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFailureCauseValue()
public int getFailureCauseValue()
Output only. The reason the postdeploy failed. This will always be
unspecified while the postdeploy is in progress or if it succeeded.
.google.cloud.deploy.v1.PostdeployJobRun.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 postdeploy 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 postdeploy failure, if
available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for failureMessage.
|
getParserForType()
public Parser<PostdeployJobRun> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PostdeployJobRun.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PostdeployJobRun.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public PostdeployJobRun.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides