Class LogicalProduct.Builder (0.3.0)

public static final class LogicalProduct.Builder extends GeneratedMessage.Builder<LogicalProduct.Builder> implements LogicalProductOrBuilder

Represents a Product Main logical product.

Protobuf type google.cloud.designcenter.v1.LogicalProduct

Static Methods

getDescriptor()

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

Methods

build()

public LogicalProduct build()
Returns
Type Description
LogicalProduct

buildPartial()

public LogicalProduct buildPartial()
Returns
Type Description
LogicalProduct

clear()

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

clearName()

public LogicalProduct.Builder clearName()

Output only. The resource name of the logical product. Format: logicalProducts/{logical_product}

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

Returns
Type Description
LogicalProduct.Builder

This builder for chaining.

clearShortDescription()

public LogicalProduct.Builder clearShortDescription()

Output only. A short description of the logical product.

string short_description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LogicalProduct.Builder

This builder for chaining.

clearTitle()

public LogicalProduct.Builder clearTitle()

Output only. The display name of the logical product.

string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LogicalProduct.Builder

This builder for chaining.

getDefaultInstanceForType()

public LogicalProduct getDefaultInstanceForType()
Returns
Type Description
LogicalProduct

getDescriptorForType()

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

getName()

public String getName()

Output only. The resource name of the logical product. Format: logicalProducts/{logical_product}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name of the logical product. Format: logicalProducts/{logical_product}

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

Returns
Type Description
ByteString

The bytes for name.

getShortDescription()

public String getShortDescription()

Output only. A short description of the logical product.

string short_description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The shortDescription.

getShortDescriptionBytes()

public ByteString getShortDescriptionBytes()

Output only. A short description of the logical product.

string short_description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for shortDescription.

getTitle()

public String getTitle()

Output only. The display name of the logical product.

string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The title.

getTitleBytes()

public ByteString getTitleBytes()

Output only. The display name of the logical product.

string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for title.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LogicalProduct other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public LogicalProduct.Builder setName(String value)

Output only. The resource name of the logical product. Format: logicalProducts/{logical_product}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
LogicalProduct.Builder

This builder for chaining.

setNameBytes(ByteString value)

public LogicalProduct.Builder setNameBytes(ByteString value)

Output only. The resource name of the logical product. Format: logicalProducts/{logical_product}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
LogicalProduct.Builder

This builder for chaining.

setShortDescription(String value)

public LogicalProduct.Builder setShortDescription(String value)

Output only. A short description of the logical product.

string short_description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The shortDescription to set.

Returns
Type Description
LogicalProduct.Builder

This builder for chaining.

setShortDescriptionBytes(ByteString value)

public LogicalProduct.Builder setShortDescriptionBytes(ByteString value)

Output only. A short description of the logical product.

string short_description = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for shortDescription to set.

Returns
Type Description
LogicalProduct.Builder

This builder for chaining.

setTitle(String value)

public LogicalProduct.Builder setTitle(String value)

Output only. The display name of the logical product.

string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The title to set.

Returns
Type Description
LogicalProduct.Builder

This builder for chaining.

setTitleBytes(ByteString value)

public LogicalProduct.Builder setTitleBytes(ByteString value)

Output only. The display name of the logical product.

string title = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for title to set.

Returns
Type Description
LogicalProduct.Builder

This builder for chaining.