• 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/compute/v1/compute.proto
18 
19 package com.google.cloud.compute.v1;
20 
21 public interface UsageExportLocationOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.UsageExportLocation)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This can either be the bucket name by itself, such as example-bucket, or the bucket name with gs:// or https://storage.googleapis.com/ in front of it, such as gs://example-bucket.
31    * </pre>
32    *
33    * <code>optional string bucket_name = 283610048;</code>
34    *
35    * @return Whether the bucketName field is set.
36    */
hasBucketName()37   boolean hasBucketName();
38   /**
39    *
40    *
41    * <pre>
42    * The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This can either be the bucket name by itself, such as example-bucket, or the bucket name with gs:// or https://storage.googleapis.com/ in front of it, such as gs://example-bucket.
43    * </pre>
44    *
45    * <code>optional string bucket_name = 283610048;</code>
46    *
47    * @return The bucketName.
48    */
getBucketName()49   java.lang.String getBucketName();
50   /**
51    *
52    *
53    * <pre>
54    * The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This can either be the bucket name by itself, such as example-bucket, or the bucket name with gs:// or https://storage.googleapis.com/ in front of it, such as gs://example-bucket.
55    * </pre>
56    *
57    * <code>optional string bucket_name = 283610048;</code>
58    *
59    * @return The bytes for bucketName.
60    */
getBucketNameBytes()61   com.google.protobuf.ByteString getBucketNameBytes();
62 
63   /**
64    *
65    *
66    * <pre>
67    * An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage_gce. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions.
68    * </pre>
69    *
70    * <code>optional string report_name_prefix = 320198715;</code>
71    *
72    * @return Whether the reportNamePrefix field is set.
73    */
hasReportNamePrefix()74   boolean hasReportNamePrefix();
75   /**
76    *
77    *
78    * <pre>
79    * An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage_gce. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions.
80    * </pre>
81    *
82    * <code>optional string report_name_prefix = 320198715;</code>
83    *
84    * @return The reportNamePrefix.
85    */
getReportNamePrefix()86   java.lang.String getReportNamePrefix();
87   /**
88    *
89    *
90    * <pre>
91    * An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage_gce. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions.
92    * </pre>
93    *
94    * <code>optional string report_name_prefix = 320198715;</code>
95    *
96    * @return The bytes for reportNamePrefix.
97    */
getReportNamePrefixBytes()98   com.google.protobuf.ByteString getReportNamePrefixBytes();
99 }
100