Package com.google.cloud.config.v1
Class DeploymentOperationMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DeploymentOperationMetadata.Builder>
com.google.cloud.config.v1.DeploymentOperationMetadata.Builder
- All Implemented Interfaces:
DeploymentOperationMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- DeploymentOperationMetadata
public static final class DeploymentOperationMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<DeploymentOperationMetadata.Builder>
implements DeploymentOperationMetadataOrBuilder
Ephemeral metadata content describing the state of a deployment operation.Protobuf type
google.cloud.config.v1.DeploymentOperationMetadata-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Outputs and artifacts from applying a deployment.Output only.Output only.The current step the deployment operation is running.Outputs and artifacts from applying a deployment.Outputs and artifacts from applying a deployment.Outputs and artifacts from applying a deployment.getBuild()Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetLogs()Output only.com.google.protobuf.ByteStringOutput only.getStep()The current step the deployment operation is running.intThe current step the deployment operation is running.booleanOutputs and artifacts from applying a deployment.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeApplyResults(ApplyResults value) Outputs and artifacts from applying a deployment.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setApplyResults(ApplyResults value) Outputs and artifacts from applying a deployment.setApplyResults(ApplyResults.Builder builderForValue) Outputs and artifacts from applying a deployment.Output only.setBuildBytes(com.google.protobuf.ByteString value) Output only.Output only.setLogsBytes(com.google.protobuf.ByteString value) Output only.The current step the deployment operation is running.setStepValue(int value) The current step the deployment operation is running.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<DeploymentOperationMetadata.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<DeploymentOperationMetadata.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<DeploymentOperationMetadata.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<DeploymentOperationMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<DeploymentOperationMetadata.Builder>
-
mergeFrom
public DeploymentOperationMetadata.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<DeploymentOperationMetadata.Builder>- Throws:
IOException
-
getStepValue
public int getStepValue()The current step the deployment operation is running.
.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep step = 1;- Specified by:
getStepValuein interfaceDeploymentOperationMetadataOrBuilder- Returns:
- The enum numeric value on the wire for step.
-
setStepValue
The current step the deployment operation is running.
.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep step = 1;- Parameters:
value- The enum numeric value on the wire for step to set.- Returns:
- This builder for chaining.
-
getStep
The current step the deployment operation is running.
.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep step = 1;- Specified by:
getStepin interfaceDeploymentOperationMetadataOrBuilder- Returns:
- The step.
-
setStep
public DeploymentOperationMetadata.Builder setStep(DeploymentOperationMetadata.DeploymentStep value) The current step the deployment operation is running.
.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep step = 1;- Parameters:
value- The step to set.- Returns:
- This builder for chaining.
-
clearStep
The current step the deployment operation is running.
.google.cloud.config.v1.DeploymentOperationMetadata.DeploymentStep step = 1;- Returns:
- This builder for chaining.
-
hasApplyResults
public boolean hasApplyResults()Outputs and artifacts from applying a deployment.
.google.cloud.config.v1.ApplyResults apply_results = 2;- Specified by:
hasApplyResultsin interfaceDeploymentOperationMetadataOrBuilder- Returns:
- Whether the applyResults field is set.
-
getApplyResults
Outputs and artifacts from applying a deployment.
.google.cloud.config.v1.ApplyResults apply_results = 2;- Specified by:
getApplyResultsin interfaceDeploymentOperationMetadataOrBuilder- Returns:
- The applyResults.
-
setApplyResults
Outputs and artifacts from applying a deployment.
.google.cloud.config.v1.ApplyResults apply_results = 2; -
setApplyResults
Outputs and artifacts from applying a deployment.
.google.cloud.config.v1.ApplyResults apply_results = 2; -
mergeApplyResults
Outputs and artifacts from applying a deployment.
.google.cloud.config.v1.ApplyResults apply_results = 2; -
clearApplyResults
Outputs and artifacts from applying a deployment.
.google.cloud.config.v1.ApplyResults apply_results = 2; -
getApplyResultsBuilder
Outputs and artifacts from applying a deployment.
.google.cloud.config.v1.ApplyResults apply_results = 2; -
getApplyResultsOrBuilder
Outputs and artifacts from applying a deployment.
.google.cloud.config.v1.ApplyResults apply_results = 2;- Specified by:
getApplyResultsOrBuilderin interfaceDeploymentOperationMetadataOrBuilder
-
getBuild
Output only. Cloud Build instance UUID associated with this operation.
string build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBuildin interfaceDeploymentOperationMetadataOrBuilder- Returns:
- The build.
-
getBuildBytes
public com.google.protobuf.ByteString getBuildBytes()Output only. Cloud Build instance UUID associated with this operation.
string build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBuildBytesin interfaceDeploymentOperationMetadataOrBuilder- Returns:
- The bytes for build.
-
setBuild
Output only. Cloud Build instance UUID associated with this operation.
string build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The build to set.- Returns:
- This builder for chaining.
-
clearBuild
Output only. Cloud Build instance UUID associated with this operation.
string build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setBuildBytes
Output only. Cloud Build instance UUID associated with this operation.
string build = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for build to set.- Returns:
- This builder for chaining.
-
getLogs
Output only. Location of Deployment operations logs in `gs://{bucket}/{object}` format.string logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLogsin interfaceDeploymentOperationMetadataOrBuilder- Returns:
- The logs.
-
getLogsBytes
public com.google.protobuf.ByteString getLogsBytes()Output only. Location of Deployment operations logs in `gs://{bucket}/{object}` format.string logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLogsBytesin interfaceDeploymentOperationMetadataOrBuilder- Returns:
- The bytes for logs.
-
setLogs
Output only. Location of Deployment operations logs in `gs://{bucket}/{object}` format.string logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The logs to set.- Returns:
- This builder for chaining.
-
clearLogs
Output only. Location of Deployment operations logs in `gs://{bucket}/{object}` format.string logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setLogsBytes
Output only. Location of Deployment operations logs in `gs://{bucket}/{object}` format.string logs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for logs to set.- Returns:
- This builder for chaining.
-