public static final class UpdateBudgetRequest.Builder extends GeneratedMessageV3.Builder<UpdateBudgetRequest.Builder> implements UpdateBudgetRequestOrBuilder
Request for UpdateBudget
Protobuf type google.cloud.billing.budgets.v1beta1.UpdateBudgetRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateBudgetRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateBudgetRequest build()
buildPartial()
public UpdateBudgetRequest buildPartial()
clear()
public UpdateBudgetRequest.Builder clear()
Overrides
clearBudget()
public UpdateBudgetRequest.Builder clearBudget()
Required. The updated budget object.
The budget to update is specified by the budget name in the budget.
.google.cloud.billing.budgets.v1beta1.Budget budget = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateBudgetRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateBudgetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateBudgetRequest.Builder clearUpdateMask()
Optional. Indicates which fields in the provided budget to update.
Read-only fields (such as name
) cannot be changed. If this is not
provided, then only fields with non-default values from the request are
updated. See
https://developers.google.com/protocol-buffers/docs/proto3#default for more
details about default values.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public UpdateBudgetRequest.Builder clone()
Overrides
getBudget()
public Budget getBudget()
Required. The updated budget object.
The budget to update is specified by the budget name in the budget.
.google.cloud.billing.budgets.v1beta1.Budget budget = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Budget |
The budget.
|
getBudgetBuilder()
public Budget.Builder getBudgetBuilder()
Required. The updated budget object.
The budget to update is specified by the budget name in the budget.
.google.cloud.billing.budgets.v1beta1.Budget budget = 1 [(.google.api.field_behavior) = REQUIRED];
getBudgetOrBuilder()
public BudgetOrBuilder getBudgetOrBuilder()
Required. The updated budget object.
The budget to update is specified by the budget name in the budget.
.google.cloud.billing.budgets.v1beta1.Budget budget = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateBudgetRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Optional. Indicates which fields in the provided budget to update.
Read-only fields (such as name
) cannot be changed. If this is not
provided, then only fields with non-default values from the request are
updated. See
https://developers.google.com/protocol-buffers/docs/proto3#default for more
details about default values.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Optional. Indicates which fields in the provided budget to update.
Read-only fields (such as name
) cannot be changed. If this is not
provided, then only fields with non-default values from the request are
updated. See
https://developers.google.com/protocol-buffers/docs/proto3#default for more
details about default values.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Optional. Indicates which fields in the provided budget to update.
Read-only fields (such as name
) cannot be changed. If this is not
provided, then only fields with non-default values from the request are
updated. See
https://developers.google.com/protocol-buffers/docs/proto3#default for more
details about default values.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
hasBudget()
public boolean hasBudget()
Required. The updated budget object.
The budget to update is specified by the budget name in the budget.
.google.cloud.billing.budgets.v1beta1.Budget budget = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the budget field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Optional. Indicates which fields in the provided budget to update.
Read-only fields (such as name
) cannot be changed. If this is not
provided, then only fields with non-default values from the request are
updated. See
https://developers.google.com/protocol-buffers/docs/proto3#default for more
details about default values.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeBudget(Budget value)
public UpdateBudgetRequest.Builder mergeBudget(Budget value)
Required. The updated budget object.
The budget to update is specified by the budget name in the budget.
.google.cloud.billing.budgets.v1beta1.Budget budget = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Budget
|
mergeFrom(UpdateBudgetRequest other)
public UpdateBudgetRequest.Builder mergeFrom(UpdateBudgetRequest other)
public UpdateBudgetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateBudgetRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateBudgetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateBudgetRequest.Builder mergeUpdateMask(FieldMask value)
Optional. Indicates which fields in the provided budget to update.
Read-only fields (such as name
) cannot be changed. If this is not
provided, then only fields with non-default values from the request are
updated. See
https://developers.google.com/protocol-buffers/docs/proto3#default for more
details about default values.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
setBudget(Budget value)
public UpdateBudgetRequest.Builder setBudget(Budget value)
Required. The updated budget object.
The budget to update is specified by the budget name in the budget.
.google.cloud.billing.budgets.v1beta1.Budget budget = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Budget
|
setBudget(Budget.Builder builderForValue)
public UpdateBudgetRequest.Builder setBudget(Budget.Builder builderForValue)
Required. The updated budget object.
The budget to update is specified by the budget name in the budget.
.google.cloud.billing.budgets.v1beta1.Budget budget = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateBudgetRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateBudgetRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateBudgetRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateBudgetRequest.Builder setUpdateMask(FieldMask value)
Optional. Indicates which fields in the provided budget to update.
Read-only fields (such as name
) cannot be changed. If this is not
provided, then only fields with non-default values from the request are
updated. See
https://developers.google.com/protocol-buffers/docs/proto3#default for more
details about default values.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateBudgetRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Optional. Indicates which fields in the provided budget to update.
Read-only fields (such as name
) cannot be changed. If this is not
provided, then only fields with non-default values from the request are
updated. See
https://developers.google.com/protocol-buffers/docs/proto3#default for more
details about default values.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
builderForValue |
Builder
|