Interface LicenseOrBuilder (2.4.3)

public interface LicenseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getComments()

public abstract String getComments()

Comments

string comments = 2;

Returns
TypeDescription
String

The comments.

getCommentsBytes()

public abstract ByteString getCommentsBytes()

Comments

string comments = 2;

Returns
TypeDescription
ByteString

The bytes for comments.

getExpression()

public abstract String getExpression()

Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: "LGPL-2.1-only OR MIT", "LGPL-2.1-only AND MIT", "GPL-2.0-or-later WITH Bison-exception-2.2".

string expression = 1;

Returns
TypeDescription
String

The expression.

getExpressionBytes()

public abstract ByteString getExpressionBytes()

Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: "LGPL-2.1-only OR MIT", "LGPL-2.1-only AND MIT", "GPL-2.0-or-later WITH Bison-exception-2.2".

string expression = 1;

Returns
TypeDescription
ByteString

The bytes for expression.