public static final class TerraformFile.Builder extends GeneratedMessage.Builder<TerraformFile.Builder> implements TerraformFileOrBuilderRepresents a single Terraform file.
Protobuf type google.cloud.designcenter.v1.TerraformFile
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TerraformFile.BuilderImplements
TerraformFileOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TerraformFile.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TerraformFile.Builder |
|
setContent(String value)
public TerraformFile.Builder setContent(String value)The content of the Terraform file.
string content = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for path to set. |
| Returns | |
|---|---|
| Type | Description |
TerraformFile.Builder |
This builder for chaining. |