• 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/billing/v1/cloud_billing.proto
18 
19 package com.google.cloud.billing.v1;
20 
21 public interface ProjectBillingInfoOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.cloud.billing.v1.ProjectBillingInfo)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The resource name for the `ProjectBillingInfo`; has the form
31    * `projects/{project_id}/billingInfo`. For example, the resource name for the
32    * billing information for project `tokyo-rain-123` would be
33    * `projects/tokyo-rain-123/billingInfo`. This field is read-only.
34    * </pre>
35    *
36    * <code>string name = 1;</code>
37    *
38    * @return The name.
39    */
getName()40   java.lang.String getName();
41   /**
42    *
43    *
44    * <pre>
45    * The resource name for the `ProjectBillingInfo`; has the form
46    * `projects/{project_id}/billingInfo`. For example, the resource name for the
47    * billing information for project `tokyo-rain-123` would be
48    * `projects/tokyo-rain-123/billingInfo`. This field is read-only.
49    * </pre>
50    *
51    * <code>string name = 1;</code>
52    *
53    * @return The bytes for name.
54    */
getNameBytes()55   com.google.protobuf.ByteString getNameBytes();
56 
57   /**
58    *
59    *
60    * <pre>
61    * The ID of the project that this `ProjectBillingInfo` represents, such as
62    * `tokyo-rain-123`. This is a convenience field so that you don't need to
63    * parse the `name` field to obtain a project ID. This field is read-only.
64    * </pre>
65    *
66    * <code>string project_id = 2;</code>
67    *
68    * @return The projectId.
69    */
getProjectId()70   java.lang.String getProjectId();
71   /**
72    *
73    *
74    * <pre>
75    * The ID of the project that this `ProjectBillingInfo` represents, such as
76    * `tokyo-rain-123`. This is a convenience field so that you don't need to
77    * parse the `name` field to obtain a project ID. This field is read-only.
78    * </pre>
79    *
80    * <code>string project_id = 2;</code>
81    *
82    * @return The bytes for projectId.
83    */
getProjectIdBytes()84   com.google.protobuf.ByteString getProjectIdBytes();
85 
86   /**
87    *
88    *
89    * <pre>
90    * The resource name of the billing account associated with the project, if
91    * any. For example, `billingAccounts/012345-567890-ABCDEF`.
92    * </pre>
93    *
94    * <code>string billing_account_name = 3;</code>
95    *
96    * @return The billingAccountName.
97    */
getBillingAccountName()98   java.lang.String getBillingAccountName();
99   /**
100    *
101    *
102    * <pre>
103    * The resource name of the billing account associated with the project, if
104    * any. For example, `billingAccounts/012345-567890-ABCDEF`.
105    * </pre>
106    *
107    * <code>string billing_account_name = 3;</code>
108    *
109    * @return The bytes for billingAccountName.
110    */
getBillingAccountNameBytes()111   com.google.protobuf.ByteString getBillingAccountNameBytes();
112 
113   /**
114    *
115    *
116    * <pre>
117    * True if the project is associated with an open billing account, to which
118    * usage on the project is charged. False if the project is associated with a
119    * closed billing account, or no billing account at all, and therefore cannot
120    * use paid services. This field is read-only.
121    * </pre>
122    *
123    * <code>bool billing_enabled = 4;</code>
124    *
125    * @return The billingEnabled.
126    */
getBillingEnabled()127   boolean getBillingEnabled();
128 }
129