• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
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 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/functions/v1/functions.proto
18 
19 package com.google.cloud.functions.v1;
20 
21 public interface SourceRepositoryOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.functions.v1.SourceRepository)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The URL pointing to the hosted repository where the function is defined.
31    * There are supported Cloud Source Repository URLs in the following
32    * formats:
33    * To refer to a specific commit:
34    * `https://source.developers.google.com/projects/&#42;&#47;repos/&#42;&#47;revisions/&#42;&#47;paths/&#42;`
35    * To refer to a moveable alias (branch):
36    * `https://source.developers.google.com/projects/&#42;&#47;repos/&#42;&#47;moveable-aliases/&#42;&#47;paths/&#42;`
37    * In particular, to refer to HEAD use `master` moveable alias.
38    * To refer to a specific fixed alias (tag):
39    * `https://source.developers.google.com/projects/&#42;&#47;repos/&#42;&#47;fixed-aliases/&#42;&#47;paths/&#42;`
40    * You can omit `paths/&#42;` if you want to use the main directory.
41    * </pre>
42    *
43    * <code>string url = 1;</code>
44    *
45    * @return The url.
46    */
getUrl()47   java.lang.String getUrl();
48   /**
49    *
50    *
51    * <pre>
52    * The URL pointing to the hosted repository where the function is defined.
53    * There are supported Cloud Source Repository URLs in the following
54    * formats:
55    * To refer to a specific commit:
56    * `https://source.developers.google.com/projects/&#42;&#47;repos/&#42;&#47;revisions/&#42;&#47;paths/&#42;`
57    * To refer to a moveable alias (branch):
58    * `https://source.developers.google.com/projects/&#42;&#47;repos/&#42;&#47;moveable-aliases/&#42;&#47;paths/&#42;`
59    * In particular, to refer to HEAD use `master` moveable alias.
60    * To refer to a specific fixed alias (tag):
61    * `https://source.developers.google.com/projects/&#42;&#47;repos/&#42;&#47;fixed-aliases/&#42;&#47;paths/&#42;`
62    * You can omit `paths/&#42;` if you want to use the main directory.
63    * </pre>
64    *
65    * <code>string url = 1;</code>
66    *
67    * @return The bytes for url.
68    */
getUrlBytes()69   com.google.protobuf.ByteString getUrlBytes();
70 
71   /**
72    *
73    *
74    * <pre>
75    * Output only. The URL pointing to the hosted repository where the function
76    * were defined at the time of deployment. It always points to a specific
77    * commit in the format described above.
78    * </pre>
79    *
80    * <code>string deployed_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
81    *
82    * @return The deployedUrl.
83    */
getDeployedUrl()84   java.lang.String getDeployedUrl();
85   /**
86    *
87    *
88    * <pre>
89    * Output only. The URL pointing to the hosted repository where the function
90    * were defined at the time of deployment. It always points to a specific
91    * commit in the format described above.
92    * </pre>
93    *
94    * <code>string deployed_url = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
95    *
96    * @return The bytes for deployedUrl.
97    */
getDeployedUrlBytes()98   com.google.protobuf.ByteString getDeployedUrlBytes();
99 }
100