public static final class ListBudgetsRequest.Builder extends GeneratedMessage.Builder<ListBudgetsRequest.Builder> implements ListBudgetsRequestOrBuilderRequest for ListBudgets
Protobuf type google.cloud.billing.budgets.v1.ListBudgetsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListBudgetsRequest.BuilderImplements
ListBudgetsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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 GeneratedMessage.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 |
|
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 |
intThe 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListBudgetsRequest.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for scope to set. |
| Returns | |
|---|---|
| Type | Description |
ListBudgetsRequest.Builder |
This builder for chaining. |