Class IacFormatInfo.Builder (0.3.0)

public static final class IacFormatInfo.Builder extends GeneratedMessage.Builder<IacFormatInfo.Builder> implements IacFormatInfoOrBuilder

IacFormatInfo defines the actuation tool used to provision the Template.

Protobuf type google.cloud.designcenter.v1.IacFormatInfo

Static Methods

getDescriptor()

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

Methods

build()

public IacFormatInfo build()
Returns
Type Description
IacFormatInfo

buildPartial()

public IacFormatInfo buildPartial()
Returns
Type Description
IacFormatInfo

clear()

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

clearFlavor()

public IacFormatInfo.Builder clearFlavor()

Required. Flavor is the type of the actuation tool.

string flavor = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IacFormatInfo.Builder

This builder for chaining.

clearVersion()

public IacFormatInfo.Builder clearVersion()

Required. Required version for the actuation tool. required_version = ">= 0.13"

string version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IacFormatInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public IacFormatInfo getDefaultInstanceForType()
Returns
Type Description
IacFormatInfo

getDescriptorForType()

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

getFlavor()

public String getFlavor()

Required. Flavor is the type of the actuation tool.

string flavor = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The flavor.

getFlavorBytes()

public ByteString getFlavorBytes()

Required. Flavor is the type of the actuation tool.

string flavor = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for flavor.

getVersion()

public String getVersion()

Required. Required version for the actuation tool. required_version = ">= 0.13"

string version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Required. Required version for the actuation tool. required_version = ">= 0.13"

string version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for version.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IacFormatInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setFlavor(String value)

public IacFormatInfo.Builder setFlavor(String value)

Required. Flavor is the type of the actuation tool.

string flavor = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The flavor to set.

Returns
Type Description
IacFormatInfo.Builder

This builder for chaining.

setFlavorBytes(ByteString value)

public IacFormatInfo.Builder setFlavorBytes(ByteString value)

Required. Flavor is the type of the actuation tool.

string flavor = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for flavor to set.

Returns
Type Description
IacFormatInfo.Builder

This builder for chaining.

setVersion(String value)

public IacFormatInfo.Builder setVersion(String value)

Required. Required version for the actuation tool. required_version = ">= 0.13"

string version = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The version to set.

Returns
Type Description
IacFormatInfo.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public IacFormatInfo.Builder setVersionBytes(ByteString value)

Required. Required version for the actuation tool. required_version = ">= 0.13"

string version = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
IacFormatInfo.Builder

This builder for chaining.