public static final class UpdateBudgetRequest.Builder extends GeneratedMessageV3.Builder<UpdateBudgetRequest.Builder> implements UpdateBudgetRequestOrBuilder
Request for UpdateBudget
Protobuf type google.cloud.billing.budgets.v1.UpdateBudgetRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateBudgetRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateBudgetRequest build()
Returns
buildPartial()
public UpdateBudgetRequest buildPartial()
Returns
clear()
public UpdateBudgetRequest.Builder clear()
Returns
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.v1.Budget budget = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateBudgetRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateBudgetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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];
Returns
clone()
public UpdateBudgetRequest.Builder clone()
Returns
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.v1.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.v1.Budget budget = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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.v1.Budget budget = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public UpdateBudgetRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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];
Returns
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];
Returns
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.v1.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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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.v1.Budget budget = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(UpdateBudgetRequest other)
public UpdateBudgetRequest.Builder mergeFrom(UpdateBudgetRequest other)
Parameter
Returns
public UpdateBudgetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateBudgetRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateBudgetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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];
Parameter
Returns
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.v1.Budget budget = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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.v1.Budget budget = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateBudgetRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateBudgetRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateBudgetRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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];
Parameter
Returns
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
|
Returns