Class ApplyResults.Builder (0.22.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ApplyResults.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ApplyResults.Builder
Overrides

build()

public ApplyResults build()
Returns
Type Description
ApplyResults

buildPartial()

public ApplyResults buildPartial()
Returns
Type Description
ApplyResults

clear()

public ApplyResults.Builder clear()
Returns
Type Description
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
Type Description
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
Type Description
ApplyResults.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ApplyResults.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ApplyResults.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ApplyResults.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ApplyResults.Builder
Overrides

clearOutputs()

public ApplyResults.Builder clearOutputs()
Returns
Type Description
ApplyResults.Builder

clone()

public ApplyResults.Builder clone()
Returns
Type Description
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
Name Description
key String
Returns
Type Description
boolean

getArtifacts()

public String getArtifacts()

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

string artifacts = 2;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for content.

getDefaultInstanceForType()

public ApplyResults getDefaultInstanceForType()
Returns
Type Description
ApplyResults

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMutableOutputs() (deprecated)

public Map<String,TerraformOutput> getMutableOutputs()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,TerraformOutput>

getOutputs() (deprecated)

public Map<String,TerraformOutput> getOutputs()

Use #getOutputsMap() instead.

Returns
Type Description
Map<String,TerraformOutput>

getOutputsCount()

public int getOutputsCount()

Map of output name to output info.

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

Returns
Type Description
int

getOutputsMap()

public Map<String,TerraformOutput> getOutputsMap()

Map of output name to output info.

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

Returns
Type Description
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
Name Description
key String
defaultValue TerraformOutput
Returns
Type Description
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
Name Description
key String
Returns
Type Description
TerraformOutput

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ApplyResults other)

public ApplyResults.Builder mergeFrom(ApplyResults other)
Parameter
Name Description
other ApplyResults
Returns
Type Description
ApplyResults.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ApplyResults.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApplyResults.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ApplyResults.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ApplyResults.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ApplyResults.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
values Map<String,TerraformOutput>
Returns
Type Description
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
Name Description
key String
value TerraformOutput
Returns
Type Description
ApplyResults.Builder

putOutputsBuilderIfAbsent(String key)

public TerraformOutput.Builder putOutputsBuilderIfAbsent(String key)

Map of output name to output info.

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

Parameter
Name Description
key String
Returns
Type Description
TerraformOutput.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
Name Description
key String
Returns
Type Description
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
Name Description
value String

The artifacts to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for artifacts to set.

Returns
Type Description
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
Name Description
value String

The content to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for content to set.

Returns
Type Description
ApplyResults.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ApplyResults.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ApplyResults.Builder
Overrides

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

public ApplyResults.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ApplyResults.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ApplyResults.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ApplyResults.Builder
Overrides