Class ResourceAllowance.Builder (0.46.0)

public static final class ResourceAllowance.Builder extends GeneratedMessageV3.Builder<ResourceAllowance.Builder> implements ResourceAllowanceOrBuilder

The Resource Allowance description for Cloud Batch. Only one Resource Allowance is supported now under a specific location and project.

Protobuf type google.cloud.batch.v1alpha.ResourceAllowance

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllNotifications(Iterable<? extends Notification> values)

public ResourceAllowance.Builder addAllNotifications(Iterable<? extends Notification> values)

Optional. Notification configurations.

repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.batch.v1alpha.Notification>
Returns
Type Description
ResourceAllowance.Builder

addNotifications(Notification value)

public ResourceAllowance.Builder addNotifications(Notification value)

Optional. Notification configurations.

repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Notification
Returns
Type Description
ResourceAllowance.Builder

addNotifications(Notification.Builder builderForValue)

public ResourceAllowance.Builder addNotifications(Notification.Builder builderForValue)

Optional. Notification configurations.

repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Notification.Builder
Returns
Type Description
ResourceAllowance.Builder

addNotifications(int index, Notification value)

public ResourceAllowance.Builder addNotifications(int index, Notification value)

Optional. Notification configurations.

repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Notification
Returns
Type Description
ResourceAllowance.Builder

addNotifications(int index, Notification.Builder builderForValue)

public ResourceAllowance.Builder addNotifications(int index, Notification.Builder builderForValue)

Optional. Notification configurations.

repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Notification.Builder
Returns
Type Description
ResourceAllowance.Builder

addNotificationsBuilder()

public Notification.Builder addNotificationsBuilder()

Optional. Notification configurations.

repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Notification.Builder

addNotificationsBuilder(int index)

public Notification.Builder addNotificationsBuilder(int index)

Optional. Notification configurations.

repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Notification.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResourceAllowance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ResourceAllowance.Builder
Overrides

build()

public ResourceAllowance build()
Returns
Type Description
ResourceAllowance

buildPartial()

public ResourceAllowance buildPartial()
Returns
Type Description
ResourceAllowance

clear()

public ResourceAllowance.Builder clear()
Returns
Type Description
ResourceAllowance.Builder
Overrides

clearCreateTime()

public ResourceAllowance.Builder clearCreateTime()

Output only. Time when the ResourceAllowance was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceAllowance.Builder

clearField(Descriptors.FieldDescriptor field)

public ResourceAllowance.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ResourceAllowance.Builder
Overrides

clearLabels()

public ResourceAllowance.Builder clearLabels()
Returns
Type Description
ResourceAllowance.Builder

clearName()

public ResourceAllowance.Builder clearName()

Identifier. ResourceAllowance name. For example: "projects/123456/locations/us-central1/resourceAllowances/resource-allowance-1".

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ResourceAllowance.Builder

This builder for chaining.

clearNotifications()

public ResourceAllowance.Builder clearNotifications()

Optional. Notification configurations.

repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ResourceAllowance.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ResourceAllowance.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ResourceAllowance.Builder
Overrides

clearResourceAllowance()

public ResourceAllowance.Builder clearResourceAllowance()
Returns
Type Description
ResourceAllowance.Builder

clearUid()

public ResourceAllowance.Builder clearUid()

Output only. A system generated unique ID (in UUID4 format) for the ResourceAllowance.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
ResourceAllowance.Builder

This builder for chaining.

clearUsageResourceAllowance()

public ResourceAllowance.Builder clearUsageResourceAllowance()

The detail of usage resource allowance.

.google.cloud.batch.v1alpha.UsageResourceAllowance usage_resource_allowance = 4;

Returns
Type Description
ResourceAllowance.Builder

clone()

public ResourceAllowance.Builder clone()
Returns
Type Description
ResourceAllowance.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Optional. Labels are attributes that can be set and used by both the user and by Batch. Labels must meet the following constraints:

  • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
  • All characters must use UTF-8 encoding, and international characters are allowed.
  • Keys must start with a lowercase letter or international character.
  • Each resource is limited to a maximum of 64 labels.

    Both keys and values are additionally constrained to be <= 128 bytes.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getCreateTime()

public Timestamp getCreateTime()

Output only. Time when the ResourceAllowance was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Time when the ResourceAllowance was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time when the ResourceAllowance was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ResourceAllowance getDefaultInstanceForType()
Returns
Type Description
ResourceAllowance

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. Labels are attributes that can be set and used by both the user and by Batch. Labels must meet the following constraints:

  • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
  • All characters must use UTF-8 encoding, and international characters are allowed.
  • Keys must start with a lowercase letter or international character.
  • Each resource is limited to a maximum of 64 labels.

    Both keys and values are additionally constrained to be <= 128 bytes.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. Labels are attributes that can be set and used by both the user and by Batch. Labels must meet the following constraints:

  • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
  • All characters must use UTF-8 encoding, and international characters are allowed.
  • Keys must start with a lowercase letter or international character.
  • Each resource is limited to a maximum of 64 labels.

    Both keys and values are additionally constrained to be <= 128 bytes.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Optional. Labels are attributes that can be set and used by both the user and by Batch. Labels must meet the following constraints:

  • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
  • All characters must use UTF-8 encoding, and international characters are allowed.
  • Keys must start with a lowercase letter or international character.
  • Each resource is limited to a maximum of 64 labels.

    Both keys and values are additionally constrained to be <= 128 bytes.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. Labels are attributes that can be set and used by both the user and by Batch. Labels must meet the following constraints:

  • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
  • All characters must use UTF-8 encoding, and international characters are allowed.
  • Keys must start with a lowercase letter or international character.
  • Each resource is limited to a maximum of 64 labels.

    Both keys and values are additionally constrained to be <= 128 bytes.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

Identifier. ResourceAllowance name. For example: "projects/123456/locations/us-central1/resourceAllowances/resource-allowance-1".

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. ResourceAllowance name. For example: "projects/123456/locations/us-central1/resourceAllowances/resource-allowance-1".

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getNotifications(int index)

public Notification getNotifications(int index)

Optional. Notification configurations.

repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Notification

getNotificationsBuilder(int index)

public Notification.Builder getNotificationsBuilder(int index)

Optional. Notification configurations.

repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Notification.Builder

getNotificationsBuilderList()

public List<Notification.Builder> getNotificationsBuilderList()

Optional. Notification configurations.

repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getNotificationsCount()

public int getNotificationsCount()

Optional. Notification configurations.

repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getNotificationsList()

public List<Notification> getNotificationsList()

Optional. Notification configurations.

repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Notification>

getNotificationsOrBuilder(int index)

public NotificationOrBuilder getNotificationsOrBuilder(int index)

Optional. Notification configurations.

repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
NotificationOrBuilder

getNotificationsOrBuilderList()

public List<? extends NotificationOrBuilder> getNotificationsOrBuilderList()

Optional. Notification configurations.

repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.batch.v1alpha.NotificationOrBuilder>

getResourceAllowanceCase()

public ResourceAllowance.ResourceAllowanceCase getResourceAllowanceCase()
Returns
Type Description
ResourceAllowance.ResourceAllowanceCase

getUid()

public String getUid()

Output only. A system generated unique ID (in UUID4 format) for the ResourceAllowance.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
String

The uid.

getUidBytes()

public ByteString getUidBytes()

Output only. A system generated unique ID (in UUID4 format) for the ResourceAllowance.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for uid.

getUsageResourceAllowance()

public UsageResourceAllowance getUsageResourceAllowance()

The detail of usage resource allowance.

.google.cloud.batch.v1alpha.UsageResourceAllowance usage_resource_allowance = 4;

Returns
Type Description
UsageResourceAllowance

The usageResourceAllowance.

getUsageResourceAllowanceBuilder()

public UsageResourceAllowance.Builder getUsageResourceAllowanceBuilder()

The detail of usage resource allowance.

.google.cloud.batch.v1alpha.UsageResourceAllowance usage_resource_allowance = 4;

Returns
Type Description
UsageResourceAllowance.Builder

getUsageResourceAllowanceOrBuilder()

public UsageResourceAllowanceOrBuilder getUsageResourceAllowanceOrBuilder()

The detail of usage resource allowance.

.google.cloud.batch.v1alpha.UsageResourceAllowance usage_resource_allowance = 4;

Returns
Type Description
UsageResourceAllowanceOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Time when the ResourceAllowance was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasUsageResourceAllowance()

public boolean hasUsageResourceAllowance()

The detail of usage resource allowance.

.google.cloud.batch.v1alpha.UsageResourceAllowance usage_resource_allowance = 4;

Returns
Type Description
boolean

Whether the usageResourceAllowance field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public ResourceAllowance.Builder mergeCreateTime(Timestamp value)

Output only. Time when the ResourceAllowance was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ResourceAllowance.Builder

mergeFrom(ResourceAllowance other)

public ResourceAllowance.Builder mergeFrom(ResourceAllowance other)
Parameter
Name Description
other ResourceAllowance
Returns
Type Description
ResourceAllowance.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ResourceAllowance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ResourceAllowance.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ResourceAllowance.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ResourceAllowance.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ResourceAllowance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ResourceAllowance.Builder
Overrides

mergeUsageResourceAllowance(UsageResourceAllowance value)

public ResourceAllowance.Builder mergeUsageResourceAllowance(UsageResourceAllowance value)

The detail of usage resource allowance.

.google.cloud.batch.v1alpha.UsageResourceAllowance usage_resource_allowance = 4;

Parameter
Name Description
value UsageResourceAllowance
Returns
Type Description
ResourceAllowance.Builder

putAllLabels(Map<String,String> values)

public ResourceAllowance.Builder putAllLabels(Map<String,String> values)

Optional. Labels are attributes that can be set and used by both the user and by Batch. Labels must meet the following constraints:

  • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
  • All characters must use UTF-8 encoding, and international characters are allowed.
  • Keys must start with a lowercase letter or international character.
  • Each resource is limited to a maximum of 64 labels.

    Both keys and values are additionally constrained to be <= 128 bytes.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
ResourceAllowance.Builder

putLabels(String key, String value)

public ResourceAllowance.Builder putLabels(String key, String value)

Optional. Labels are attributes that can be set and used by both the user and by Batch. Labels must meet the following constraints:

  • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
  • All characters must use UTF-8 encoding, and international characters are allowed.
  • Keys must start with a lowercase letter or international character.
  • Each resource is limited to a maximum of 64 labels.

    Both keys and values are additionally constrained to be <= 128 bytes.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
ResourceAllowance.Builder

removeLabels(String key)

public ResourceAllowance.Builder removeLabels(String key)

Optional. Labels are attributes that can be set and used by both the user and by Batch. Labels must meet the following constraints:

  • Keys and values can contain only lowercase letters, numeric characters, underscores, and dashes.
  • All characters must use UTF-8 encoding, and international characters are allowed.
  • Keys must start with a lowercase letter or international character.
  • Each resource is limited to a maximum of 64 labels.

    Both keys and values are additionally constrained to be <= 128 bytes.

map<string, string> labels = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
ResourceAllowance.Builder

removeNotifications(int index)

public ResourceAllowance.Builder removeNotifications(int index)

Optional. Notification configurations.

repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ResourceAllowance.Builder

setCreateTime(Timestamp value)

public ResourceAllowance.Builder setCreateTime(Timestamp value)

Output only. Time when the ResourceAllowance was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ResourceAllowance.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ResourceAllowance.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Time when the ResourceAllowance was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ResourceAllowance.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ResourceAllowance.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ResourceAllowance.Builder
Overrides

setName(String value)

public ResourceAllowance.Builder setName(String value)

Identifier. ResourceAllowance name. For example: "projects/123456/locations/us-central1/resourceAllowances/resource-allowance-1".

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ResourceAllowance.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ResourceAllowance.Builder setNameBytes(ByteString value)

Identifier. ResourceAllowance name. For example: "projects/123456/locations/us-central1/resourceAllowances/resource-allowance-1".

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ResourceAllowance.Builder

This builder for chaining.

setNotifications(int index, Notification value)

public ResourceAllowance.Builder setNotifications(int index, Notification value)

Optional. Notification configurations.

repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Notification
Returns
Type Description
ResourceAllowance.Builder

setNotifications(int index, Notification.Builder builderForValue)

public ResourceAllowance.Builder setNotifications(int index, Notification.Builder builderForValue)

Optional. Notification configurations.

repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Notification.Builder
Returns
Type Description
ResourceAllowance.Builder

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

public ResourceAllowance.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ResourceAllowance.Builder
Overrides

setUid(String value)

public ResourceAllowance.Builder setUid(String value)

Output only. A system generated unique ID (in UUID4 format) for the ResourceAllowance.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Parameter
Name Description
value String

The uid to set.

Returns
Type Description
ResourceAllowance.Builder

This builder for chaining.

setUidBytes(ByteString value)

public ResourceAllowance.Builder setUidBytes(ByteString value)

Output only. A system generated unique ID (in UUID4 format) for the ResourceAllowance.

string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }

Parameter
Name Description
value ByteString

The bytes for uid to set.

Returns
Type Description
ResourceAllowance.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ResourceAllowance.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ResourceAllowance.Builder
Overrides

setUsageResourceAllowance(UsageResourceAllowance value)

public ResourceAllowance.Builder setUsageResourceAllowance(UsageResourceAllowance value)

The detail of usage resource allowance.

.google.cloud.batch.v1alpha.UsageResourceAllowance usage_resource_allowance = 4;

Parameter
Name Description
value UsageResourceAllowance
Returns
Type Description
ResourceAllowance.Builder

setUsageResourceAllowance(UsageResourceAllowance.Builder builderForValue)

public ResourceAllowance.Builder setUsageResourceAllowance(UsageResourceAllowance.Builder builderForValue)

The detail of usage resource allowance.

.google.cloud.batch.v1alpha.UsageResourceAllowance usage_resource_allowance = 4;

Parameter
Name Description
builderForValue UsageResourceAllowance.Builder
Returns
Type Description
ResourceAllowance.Builder