public static final class ListBudgetsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListBudgetsRequest.Builder> implements ListBudgetsRequestOrBuilder
Request for ListBudgetsProtobuf type
google.cloud.billing.budgets.v1beta1.ListBudgetsRequest| Modifier and Type | Method and Description |
|---|---|
ListBudgetsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListBudgetsRequest |
build() |
ListBudgetsRequest |
buildPartial() |
ListBudgetsRequest.Builder |
clear() |
ListBudgetsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListBudgetsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListBudgetsRequest.Builder |
clearPageSize()
Optional.
|
ListBudgetsRequest.Builder |
clearPageToken()
Optional.
|
ListBudgetsRequest.Builder |
clearParent()
Required.
|
ListBudgetsRequest.Builder |
clearScope()
Optional.
|
ListBudgetsRequest.Builder |
clone() |
ListBudgetsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getPageSize()
Optional.
|
String |
getPageToken()
Optional.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
Optional.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
String |
getScope()
Optional.
|
com.google.protobuf.ByteString |
getScopeBytes()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListBudgetsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListBudgetsRequest.Builder |
mergeFrom(ListBudgetsRequest other) |
ListBudgetsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListBudgetsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListBudgetsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListBudgetsRequest.Builder |
setPageSize(int value)
Optional.
|
ListBudgetsRequest.Builder |
setPageToken(String value)
Optional.
|
ListBudgetsRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
Optional.
|
ListBudgetsRequest.Builder |
setParent(String value)
Required.
|
ListBudgetsRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
ListBudgetsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListBudgetsRequest.Builder |
setScope(String value)
Optional.
|
ListBudgetsRequest.Builder |
setScopeBytes(com.google.protobuf.ByteString value)
Optional.
|
ListBudgetsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListBudgetsRequest.Builder>public ListBudgetsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListBudgetsRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListBudgetsRequest.Builder>public ListBudgetsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListBudgetsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListBudgetsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListBudgetsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListBudgetsRequest.Builder>public ListBudgetsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListBudgetsRequest.Builder>public ListBudgetsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListBudgetsRequest.Builder>public ListBudgetsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListBudgetsRequest.Builder>public ListBudgetsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListBudgetsRequest.Builder>public ListBudgetsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListBudgetsRequest.Builder>public ListBudgetsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListBudgetsRequest.Builder>public ListBudgetsRequest.Builder mergeFrom(ListBudgetsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListBudgetsRequest.Builder>public ListBudgetsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListBudgetsRequest.Builder>IOExceptionpublic 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) = { ... }
getParent in interface ListBudgetsRequestOrBuilderpublic com.google.protobuf.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) = { ... }
getParentBytes in interface ListBudgetsRequestOrBuilderpublic 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) = { ... }
value - The parent to set.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) = { ... }
public ListBudgetsRequest.Builder setParentBytes(com.google.protobuf.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) = { ... }
value - The bytes for parent to set.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];getScope in interface ListBudgetsRequestOrBuilderpublic com.google.protobuf.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];getScopeBytes in interface ListBudgetsRequestOrBuilderpublic 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];value - The scope to set.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];public ListBudgetsRequest.Builder setScopeBytes(com.google.protobuf.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];value - The bytes for scope to set.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];getPageSize in interface ListBudgetsRequestOrBuilderpublic 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];value - The pageSize to set.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];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];getPageToken in interface ListBudgetsRequestOrBuilderpublic com.google.protobuf.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];getPageTokenBytes in interface ListBudgetsRequestOrBuilderpublic 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];value - The pageToken to set.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];public ListBudgetsRequest.Builder setPageTokenBytes(com.google.protobuf.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];value - The bytes for pageToken to set.public final ListBudgetsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListBudgetsRequest.Builder>public final ListBudgetsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListBudgetsRequest.Builder>Copyright © 2024 Google LLC. All rights reserved.