Class ApplyResults.Builder (0.8.0)

public static final class ApplyResults.Builder extends GeneratedMessageV3.Builder<ApplyResults.Builder> implements ApplyResultsOrBuilder

Outputs and artifacts from applying a deployment.

Protobuf type google.cloud.config.v1.ApplyResults

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ApplyResults.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ApplyResults.Builder
Overrides

build()

public ApplyResults build()
Returns
TypeDescription
ApplyResults

buildPartial()

public ApplyResults buildPartial()
Returns
TypeDescription
ApplyResults

clear()

public ApplyResults.Builder clear()
Returns
TypeDescription
ApplyResults.Builder
Overrides

clearArtifacts()

public ApplyResults.Builder clearArtifacts()

Location of artifacts (e.g. logs) in Google Cloud Storage. Format: gs://{bucket}/{object}

string artifacts = 2;

Returns
TypeDescription
ApplyResults.Builder

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
TypeDescription
ApplyResults.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ApplyResults.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ApplyResults.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ApplyResults.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ApplyResults.Builder
Overrides

clearOutputs()

public ApplyResults.Builder clearOutputs()
Returns
TypeDescription
ApplyResults.Builder

clone()

public ApplyResults.Builder clone()
Returns
TypeDescription
ApplyResults.Builder
Overrides

containsOutputs(String key)

public boolean containsOutputs(String key)

Map of output name to output info.

map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getArtifacts()

public String getArtifacts()

Location of artifacts (e.g. logs) in Google Cloud Storage. Format: gs://{bucket}/{object}

string artifacts = 2;

Returns
TypeDescription
String

The artifacts.

getArtifactsBytes()

public ByteString getArtifactsBytes()

Location of artifacts (e.g. logs) in Google Cloud Storage. Format: gs://{bucket}/{object}

string artifacts = 2;

Returns
TypeDescription
ByteString

The bytes for artifacts.

getContent()

public String getContent()

Location of a blueprint copy and other manifests in Google Cloud Storage. Format: gs://{bucket}/{object}

string content = 1;

Returns
TypeDescription
String

The content.

getContentBytes()

public ByteString getContentBytes()

Location of a blueprint copy and other manifests in Google Cloud Storage. Format: gs://{bucket}/{object}

string content = 1;

Returns
TypeDescription
ByteString

The bytes for content.

getDefaultInstanceForType()

public ApplyResults getDefaultInstanceForType()
Returns
TypeDescription
ApplyResults

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMutableOutputs() (deprecated)

public Map<String,TerraformOutput> getMutableOutputs()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,TerraformOutput>

getOutputs() (deprecated)

public Map<String,TerraformOutput> getOutputs()

Use #getOutputsMap() instead.

Returns
TypeDescription
Map<String,TerraformOutput>

getOutputsCount()

public int getOutputsCount()

Map of output name to output info.

map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;

Returns
TypeDescription
int

getOutputsMap()

public Map<String,TerraformOutput> getOutputsMap()

Map of output name to output info.

map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;

Returns
TypeDescription
Map<String,TerraformOutput>

getOutputsOrDefault(String key, TerraformOutput defaultValue)

public TerraformOutput getOutputsOrDefault(String key, TerraformOutput defaultValue)

Map of output name to output info.

map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;

Parameters
NameDescription
keyString
defaultValueTerraformOutput
Returns
TypeDescription
TerraformOutput

getOutputsOrThrow(String key)

public TerraformOutput getOutputsOrThrow(String key)

Map of output name to output info.

map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;

Parameter
NameDescription
keyString
Returns
TypeDescription
TerraformOutput

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ApplyResults other)

public ApplyResults.Builder mergeFrom(ApplyResults other)
Parameter
NameDescription
otherApplyResults
Returns
TypeDescription
ApplyResults.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ApplyResults.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ApplyResults.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ApplyResults.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ApplyResults.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ApplyResults.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ApplyResults.Builder
Overrides

putAllOutputs(Map<String,TerraformOutput> values)

public ApplyResults.Builder putAllOutputs(Map<String,TerraformOutput> values)

Map of output name to output info.

map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;

Parameter
NameDescription
valuesMap<String,TerraformOutput>
Returns
TypeDescription
ApplyResults.Builder

putOutputs(String key, TerraformOutput value)

public ApplyResults.Builder putOutputs(String key, TerraformOutput value)

Map of output name to output info.

map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;

Parameters
NameDescription
keyString
valueTerraformOutput
Returns
TypeDescription
ApplyResults.Builder

removeOutputs(String key)

public ApplyResults.Builder removeOutputs(String key)

Map of output name to output info.

map<string, .google.cloud.config.v1.TerraformOutput> outputs = 3;

Parameter
NameDescription
keyString
Returns
TypeDescription
ApplyResults.Builder

setArtifacts(String value)

public ApplyResults.Builder setArtifacts(String value)

Location of artifacts (e.g. logs) in Google Cloud Storage. Format: gs://{bucket}/{object}

string artifacts = 2;

Parameter
NameDescription
valueString

The artifacts to set.

Returns
TypeDescription
ApplyResults.Builder

This builder for chaining.

setArtifactsBytes(ByteString value)

public ApplyResults.Builder setArtifactsBytes(ByteString value)

Location of artifacts (e.g. logs) in Google Cloud Storage. Format: gs://{bucket}/{object}

string artifacts = 2;

Parameter
NameDescription
valueByteString

The bytes for artifacts to set.

Returns
TypeDescription
ApplyResults.Builder

This builder for chaining.

setContent(String value)

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;

Parameter
NameDescription
valueString

The content to set.

Returns
TypeDescription
ApplyResults.Builder

This builder for chaining.

setContentBytes(ByteString value)

public ApplyResults.Builder setContentBytes(ByteString value)

Location of a blueprint copy and other manifests in Google Cloud Storage. Format: gs://{bucket}/{object}

string content = 1;

Parameter
NameDescription
valueByteString

The bytes for content to set.

Returns
TypeDescription
ApplyResults.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ApplyResults.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ApplyResults.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ApplyResults.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ApplyResults.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ApplyResults.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ApplyResults.Builder
Overrides