Package com.google.cloud.compute.v1
Class FutureReservationStatusExistingMatchingUsageInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FutureReservationStatusExistingMatchingUsageInfo.Builder>
com.google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo.Builder
- All Implemented Interfaces:
FutureReservationStatusExistingMatchingUsageInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FutureReservationStatusExistingMatchingUsageInfo
public static final class FutureReservationStatusExistingMatchingUsageInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FutureReservationStatusExistingMatchingUsageInfo.Builder>
implements FutureReservationStatusExistingMatchingUsageInfoOrBuilder
[Output Only] Represents the existing matching usage for the future reservation.Protobuf type
google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.longgetCount()Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.booleanhasCount()Output only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCount(long value) Output only.setTimestamp(String value) Output only.setTimestampBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FutureReservationStatusExistingMatchingUsageInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FutureReservationStatusExistingMatchingUsageInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FutureReservationStatusExistingMatchingUsageInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public FutureReservationStatusExistingMatchingUsageInfo.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FutureReservationStatusExistingMatchingUsageInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FutureReservationStatusExistingMatchingUsageInfo.Builder>
-
mergeFrom
public FutureReservationStatusExistingMatchingUsageInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FutureReservationStatusExistingMatchingUsageInfo.Builder>- Throws:
IOException
-
hasCount
public boolean hasCount()Output only. Count to represent min(FR total_count, matching_reserved_capacity+matching_unreserved_instances)
optional int64 count = 94851343;- Specified by:
hasCountin interfaceFutureReservationStatusExistingMatchingUsageInfoOrBuilder- Returns:
- Whether the count field is set.
-
getCount
public long getCount()Output only. Count to represent min(FR total_count, matching_reserved_capacity+matching_unreserved_instances)
optional int64 count = 94851343;- Specified by:
getCountin interfaceFutureReservationStatusExistingMatchingUsageInfoOrBuilder- Returns:
- The count.
-
setCount
Output only. Count to represent min(FR total_count, matching_reserved_capacity+matching_unreserved_instances)
optional int64 count = 94851343;- Parameters:
value- The count to set.- Returns:
- This builder for chaining.
-
clearCount
Output only. Count to represent min(FR total_count, matching_reserved_capacity+matching_unreserved_instances)
optional int64 count = 94851343;- Returns:
- This builder for chaining.
-
hasTimestamp
public boolean hasTimestamp()Output only. Timestamp when the matching usage was calculated
optional string timestamp = 55126294;- Specified by:
hasTimestampin interfaceFutureReservationStatusExistingMatchingUsageInfoOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
Output only. Timestamp when the matching usage was calculated
optional string timestamp = 55126294;- Specified by:
getTimestampin interfaceFutureReservationStatusExistingMatchingUsageInfoOrBuilder- Returns:
- The timestamp.
-
getTimestampBytes
public com.google.protobuf.ByteString getTimestampBytes()Output only. Timestamp when the matching usage was calculated
optional string timestamp = 55126294;- Specified by:
getTimestampBytesin interfaceFutureReservationStatusExistingMatchingUsageInfoOrBuilder- Returns:
- The bytes for timestamp.
-
setTimestamp
Output only. Timestamp when the matching usage was calculated
optional string timestamp = 55126294;- Parameters:
value- The timestamp to set.- Returns:
- This builder for chaining.
-
clearTimestamp
Output only. Timestamp when the matching usage was calculated
optional string timestamp = 55126294;- Returns:
- This builder for chaining.
-
setTimestampBytes
public FutureReservationStatusExistingMatchingUsageInfo.Builder setTimestampBytes(com.google.protobuf.ByteString value) Output only. Timestamp when the matching usage was calculated
optional string timestamp = 55126294;- Parameters:
value- The bytes for timestamp to set.- Returns:
- This builder for chaining.
-