- 2.79.0 (latest)
- 2.77.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.71.0
- 2.69.0
- 2.68.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.2.6
public static final class Reservation.Standard.Builder extends GeneratedMessageV3.Builder<Reservation.Standard.Builder> implements Reservation.StandardOrBuilderDetails of a standard reservation.
 Protobuf type google.cloud.tpu.v2alpha1.Reservation.Standard
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Reservation.Standard.BuilderImplements
Reservation.StandardOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Reservation.Standard.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | |
build()
public Reservation.Standard build()| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard | |
buildPartial()
public Reservation.Standard buildPartial()| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard | |
clear()
public Reservation.Standard.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | |
clearCapacityUnits()
public Reservation.Standard.Builder clearCapacityUnits()Capacity units this reservation is measured in.
 .google.cloud.tpu.v2alpha1.Reservation.Standard.CapacityUnits capacity_units = 2;
 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public Reservation.Standard.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | |
clearInterval()
public Reservation.Standard.Builder clearInterval()The start and end time of the reservation.
 .google.type.Interval interval = 4;
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | |
clearOneof(Descriptors.OneofDescriptor oneof)
public Reservation.Standard.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | |
clearResourceType()
public Reservation.Standard.Builder clearResourceType()The resource type of the reservation.
 string resource_type = 3;
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | This builder for chaining. | 
clearSize()
public Reservation.Standard.Builder clearSize()The size of the reservation, in the units specified in the 'capacity_units' field.
 int32 size = 1;
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | This builder for chaining. | 
clearUsage()
public Reservation.Standard.Builder clearUsage()The current usage of the reservation.
 .google.cloud.tpu.v2alpha1.Reservation.Standard.Usage usage = 5;
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | |
clone()
public Reservation.Standard.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | |
getCapacityUnits()
public Reservation.Standard.CapacityUnits getCapacityUnits()Capacity units this reservation is measured in.
 .google.cloud.tpu.v2alpha1.Reservation.Standard.CapacityUnits capacity_units = 2;
 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.CapacityUnits | The capacityUnits. | 
getCapacityUnitsValue()
public int getCapacityUnitsValue()Capacity units this reservation is measured in.
 .google.cloud.tpu.v2alpha1.Reservation.Standard.CapacityUnits capacity_units = 2;
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for capacityUnits. | 
getDefaultInstanceForType()
public Reservation.Standard getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getInterval()
public Interval getInterval()The start and end time of the reservation.
 .google.type.Interval interval = 4;
| Returns | |
|---|---|
| Type | Description | 
| com.google.type.Interval | The interval. | 
getIntervalBuilder()
public Interval.Builder getIntervalBuilder()The start and end time of the reservation.
 .google.type.Interval interval = 4;
| Returns | |
|---|---|
| Type | Description | 
| com.google.type.Interval.Builder | |
getIntervalOrBuilder()
public IntervalOrBuilder getIntervalOrBuilder()The start and end time of the reservation.
 .google.type.Interval interval = 4;
| Returns | |
|---|---|
| Type | Description | 
| com.google.type.IntervalOrBuilder | |
getResourceType()
public String getResourceType()The resource type of the reservation.
 string resource_type = 3;
| Returns | |
|---|---|
| Type | Description | 
| String | The resourceType. | 
getResourceTypeBytes()
public ByteString getResourceTypeBytes()The resource type of the reservation.
 string resource_type = 3;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for resourceType. | 
getSize()
public int getSize()The size of the reservation, in the units specified in the 'capacity_units' field.
 int32 size = 1;
| Returns | |
|---|---|
| Type | Description | 
| int | The size. | 
getUsage()
public Reservation.Standard.Usage getUsage()The current usage of the reservation.
 .google.cloud.tpu.v2alpha1.Reservation.Standard.Usage usage = 5;
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Usage | The usage. | 
getUsageBuilder()
public Reservation.Standard.Usage.Builder getUsageBuilder()The current usage of the reservation.
 .google.cloud.tpu.v2alpha1.Reservation.Standard.Usage usage = 5;
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Usage.Builder | |
getUsageOrBuilder()
public Reservation.Standard.UsageOrBuilder getUsageOrBuilder()The current usage of the reservation.
 .google.cloud.tpu.v2alpha1.Reservation.Standard.Usage usage = 5;
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.UsageOrBuilder | |
hasInterval()
public boolean hasInterval()The start and end time of the reservation.
 .google.type.Interval interval = 4;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the interval field is set. | 
hasUsage()
public boolean hasUsage()The current usage of the reservation.
 .google.cloud.tpu.v2alpha1.Reservation.Standard.Usage usage = 5;
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the usage field is set. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(Reservation.Standard other)
public Reservation.Standard.Builder mergeFrom(Reservation.Standard other)| Parameter | |
|---|---|
| Name | Description | 
| other | Reservation.Standard | 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Reservation.Standard.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public Reservation.Standard.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | |
mergeInterval(Interval value)
public Reservation.Standard.Builder mergeInterval(Interval value)The start and end time of the reservation.
 .google.type.Interval interval = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | com.google.type.Interval | 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Reservation.Standard.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | |
mergeUsage(Reservation.Standard.Usage value)
public Reservation.Standard.Builder mergeUsage(Reservation.Standard.Usage value)The current usage of the reservation.
 .google.cloud.tpu.v2alpha1.Reservation.Standard.Usage usage = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | Reservation.Standard.Usage | 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | |
setCapacityUnits(Reservation.Standard.CapacityUnits value)
public Reservation.Standard.Builder setCapacityUnits(Reservation.Standard.CapacityUnits value)Capacity units this reservation is measured in.
 .google.cloud.tpu.v2alpha1.Reservation.Standard.CapacityUnits capacity_units = 2;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | Reservation.Standard.CapacityUnitsThe capacityUnits to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | This builder for chaining. | 
setCapacityUnitsValue(int value)
public Reservation.Standard.Builder setCapacityUnitsValue(int value)Capacity units this reservation is measured in.
 .google.cloud.tpu.v2alpha1.Reservation.Standard.CapacityUnits capacity_units = 2;
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for capacityUnits to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public Reservation.Standard.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | |
setInterval(Interval value)
public Reservation.Standard.Builder setInterval(Interval value)The start and end time of the reservation.
 .google.type.Interval interval = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | com.google.type.Interval | 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | |
setInterval(Interval.Builder builderForValue)
public Reservation.Standard.Builder setInterval(Interval.Builder builderForValue)The start and end time of the reservation.
 .google.type.Interval interval = 4;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | com.google.type.Interval.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Reservation.Standard.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | |
setResourceType(String value)
public Reservation.Standard.Builder setResourceType(String value)The resource type of the reservation.
 string resource_type = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe resourceType to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | This builder for chaining. | 
setResourceTypeBytes(ByteString value)
public Reservation.Standard.Builder setResourceTypeBytes(ByteString value)The resource type of the reservation.
 string resource_type = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for resourceType to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | This builder for chaining. | 
setSize(int value)
public Reservation.Standard.Builder setSize(int value)The size of the reservation, in the units specified in the 'capacity_units' field.
 int32 size = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe size to set. | 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final Reservation.Standard.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | |
setUsage(Reservation.Standard.Usage value)
public Reservation.Standard.Builder setUsage(Reservation.Standard.Usage value)The current usage of the reservation.
 .google.cloud.tpu.v2alpha1.Reservation.Standard.Usage usage = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | Reservation.Standard.Usage | 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | |
setUsage(Reservation.Standard.Usage.Builder builderForValue)
public Reservation.Standard.Builder setUsage(Reservation.Standard.Usage.Builder builderForValue)The current usage of the reservation.
 .google.cloud.tpu.v2alpha1.Reservation.Standard.Usage usage = 5;
| Parameter | |
|---|---|
| Name | Description | 
| builderForValue | Reservation.Standard.Usage.Builder | 
| Returns | |
|---|---|
| Type | Description | 
| Reservation.Standard.Builder | |