public static final class FutureReservationStatusExistingMatchingUsageInfo.Builder extends GeneratedMessage.Builder<FutureReservationStatusExistingMatchingUsageInfo.Builder> implements FutureReservationStatusExistingMatchingUsageInfoOrBuilder[Output Only] Represents the existing matching usage for the future reservation.
Protobuf type google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > FutureReservationStatusExistingMatchingUsageInfo.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public FutureReservationStatusExistingMatchingUsageInfo build()| Returns | |
|---|---|
| Type | Description |
FutureReservationStatusExistingMatchingUsageInfo |
|
buildPartial()
public FutureReservationStatusExistingMatchingUsageInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
FutureReservationStatusExistingMatchingUsageInfo |
|
clear()
public FutureReservationStatusExistingMatchingUsageInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
FutureReservationStatusExistingMatchingUsageInfo.Builder |
|
clearCount()
public FutureReservationStatusExistingMatchingUsageInfo.Builder clearCount()Output only. Count to represent min(FR total_count, matching_reserved_capacity+matching_unreserved_instances)
optional int64 count = 94851343;
| Returns | |
|---|---|
| Type | Description |
FutureReservationStatusExistingMatchingUsageInfo.Builder |
This builder for chaining. |
clearTimestamp()
public FutureReservationStatusExistingMatchingUsageInfo.Builder clearTimestamp()Output only. Timestamp when the matching usage was calculated
optional string timestamp = 55126294;
| Returns | |
|---|---|
| Type | Description |
FutureReservationStatusExistingMatchingUsageInfo.Builder |
This builder for chaining. |
getCount()
public long getCount()Output only. Count to represent min(FR total_count, matching_reserved_capacity+matching_unreserved_instances)
optional int64 count = 94851343;
| Returns | |
|---|---|
| Type | Description |
long |
The count. |
getDefaultInstanceForType()
public FutureReservationStatusExistingMatchingUsageInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FutureReservationStatusExistingMatchingUsageInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getTimestamp()
public String getTimestamp()Output only. Timestamp when the matching usage was calculated
optional string timestamp = 55126294;
| Returns | |
|---|---|
| Type | Description |
String |
The timestamp. |
getTimestampBytes()
public ByteString getTimestampBytes()Output only. Timestamp when the matching usage was calculated
optional string timestamp = 55126294;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for timestamp. |
hasCount()
public boolean hasCount()Output only. Count to represent min(FR total_count, matching_reserved_capacity+matching_unreserved_instances)
optional int64 count = 94851343;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the count field is set. |
hasTimestamp()
public boolean hasTimestamp()Output only. Timestamp when the matching usage was calculated
optional string timestamp = 55126294;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the timestamp field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FutureReservationStatusExistingMatchingUsageInfo other)
public FutureReservationStatusExistingMatchingUsageInfo.Builder mergeFrom(FutureReservationStatusExistingMatchingUsageInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
FutureReservationStatusExistingMatchingUsageInfo |
| Returns | |
|---|---|
| Type | Description |
FutureReservationStatusExistingMatchingUsageInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FutureReservationStatusExistingMatchingUsageInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FutureReservationStatusExistingMatchingUsageInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FutureReservationStatusExistingMatchingUsageInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FutureReservationStatusExistingMatchingUsageInfo.Builder |
|
setCount(long value)
public FutureReservationStatusExistingMatchingUsageInfo.Builder setCount(long value)Output only. Count to represent min(FR total_count, matching_reserved_capacity+matching_unreserved_instances)
optional int64 count = 94851343;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe count to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservationStatusExistingMatchingUsageInfo.Builder |
This builder for chaining. |
setTimestamp(String value)
public FutureReservationStatusExistingMatchingUsageInfo.Builder setTimestamp(String value)Output only. Timestamp when the matching usage was calculated
optional string timestamp = 55126294;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe timestamp to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservationStatusExistingMatchingUsageInfo.Builder |
This builder for chaining. |
setTimestampBytes(ByteString value)
public FutureReservationStatusExistingMatchingUsageInfo.Builder setTimestampBytes(ByteString value)Output only. Timestamp when the matching usage was calculated
optional string timestamp = 55126294;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for timestamp to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservationStatusExistingMatchingUsageInfo.Builder |
This builder for chaining. |