public
static
final
class
License
.
Builder
extends
GeneratedMessage
.
Builder<License
.
Builder
>
implements
LicenseOrBuilder
License information.
Protobuf type grafeas.v1.License
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > License.BuilderImplements
LicenseOrBuilderStatic Methods
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
Methods
build()
public
License
build
()
buildPartial()
public
License
buildPartial
()
clear()
public
License
.
Builder
clear
()
clearComments()
public
License
.
Builder
clearComments
()
Comments
string comments = 2;
clearExpression()
public
License
.
Builder
clearExpression
()
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;
getComments()
public
String
getComments
()
Comments
string comments = 2;
getCommentsBytes()
public
ByteString
getCommentsBytes
()
Comments
string comments = 2;
getDefaultInstanceForType()
public
License
getDefaultInstanceForType
()
getDescriptorForType()
public
Descriptors
.
Descriptor
getDescriptorForType
()
getExpression()
public
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;
getExpressionBytes()
public
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;
internalGetFieldAccessorTable()
protected
GeneratedMessage
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
License
.
Builder
mergeFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
mergeFrom(Message other)
public
License
.
Builder
mergeFrom
(
Message
other
)
mergeFrom(License other)
public
License
.
Builder
mergeFrom
(
License
other
)
setComments(String value)
public
License
.
Builder
setComments
(
String
value
)
Comments
string comments = 2;
setCommentsBytes(ByteString value)
public
License
.
Builder
setCommentsBytes
(
ByteString
value
)
Comments
string comments = 2;
setExpression(String value)
public
License
.
Builder
setExpression
(
String
value
)
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;
setExpressionBytes(ByteString value)
public
License
.
Builder
setExpressionBytes
(
ByteString
value
)
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;

