Class DeleteBudgetRequest.Builder

public static final class DeleteBudgetRequest.Builder extends GeneratedMessageV3.Builder<DeleteBudgetRequest.Builder> implements DeleteBudgetRequestOrBuilder

Request for DeleteBudget

Protobuf type google.cloud.billing.budgets.v1.DeleteBudgetRequest

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteBudgetRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteBudgetRequest.Builder
Overrides

build()

public DeleteBudgetRequest build()
Returns
TypeDescription
DeleteBudgetRequest

buildPartial()

public DeleteBudgetRequest buildPartial()
Returns
TypeDescription
DeleteBudgetRequest

clear()

public DeleteBudgetRequest.Builder clear()
Returns
TypeDescription
DeleteBudgetRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteBudgetRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeleteBudgetRequest.Builder
Overrides

clearName()

public DeleteBudgetRequest.Builder clearName()

Required. Name of the budget to delete. Values are of the form billingAccounts/{billingAccountId}/budgets/{budgetId}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
DeleteBudgetRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteBudgetRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeleteBudgetRequest.Builder
Overrides

clone()

public DeleteBudgetRequest.Builder clone()
Returns
TypeDescription
DeleteBudgetRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteBudgetRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteBudgetRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Name of the budget to delete. Values are of the form billingAccounts/{billingAccountId}/budgets/{budgetId}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the budget to delete. Values are of the form billingAccounts/{billingAccountId}/budgets/{budgetId}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteBudgetRequest other)

public DeleteBudgetRequest.Builder mergeFrom(DeleteBudgetRequest other)
Parameter
NameDescription
otherDeleteBudgetRequest
Returns
TypeDescription
DeleteBudgetRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteBudgetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteBudgetRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteBudgetRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteBudgetRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteBudgetRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteBudgetRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteBudgetRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteBudgetRequest.Builder
Overrides

setName(String value)

public DeleteBudgetRequest.Builder setName(String value)

Required. Name of the budget to delete. Values are of the form billingAccounts/{billingAccountId}/budgets/{budgetId}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteBudgetRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteBudgetRequest.Builder setNameBytes(ByteString value)

Required. Name of the budget to delete. Values are of the form billingAccounts/{billingAccountId}/budgets/{budgetId}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteBudgetRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeleteBudgetRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteBudgetRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteBudgetRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteBudgetRequest.Builder
Overrides