Class ModuleOutput.Builder (0.3.0)

public static final class ModuleOutput.Builder extends GeneratedMessage.Builder<ModuleOutput.Builder> implements ModuleOutputOrBuilder

Represents an output value from a module.

Protobuf type google.cloud.designcenter.v1.ModuleOutput

Static Methods

getDescriptor()

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

Methods

build()

public ModuleOutput build()
Returns
Type Description
ModuleOutput

buildPartial()

public ModuleOutput buildPartial()
Returns
Type Description
ModuleOutput

clear()

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

clearDescription()

public ModuleOutput.Builder clearDescription()

Optional. Description of the output.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ModuleOutput.Builder

This builder for chaining.

clearName()

public ModuleOutput.Builder clearName()

Optional. Name of the output.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ModuleOutput.Builder

This builder for chaining.

getDefaultInstanceForType()

public ModuleOutput getDefaultInstanceForType()
Returns
Type Description
ModuleOutput

getDescription()

public String getDescription()

Optional. Description of the output.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Description of the output.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getName()

public String getName()

Optional. Name of the output.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Optional. Name of the output.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ModuleOutput other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDescription(String value)

public ModuleOutput.Builder setDescription(String value)

Optional. Description of the output.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The description to set.

Returns
Type Description
ModuleOutput.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public ModuleOutput.Builder setDescriptionBytes(ByteString value)

Optional. Description of the output.

string description = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
ModuleOutput.Builder

This builder for chaining.

setName(String value)

public ModuleOutput.Builder setName(String value)

Optional. Name of the output.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ModuleOutput.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ModuleOutput.Builder setNameBytes(ByteString value)

Optional. Name of the output.

string name = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ModuleOutput.Builder

This builder for chaining.