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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ApplyResults
build()
ApplyResults
buildPartial()
ApplyResults.Builder
clear()
ApplyResults.Builder
clearArtifacts()
Location of artifacts (e.g.ApplyResults.Builder
clearContent()
Location of a blueprint copy and other manifests in Google Cloud Storage.ApplyResults.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ApplyResults.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ApplyResults.Builder
clearOutputs()
ApplyResults.Builder
clone()
boolean
containsOutputs(String key)
Map of output name to output info.String
getArtifacts()
Location of artifacts (e.g.com.google.protobuf.ByteString
getArtifactsBytes()
Location of artifacts (e.g.String
getContent()
Location of a blueprint copy and other manifests in Google Cloud Storage.com.google.protobuf.ByteString
getContentBytes()
Location of a blueprint copy and other manifests in Google Cloud Storage.ApplyResults
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Map<String,TerraformOutput>
getMutableOutputs()
Deprecated.Map<String,TerraformOutput>
getOutputs()
Deprecated.int
getOutputsCount()
Map of output name to output info.Map<String,TerraformOutput>
getOutputsMap()
Map of output name to output info.TerraformOutput
getOutputsOrDefault(String key, TerraformOutput defaultValue)
Map of output name to output info.TerraformOutput
getOutputsOrThrow(String key)
Map of output name to output info.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
ApplyResults.Builder
mergeFrom(ApplyResults other)
ApplyResults.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ApplyResults.Builder
mergeFrom(com.google.protobuf.Message other)
ApplyResults.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ApplyResults.Builder
putAllOutputs(Map<String,TerraformOutput> values)
Map of output name to output info.ApplyResults.Builder
putOutputs(String key, TerraformOutput value)
Map of output name to output info.ApplyResults.Builder
removeOutputs(String key)
Map of output name to output info.ApplyResults.Builder
setArtifacts(String value)
Location of artifacts (e.g.ApplyResults.Builder
setArtifactsBytes(com.google.protobuf.ByteString value)
Location of artifacts (e.g.ApplyResults.Builder
setContent(String value)
Location of a blueprint copy and other manifests in Google Cloud Storage.ApplyResults.Builder
setContentBytes(com.google.protobuf.ByteString value)
Location of a blueprint copy and other manifests in Google Cloud Storage.ApplyResults.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ApplyResults.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ApplyResults.Builder
setUnknownFields(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:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
clear
public ApplyResults.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
getDefaultInstanceForType
public ApplyResults getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ApplyResults build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ApplyResults buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ApplyResults.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
setField
public ApplyResults.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
clearField
public ApplyResults.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
clearOneof
public ApplyResults.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
setRepeatedField
public ApplyResults.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
addRepeatedField
public ApplyResults.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
mergeFrom
public ApplyResults.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ApplyResults.Builder>
-
mergeFrom
public ApplyResults.Builder mergeFrom(ApplyResults other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getContent
in 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:
getContentBytes
in 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:
getArtifacts
in 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:
getArtifactsBytes
in 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:ApplyResultsOrBuilder
Map of output name to output info.
map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;
- Specified by:
getOutputsCount
in 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:
containsOutputs
in interfaceApplyResultsOrBuilder
-
getOutputs
@Deprecated public Map<String,TerraformOutput> getOutputs()
Deprecated.UsegetOutputsMap()
instead.- Specified by:
getOutputs
in 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:
getOutputsMap
in 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:
getOutputsOrDefault
in 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:
getOutputsOrThrow
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
mergeUnknownFields
public final ApplyResults.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ApplyResults.Builder>
-
-