- 2.51.0 (latest)
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.6
- 2.2.0
- 2.1.7
public static final class ListBudgetsRequest.Builder extends GeneratedMessageV3.Builder<ListBudgetsRequest.Builder> implements ListBudgetsRequestOrBuilder
Request for ListBudgets
Protobuf type google.cloud.billing.budgets.v1.ListBudgetsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListBudgetsRequest.BuilderImplements
ListBudgetsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListBudgetsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
build()
public ListBudgetsRequest build()
Returns | |
---|---|
Type | Description |
ListBudgetsRequest |
buildPartial()
public ListBudgetsRequest buildPartial()
Returns | |
---|---|
Type | Description |
ListBudgetsRequest |
clear()
public ListBudgetsRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListBudgetsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListBudgetsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
clearPageSize()
public ListBudgetsRequest.Builder clearPageSize()
Optional. The maximum number of budgets to return per page. The default and maximum value are 100.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListBudgetsRequest.Builder clearPageToken()
Optional. The value returned by the last ListBudgetsResponse
which
indicates that this is a continuation of a prior ListBudgets
call,
and that the system should return the next page of data.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
This builder for chaining. |
clearParent()
public ListBudgetsRequest.Builder clearParent()
Required. Name of billing account to list budgets under. Values
are of the form billingAccounts/{billingAccountId}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
This builder for chaining. |
clearScope()
public ListBudgetsRequest.Builder clearScope()
Optional. Set the scope of the budgets to be returned, in the format of the resource name. The scope of a budget is the cost that it tracks, such as costs for a single project, or the costs for all projects in a folder. Only project scope (in the format of "projects/project-id" or "projects/123") is supported in this field. When this field is set to a project's resource name, the budgets returned are tracking the costs for that project.
string scope = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
This builder for chaining. |
clone()
public ListBudgetsRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
getDefaultInstanceForType()
public ListBudgetsRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListBudgetsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPageSize()
public int getPageSize()
Optional. The maximum number of budgets to return per page. The default and maximum value are 100.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken()
Optional. The value returned by the last ListBudgetsResponse
which
indicates that this is a continuation of a prior ListBudgets
call,
and that the system should return the next page of data.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()
Optional. The value returned by the last ListBudgetsResponse
which
indicates that this is a continuation of a prior ListBudgets
call,
and that the system should return the next page of data.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent()
Required. Name of billing account to list budgets under. Values
are of the form billingAccounts/{billingAccountId}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. Name of billing account to list budgets under. Values
are of the form billingAccounts/{billingAccountId}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
getScope()
public String getScope()
Optional. Set the scope of the budgets to be returned, in the format of the resource name. The scope of a budget is the cost that it tracks, such as costs for a single project, or the costs for all projects in a folder. Only project scope (in the format of "projects/project-id" or "projects/123") is supported in this field. When this field is set to a project's resource name, the budgets returned are tracking the costs for that project.
string scope = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The scope. |
getScopeBytes()
public ByteString getScopeBytes()
Optional. Set the scope of the budgets to be returned, in the format of the resource name. The scope of a budget is the cost that it tracks, such as costs for a single project, or the costs for all projects in a folder. Only project scope (in the format of "projects/project-id" or "projects/123") is supported in this field. When this field is set to a project's resource name, the budgets returned are tracking the costs for that project.
string scope = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for scope. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListBudgetsRequest other)
public ListBudgetsRequest.Builder mergeFrom(ListBudgetsRequest other)
Parameter | |
---|---|
Name | Description |
other |
ListBudgetsRequest |
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListBudgetsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListBudgetsRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListBudgetsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListBudgetsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
setPageSize(int value)
public ListBudgetsRequest.Builder setPageSize(int value)
Optional. The maximum number of budgets to return per page. The default and maximum value are 100.
int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
int The pageSize to set. |
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListBudgetsRequest.Builder setPageToken(String value)
Optional. The value returned by the last ListBudgetsResponse
which
indicates that this is a continuation of a prior ListBudgets
call,
and that the system should return the next page of data.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The pageToken to set. |
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListBudgetsRequest.Builder setPageTokenBytes(ByteString value)
Optional. The value returned by the last ListBudgetsResponse
which
indicates that this is a continuation of a prior ListBudgets
call,
and that the system should return the next page of data.
string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for pageToken to set. |
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
This builder for chaining. |
setParent(String value)
public ListBudgetsRequest.Builder setParent(String value)
Required. Name of billing account to list budgets under. Values
are of the form billingAccounts/{billingAccountId}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ListBudgetsRequest.Builder setParentBytes(ByteString value)
Required. Name of billing account to list budgets under. Values
are of the form billingAccounts/{billingAccountId}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListBudgetsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
setScope(String value)
public ListBudgetsRequest.Builder setScope(String value)
Optional. Set the scope of the budgets to be returned, in the format of the resource name. The scope of a budget is the cost that it tracks, such as costs for a single project, or the costs for all projects in a folder. Only project scope (in the format of "projects/project-id" or "projects/123") is supported in this field. When this field is set to a project's resource name, the budgets returned are tracking the costs for that project.
string scope = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The scope to set. |
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
This builder for chaining. |
setScopeBytes(ByteString value)
public ListBudgetsRequest.Builder setScopeBytes(ByteString value)
Optional. Set the scope of the budgets to be returned, in the format of the resource name. The scope of a budget is the cost that it tracks, such as costs for a single project, or the costs for all projects in a folder. Only project scope (in the format of "projects/project-id" or "projects/123") is supported in this field. When this field is set to a project's resource name, the budgets returned are tracking the costs for that project.
string scope = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for scope to set. |
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListBudgetsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListBudgetsRequest.Builder |