Class TerraformFile.Builder (0.3.0)

public static final class TerraformFile.Builder extends GeneratedMessage.Builder<TerraformFile.Builder> implements TerraformFileOrBuilder

Represents a single Terraform file.

Protobuf type google.cloud.designcenter.v1.TerraformFile

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public TerraformFile build()
Returns
Type Description
TerraformFile

buildPartial()

public TerraformFile buildPartial()
Returns
Type Description
TerraformFile

clear()

public TerraformFile.Builder clear()
Returns
Type Description
TerraformFile.Builder
Overrides

clearContent()

public TerraformFile.Builder clearContent()

The content of the Terraform file.

string content = 2;

Returns
Type Description
TerraformFile.Builder

This builder for chaining.

clearPath()

public TerraformFile.Builder clearPath()

The path of the Terraform file.

string path = 1;

Returns
Type Description
TerraformFile.Builder

This builder for chaining.

getContent()

public String getContent()

The content of the Terraform file.

string content = 2;

Returns
Type Description
String

The content.

getContentBytes()

public ByteString getContentBytes()

The content of the Terraform file.

string content = 2;

Returns
Type Description
ByteString

The bytes for content.

getDefaultInstanceForType()

public TerraformFile getDefaultInstanceForType()
Returns
Type Description
TerraformFile

getDescriptorForType()

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

getPath()

public String getPath()

The path of the Terraform file.

string path = 1;

Returns
Type Description
String

The path.

getPathBytes()

public ByteString getPathBytes()

The path of the Terraform file.

string path = 1;

Returns
Type Description
ByteString

The bytes for path.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TerraformFile other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setContent(String value)

public TerraformFile.Builder setContent(String value)

The content of the Terraform file.

string content = 2;

Parameter
Name Description
value String

The content to set.

Returns
Type Description
TerraformFile.Builder

This builder for chaining.

setContentBytes(ByteString value)

public TerraformFile.Builder setContentBytes(ByteString value)

The content of the Terraform file.

string content = 2;

Parameter
Name Description
value ByteString

The bytes for content to set.

Returns
Type Description
TerraformFile.Builder

This builder for chaining.

setPath(String value)

public TerraformFile.Builder setPath(String value)

The path of the Terraform file.

string path = 1;

Parameter
Name Description
value String

The path to set.

Returns
Type Description
TerraformFile.Builder

This builder for chaining.

setPathBytes(ByteString value)

public TerraformFile.Builder setPathBytes(ByteString value)

The path of the Terraform file.

string path = 1;

Parameter
Name Description
value ByteString

The bytes for path to set.

Returns
Type Description
TerraformFile.Builder

This builder for chaining.