• 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/asset/v1/asset_service.proto
18 
19 package com.google.cloud.asset.v1;
20 
21 public interface CreateFeedRequestOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.CreateFeedRequest)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * Required. The name of the project/folder/organization where this feed
31    * should be created in. It can only be an organization number (such as
32    * "organizations/123"), a folder number (such as "folders/123"), a project ID
33    * (such as "projects/my-project-id"), or a project number (such as
34    * "projects/12345").
35    * </pre>
36    *
37    * <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED];</code>
38    *
39    * @return The parent.
40    */
getParent()41   java.lang.String getParent();
42   /**
43    *
44    *
45    * <pre>
46    * Required. The name of the project/folder/organization where this feed
47    * should be created in. It can only be an organization number (such as
48    * "organizations/123"), a folder number (such as "folders/123"), a project ID
49    * (such as "projects/my-project-id"), or a project number (such as
50    * "projects/12345").
51    * </pre>
52    *
53    * <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED];</code>
54    *
55    * @return The bytes for parent.
56    */
getParentBytes()57   com.google.protobuf.ByteString getParentBytes();
58 
59   /**
60    *
61    *
62    * <pre>
63    * Required. This is the client-assigned asset feed identifier and it needs to
64    * be unique under a specific parent project/folder/organization.
65    * </pre>
66    *
67    * <code>string feed_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
68    *
69    * @return The feedId.
70    */
getFeedId()71   java.lang.String getFeedId();
72   /**
73    *
74    *
75    * <pre>
76    * Required. This is the client-assigned asset feed identifier and it needs to
77    * be unique under a specific parent project/folder/organization.
78    * </pre>
79    *
80    * <code>string feed_id = 2 [(.google.api.field_behavior) = REQUIRED];</code>
81    *
82    * @return The bytes for feedId.
83    */
getFeedIdBytes()84   com.google.protobuf.ByteString getFeedIdBytes();
85 
86   /**
87    *
88    *
89    * <pre>
90    * Required. The feed details. The field `name` must be empty and it will be
91    * generated in the format of: projects/project_number/feeds/feed_id
92    * folders/folder_number/feeds/feed_id
93    * organizations/organization_number/feeds/feed_id
94    * </pre>
95    *
96    * <code>.google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];</code>
97    *
98    * @return Whether the feed field is set.
99    */
hasFeed()100   boolean hasFeed();
101   /**
102    *
103    *
104    * <pre>
105    * Required. The feed details. The field `name` must be empty and it will be
106    * generated in the format of: projects/project_number/feeds/feed_id
107    * folders/folder_number/feeds/feed_id
108    * organizations/organization_number/feeds/feed_id
109    * </pre>
110    *
111    * <code>.google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];</code>
112    *
113    * @return The feed.
114    */
getFeed()115   com.google.cloud.asset.v1.Feed getFeed();
116   /**
117    *
118    *
119    * <pre>
120    * Required. The feed details. The field `name` must be empty and it will be
121    * generated in the format of: projects/project_number/feeds/feed_id
122    * folders/folder_number/feeds/feed_id
123    * organizations/organization_number/feeds/feed_id
124    * </pre>
125    *
126    * <code>.google.cloud.asset.v1.Feed feed = 3 [(.google.api.field_behavior) = REQUIRED];</code>
127    */
getFeedOrBuilder()128   com.google.cloud.asset.v1.FeedOrBuilder getFeedOrBuilder();
129 }
130