Package com.google.cloud.deploy.v1
Class PredeployJobRun.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PredeployJobRun.Builder>
com.google.cloud.deploy.v1.PredeployJobRun.Builder
- All Implemented Interfaces:
PredeployJobRunOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PredeployJobRun
public static final class PredeployJobRun.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PredeployJobRun.Builder>
implements PredeployJobRunOrBuilder
PredeployJobRun contains information specific to a predeploy `JobRun`.Protobuf type
google.cloud.deploy.v1.PredeployJobRun-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.Output only.getBuild()Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(PredeployJobRun other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.setBuildBytes(com.google.protobuf.ByteString value) Output only.Output only.setFailureCauseValue(int value) Output only.setFailureMessage(String value) Output only.setFailureMessageBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PredeployJobRun.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PredeployJobRun.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PredeployJobRun.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PredeployJobRun.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PredeployJobRun.Builder>
-
mergeFrom
public PredeployJobRun.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PredeployJobRun.Builder>- Throws:
IOException
-
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) = { ... }- Specified by:
getBuildin interfacePredeployJobRunOrBuilder- Returns:
- The build.
-
getBuildBytes
public com.google.protobuf.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) = { ... }- Specified by:
getBuildBytesin interfacePredeployJobRunOrBuilder- Returns:
- The bytes for build.
-
setBuild
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) = { ... }- Parameters:
value- The build to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setBuildBytes
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) = { ... }- Parameters:
value- The bytes for build to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getFailureCauseValuein interfacePredeployJobRunOrBuilder- Returns:
- The enum numeric value on the wire for failureCause.
-
setFailureCauseValue
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];- Parameters:
value- The enum numeric value on the wire for failureCause to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getFailureCausein interfacePredeployJobRunOrBuilder- Returns:
- The failureCause.
-
setFailureCause
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];- Parameters:
value- The failureCause to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
getFailureMessage
Output only. Additional information about the predeploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFailureMessagein interfacePredeployJobRunOrBuilder- Returns:
- The failureMessage.
-
getFailureMessageBytes
public com.google.protobuf.ByteString getFailureMessageBytes()Output only. Additional information about the predeploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFailureMessageBytesin interfacePredeployJobRunOrBuilder- Returns:
- The bytes for failureMessage.
-
setFailureMessage
Output only. Additional information about the predeploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The failureMessage to set.- Returns:
- This builder for chaining.
-
clearFailureMessage
Output only. Additional information about the predeploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setFailureMessageBytes
Output only. Additional information about the predeploy failure, if available.
string failure_message = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for failureMessage to set.- Returns:
- This builder for chaining.
-