public static final class GetProjectBillingInfoRequest.Builder extends GeneratedMessageV3.Builder<GetProjectBillingInfoRequest.Builder> implements GetProjectBillingInfoRequestOrBuilder
Request message for GetProjectBillingInfo
.
Protobuf type google.cloud.billing.v1.GetProjectBillingInfoRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GetProjectBillingInfoRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GetProjectBillingInfoRequest build()
Returns
buildPartial()
public GetProjectBillingInfoRequest buildPartial()
Returns
clear()
public GetProjectBillingInfoRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetProjectBillingInfoRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public GetProjectBillingInfoRequest.Builder clearName()
Required. The resource name of the project for which billing information is
retrieved. For example, projects/tokyo-rain-123
.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GetProjectBillingInfoRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public GetProjectBillingInfoRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GetProjectBillingInfoRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Required. The resource name of the project for which billing information is
retrieved. For example, projects/tokyo-rain-123
.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. The resource name of the project for which billing information is
retrieved. For example, projects/tokyo-rain-123
.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GetProjectBillingInfoRequest other)
public GetProjectBillingInfoRequest.Builder mergeFrom(GetProjectBillingInfoRequest other)
Parameter
Returns
public GetProjectBillingInfoRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GetProjectBillingInfoRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetProjectBillingInfoRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetProjectBillingInfoRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public GetProjectBillingInfoRequest.Builder setName(String value)
Required. The resource name of the project for which billing information is
retrieved. For example, projects/tokyo-rain-123
.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public GetProjectBillingInfoRequest.Builder setNameBytes(ByteString value)
Required. The resource name of the project for which billing information is
retrieved. For example, projects/tokyo-rain-123
.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GetProjectBillingInfoRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetProjectBillingInfoRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides