• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2019 The Grafeas Authors. All rights reserved.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 // Generated by the protocol buffer compiler.  DO NOT EDIT!
18 // source: grafeas/v1/common.proto
19 
20 package io.grafeas.v1;
21 
22 public interface LicenseOrBuilder
23     extends
24     // @@protoc_insertion_point(interface_extends:grafeas.v1.License)
25     com.google.protobuf.MessageOrBuilder {
26 
27   /**
28    *
29    *
30    * <pre>
31    * Often a single license can be used to represent the licensing terms.
32    * Sometimes it is necessary to include a choice of one or more licenses
33    * or some combination of license identifiers.
34    * Examples: "LGPL-2.1-only OR MIT", "LGPL-2.1-only AND MIT",
35    * "GPL-2.0-or-later WITH Bison-exception-2.2".
36    * </pre>
37    *
38    * <code>string expression = 1;</code>
39    *
40    * @return The expression.
41    */
getExpression()42   java.lang.String getExpression();
43   /**
44    *
45    *
46    * <pre>
47    * Often a single license can be used to represent the licensing terms.
48    * Sometimes it is necessary to include a choice of one or more licenses
49    * or some combination of license identifiers.
50    * Examples: "LGPL-2.1-only OR MIT", "LGPL-2.1-only AND MIT",
51    * "GPL-2.0-or-later WITH Bison-exception-2.2".
52    * </pre>
53    *
54    * <code>string expression = 1;</code>
55    *
56    * @return The bytes for expression.
57    */
getExpressionBytes()58   com.google.protobuf.ByteString getExpressionBytes();
59 
60   /**
61    *
62    *
63    * <pre>
64    * Comments
65    * </pre>
66    *
67    * <code>string comments = 2;</code>
68    *
69    * @return The comments.
70    */
getComments()71   java.lang.String getComments();
72   /**
73    *
74    *
75    * <pre>
76    * Comments
77    * </pre>
78    *
79    * <code>string comments = 2;</code>
80    *
81    * @return The bytes for comments.
82    */
getCommentsBytes()83   com.google.protobuf.ByteString getCommentsBytes();
84 }
85