Package com.google.cloud.batch.v1alpha
Interface ResourceAllowanceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourceAllowance,ResourceAllowance.Builder
@Generated
public interface ResourceAllowanceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Optional.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Deprecated.intOptional.Optional.getLabelsOrDefault(String key, String defaultValue) Optional.getLabelsOrThrow(String key) Optional.getName()Identifier.com.google.protobuf.ByteStringIdentifier.getNotifications(int index) Optional.intOptional.Optional.getNotificationsOrBuilder(int index) Optional.List<? extends NotificationOrBuilder>Optional.getUid()Output only.com.google.protobuf.ByteStringOutput only.The detail of usage resource allowance.The detail of usage resource allowance.booleanOutput only.booleanThe detail of usage resource allowance.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasUsageResourceAllowance
boolean hasUsageResourceAllowance()The detail of usage resource allowance.
.google.cloud.batch.v1alpha.UsageResourceAllowance usage_resource_allowance = 4;- Returns:
- Whether the usageResourceAllowance field is set.
-
getUsageResourceAllowance
UsageResourceAllowance getUsageResourceAllowance()The detail of usage resource allowance.
.google.cloud.batch.v1alpha.UsageResourceAllowance usage_resource_allowance = 4;- Returns:
- The usageResourceAllowance.
-
getUsageResourceAllowanceOrBuilder
UsageResourceAllowanceOrBuilder getUsageResourceAllowanceOrBuilder()The detail of usage resource allowance.
.google.cloud.batch.v1alpha.UsageResourceAllowance usage_resource_allowance = 4; -
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
getUid
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:
- The uid.
-
getUidBytes
com.google.protobuf.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:
- The bytes for uid.
-
hasCreateTime
boolean hasCreateTime()Output only. Time when the ResourceAllowance was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Time when the ResourceAllowance was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Time when the ResourceAllowance was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getLabelsCount
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]; -
containsLabels
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]; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
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]; -
getLabelsOrDefault
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]; -
getLabelsOrThrow
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]; -
getNotificationsList
List<Notification> getNotificationsList()Optional. Notification configurations.
repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getNotifications
Optional. Notification configurations.
repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getNotificationsCount
int getNotificationsCount()Optional. Notification configurations.
repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getNotificationsOrBuilderList
List<? extends NotificationOrBuilder> getNotificationsOrBuilderList()Optional. Notification configurations.
repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getNotificationsOrBuilder
Optional. Notification configurations.
repeated .google.cloud.batch.v1alpha.Notification notifications = 6 [(.google.api.field_behavior) = OPTIONAL]; -
getResourceAllowanceCase
ResourceAllowance.ResourceAllowanceCase getResourceAllowanceCase()
-