• 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 GcsDestinationOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.asset.v1.GcsDestination)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The URI of the Cloud Storage object. It's the same URI that is used by
31    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
32    * Editing Object
33    * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
34    * for more information.
35    * If the specified Cloud Storage object already exists and there is no
36    * [hold](https://cloud.google.com/storage/docs/object-holds), it will be
37    * overwritten with the exported result.
38    * </pre>
39    *
40    * <code>string uri = 1;</code>
41    *
42    * @return Whether the uri field is set.
43    */
hasUri()44   boolean hasUri();
45   /**
46    *
47    *
48    * <pre>
49    * The URI of the Cloud Storage object. It's the same URI that is used by
50    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
51    * Editing Object
52    * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
53    * for more information.
54    * If the specified Cloud Storage object already exists and there is no
55    * [hold](https://cloud.google.com/storage/docs/object-holds), it will be
56    * overwritten with the exported result.
57    * </pre>
58    *
59    * <code>string uri = 1;</code>
60    *
61    * @return The uri.
62    */
getUri()63   java.lang.String getUri();
64   /**
65    *
66    *
67    * <pre>
68    * The URI of the Cloud Storage object. It's the same URI that is used by
69    * gsutil. Example: "gs://bucket_name/object_name". See [Viewing and
70    * Editing Object
71    * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata)
72    * for more information.
73    * If the specified Cloud Storage object already exists and there is no
74    * [hold](https://cloud.google.com/storage/docs/object-holds), it will be
75    * overwritten with the exported result.
76    * </pre>
77    *
78    * <code>string uri = 1;</code>
79    *
80    * @return The bytes for uri.
81    */
getUriBytes()82   com.google.protobuf.ByteString getUriBytes();
83 
84   /**
85    *
86    *
87    * <pre>
88    * The URI prefix of all generated Cloud Storage objects. Example:
89    * "gs://bucket_name/object_name_prefix". Each object URI is in format:
90    * "gs://bucket_name/object_name_prefix/&lt;asset type&gt;/&lt;shard number&gt; and only
91    * contains assets for that type. &lt;shard number&gt; starts from 0. Example:
92    * "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is
93    * the first shard of output objects containing all
94    * compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be
95    * returned if file with the same name "gs://bucket_name/object_name_prefix"
96    * already exists.
97    * </pre>
98    *
99    * <code>string uri_prefix = 2;</code>
100    *
101    * @return Whether the uriPrefix field is set.
102    */
hasUriPrefix()103   boolean hasUriPrefix();
104   /**
105    *
106    *
107    * <pre>
108    * The URI prefix of all generated Cloud Storage objects. Example:
109    * "gs://bucket_name/object_name_prefix". Each object URI is in format:
110    * "gs://bucket_name/object_name_prefix/&lt;asset type&gt;/&lt;shard number&gt; and only
111    * contains assets for that type. &lt;shard number&gt; starts from 0. Example:
112    * "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is
113    * the first shard of output objects containing all
114    * compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be
115    * returned if file with the same name "gs://bucket_name/object_name_prefix"
116    * already exists.
117    * </pre>
118    *
119    * <code>string uri_prefix = 2;</code>
120    *
121    * @return The uriPrefix.
122    */
getUriPrefix()123   java.lang.String getUriPrefix();
124   /**
125    *
126    *
127    * <pre>
128    * The URI prefix of all generated Cloud Storage objects. Example:
129    * "gs://bucket_name/object_name_prefix". Each object URI is in format:
130    * "gs://bucket_name/object_name_prefix/&lt;asset type&gt;/&lt;shard number&gt; and only
131    * contains assets for that type. &lt;shard number&gt; starts from 0. Example:
132    * "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is
133    * the first shard of output objects containing all
134    * compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be
135    * returned if file with the same name "gs://bucket_name/object_name_prefix"
136    * already exists.
137    * </pre>
138    *
139    * <code>string uri_prefix = 2;</code>
140    *
141    * @return The bytes for uriPrefix.
142    */
getUriPrefixBytes()143   com.google.protobuf.ByteString getUriPrefixBytes();
144 
getObjectUriCase()145   public com.google.cloud.asset.v1.GcsDestination.ObjectUriCase getObjectUriCase();
146 }
147