Package com.google.cloud.config.v1
Class ApplyResults.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
- com.google.cloud.config.v1.ApplyResults.Builder
-
- All Implemented Interfaces:
ApplyResultsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ApplyResults
public static final class ApplyResults.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder> implements ApplyResultsOrBuilder
Outputs and artifacts from applying a deployment.
Protobuf typegoogle.cloud.config.v1.ApplyResults
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ApplyResults.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ApplyResultsbuild()ApplyResultsbuildPartial()ApplyResults.Builderclear()ApplyResults.BuilderclearArtifacts()Location of artifacts (e.g.ApplyResults.BuilderclearContent()Location of a blueprint copy and other manifests in Google Cloud Storage.ApplyResults.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ApplyResults.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ApplyResults.BuilderclearOutputs()ApplyResults.Builderclone()booleancontainsOutputs(String key)Map of output name to output info.StringgetArtifacts()Location of artifacts (e.g.com.google.protobuf.ByteStringgetArtifactsBytes()Location of artifacts (e.g.StringgetContent()Location of a blueprint copy and other manifests in Google Cloud Storage.com.google.protobuf.ByteStringgetContentBytes()Location of a blueprint copy and other manifests in Google Cloud Storage.ApplyResultsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Map<String,TerraformOutput>getMutableOutputs()Deprecated.Map<String,TerraformOutput>getOutputs()Deprecated.intgetOutputsCount()Map of output name to output info.Map<String,TerraformOutput>getOutputsMap()Map of output name to output info.TerraformOutputgetOutputsOrDefault(String key, TerraformOutput defaultValue)Map of output name to output info.TerraformOutputgetOutputsOrThrow(String key)Map of output name to output info.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()ApplyResults.BuildermergeFrom(ApplyResults other)ApplyResults.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ApplyResults.BuildermergeFrom(com.google.protobuf.Message other)ApplyResults.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ApplyResults.BuilderputAllOutputs(Map<String,TerraformOutput> values)Map of output name to output info.ApplyResults.BuilderputOutputs(String key, TerraformOutput value)Map of output name to output info.ApplyResults.BuilderremoveOutputs(String key)Map of output name to output info.ApplyResults.BuildersetArtifacts(String value)Location of artifacts (e.g.ApplyResults.BuildersetArtifactsBytes(com.google.protobuf.ByteString value)Location of artifacts (e.g.ApplyResults.BuildersetContent(String value)Location of a blueprint copy and other manifests in Google Cloud Storage.ApplyResults.BuildersetContentBytes(com.google.protobuf.ByteString value)Location of a blueprint copy and other manifests in Google Cloud Storage.ApplyResults.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ApplyResults.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ApplyResults.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
clear
public ApplyResults.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.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.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
getDefaultInstanceForType
public ApplyResults getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ApplyResults build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ApplyResults buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ApplyResults.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
setField
public ApplyResults.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
clearField
public ApplyResults.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
clearOneof
public ApplyResults.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
setRepeatedField
public ApplyResults.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
addRepeatedField
public ApplyResults.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
mergeFrom
public ApplyResults.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ApplyResults.Builder>
-
mergeFrom
public ApplyResults.Builder mergeFrom(ApplyResults other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
mergeFrom
public ApplyResults.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<ApplyResults.Builder>- Throws:
IOException
-
getContent
public String getContent()
Location of a blueprint copy and other manifests in Google Cloud Storage. Format: `gs://{bucket}/{object}`string content = 1;- Specified by:
getContentin interfaceApplyResultsOrBuilder- Returns:
- The content.
-
getContentBytes
public com.google.protobuf.ByteString getContentBytes()
Location of a blueprint copy and other manifests in Google Cloud Storage. Format: `gs://{bucket}/{object}`string content = 1;- Specified by:
getContentBytesin interfaceApplyResultsOrBuilder- Returns:
- The bytes for content.
-
setContent
public ApplyResults.Builder setContent(String value)
Location of a blueprint copy and other manifests in Google Cloud Storage. Format: `gs://{bucket}/{object}`string content = 1;- Parameters:
value- The content to set.- Returns:
- This builder for chaining.
-
clearContent
public ApplyResults.Builder clearContent()
Location of a blueprint copy and other manifests in Google Cloud Storage. Format: `gs://{bucket}/{object}`string content = 1;- Returns:
- This builder for chaining.
-
setContentBytes
public ApplyResults.Builder setContentBytes(com.google.protobuf.ByteString value)
Location of a blueprint copy and other manifests in Google Cloud Storage. Format: `gs://{bucket}/{object}`string content = 1;- Parameters:
value- The bytes for content to set.- Returns:
- This builder for chaining.
-
getArtifacts
public String getArtifacts()
Location of artifacts (e.g. logs) in Google Cloud Storage. Format: `gs://{bucket}/{object}`string artifacts = 2;- Specified by:
getArtifactsin interfaceApplyResultsOrBuilder- Returns:
- The artifacts.
-
getArtifactsBytes
public com.google.protobuf.ByteString getArtifactsBytes()
Location of artifacts (e.g. logs) in Google Cloud Storage. Format: `gs://{bucket}/{object}`string artifacts = 2;- Specified by:
getArtifactsBytesin interfaceApplyResultsOrBuilder- Returns:
- The bytes for artifacts.
-
setArtifacts
public ApplyResults.Builder setArtifacts(String value)
Location of artifacts (e.g. logs) in Google Cloud Storage. Format: `gs://{bucket}/{object}`string artifacts = 2;- Parameters:
value- The artifacts to set.- Returns:
- This builder for chaining.
-
clearArtifacts
public ApplyResults.Builder clearArtifacts()
Location of artifacts (e.g. logs) in Google Cloud Storage. Format: `gs://{bucket}/{object}`string artifacts = 2;- Returns:
- This builder for chaining.
-
setArtifactsBytes
public ApplyResults.Builder setArtifactsBytes(com.google.protobuf.ByteString value)
Location of artifacts (e.g. logs) in Google Cloud Storage. Format: `gs://{bucket}/{object}`string artifacts = 2;- Parameters:
value- The bytes for artifacts to set.- Returns:
- This builder for chaining.
-
getOutputsCount
public int getOutputsCount()
Description copied from interface:ApplyResultsOrBuilderMap of output name to output info.
map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;- Specified by:
getOutputsCountin interfaceApplyResultsOrBuilder
-
containsOutputs
public boolean containsOutputs(String key)
Map of output name to output info.
map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;- Specified by:
containsOutputsin interfaceApplyResultsOrBuilder
-
getOutputs
@Deprecated public Map<String,TerraformOutput> getOutputs()
Deprecated.UsegetOutputsMap()instead.- Specified by:
getOutputsin interfaceApplyResultsOrBuilder
-
getOutputsMap
public Map<String,TerraformOutput> getOutputsMap()
Map of output name to output info.
map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;- Specified by:
getOutputsMapin interfaceApplyResultsOrBuilder
-
getOutputsOrDefault
public TerraformOutput getOutputsOrDefault(String key, TerraformOutput defaultValue)
Map of output name to output info.
map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;- Specified by:
getOutputsOrDefaultin interfaceApplyResultsOrBuilder
-
getOutputsOrThrow
public TerraformOutput getOutputsOrThrow(String key)
Map of output name to output info.
map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;- Specified by:
getOutputsOrThrowin interfaceApplyResultsOrBuilder
-
clearOutputs
public ApplyResults.Builder clearOutputs()
-
removeOutputs
public ApplyResults.Builder removeOutputs(String key)
Map of output name to output info.
map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;
-
getMutableOutputs
@Deprecated public Map<String,TerraformOutput> getMutableOutputs()
Deprecated.Use alternate mutation accessors instead.
-
putOutputs
public ApplyResults.Builder putOutputs(String key, TerraformOutput value)
Map of output name to output info.
map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;
-
putAllOutputs
public ApplyResults.Builder putAllOutputs(Map<String,TerraformOutput> values)
Map of output name to output info.
map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;
-
setUnknownFields
public final ApplyResults.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
mergeUnknownFields
public final ApplyResults.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
-