Package com.google.cloud.compute.v1
Class ReservationBlockPhysicalTopologyInstance.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReservationBlockPhysicalTopologyInstance.Builder>
com.google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstance.Builder
- All Implemented Interfaces:
ReservationBlockPhysicalTopologyInstanceOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReservationBlockPhysicalTopologyInstance
public static final class ReservationBlockPhysicalTopologyInstance.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ReservationBlockPhysicalTopologyInstance.Builder>
implements ReservationBlockPhysicalTopologyInstanceOrBuilder
The instances information for a given BlockProtobuf type
google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstance-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The InstanceId of the instanceOutput only.Project where the instance livesstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongThe InstanceId of the instanceOutput only.Output only.Output only.longProject where the instance livesbooleanThe InstanceId of the instancebooleanOutput only.booleanProject where the instance livesprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.setInstanceId(long value) The InstanceId of the instanceOutput only.setPhysicalHostTopology(ReservationBlockPhysicalTopologyInstancePhysicalHostTopology.Builder builderForValue) Output only.setProjectId(long value) Project where the instance livesMethods 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<ReservationBlockPhysicalTopologyInstance.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<ReservationBlockPhysicalTopologyInstance.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<ReservationBlockPhysicalTopologyInstance.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 ReservationBlockPhysicalTopologyInstance.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReservationBlockPhysicalTopologyInstance.Builder>
-
mergeFrom
public ReservationBlockPhysicalTopologyInstance.Builder mergeFrom(ReservationBlockPhysicalTopologyInstance other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ReservationBlockPhysicalTopologyInstance.Builder>
-
mergeFrom
public ReservationBlockPhysicalTopologyInstance.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<ReservationBlockPhysicalTopologyInstance.Builder>- Throws:
IOException
-
hasInstanceId
public boolean hasInstanceId()The InstanceId of the instance
optional uint64 instance_id = 45488389;- Specified by:
hasInstanceIdin interfaceReservationBlockPhysicalTopologyInstanceOrBuilder- Returns:
- Whether the instanceId field is set.
-
getInstanceId
public long getInstanceId()The InstanceId of the instance
optional uint64 instance_id = 45488389;- Specified by:
getInstanceIdin interfaceReservationBlockPhysicalTopologyInstanceOrBuilder- Returns:
- The instanceId.
-
setInstanceId
The InstanceId of the instance
optional uint64 instance_id = 45488389;- Parameters:
value- The instanceId to set.- Returns:
- This builder for chaining.
-
clearInstanceId
The InstanceId of the instance
optional uint64 instance_id = 45488389;- Returns:
- This builder for chaining.
-
hasPhysicalHostTopology
public boolean hasPhysicalHostTopology()Output only. The PhysicalHostTopology of instances within a Block resource.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology physical_host_topology = 390842814;- Specified by:
hasPhysicalHostTopologyin interfaceReservationBlockPhysicalTopologyInstanceOrBuilder- Returns:
- Whether the physicalHostTopology field is set.
-
getPhysicalHostTopology
Output only. The PhysicalHostTopology of instances within a Block resource.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology physical_host_topology = 390842814;- Specified by:
getPhysicalHostTopologyin interfaceReservationBlockPhysicalTopologyInstanceOrBuilder- Returns:
- The physicalHostTopology.
-
setPhysicalHostTopology
public ReservationBlockPhysicalTopologyInstance.Builder setPhysicalHostTopology(ReservationBlockPhysicalTopologyInstancePhysicalHostTopology value) Output only. The PhysicalHostTopology of instances within a Block resource.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology physical_host_topology = 390842814; -
setPhysicalHostTopology
public ReservationBlockPhysicalTopologyInstance.Builder setPhysicalHostTopology(ReservationBlockPhysicalTopologyInstancePhysicalHostTopology.Builder builderForValue) Output only. The PhysicalHostTopology of instances within a Block resource.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology physical_host_topology = 390842814; -
mergePhysicalHostTopology
public ReservationBlockPhysicalTopologyInstance.Builder mergePhysicalHostTopology(ReservationBlockPhysicalTopologyInstancePhysicalHostTopology value) Output only. The PhysicalHostTopology of instances within a Block resource.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology physical_host_topology = 390842814; -
clearPhysicalHostTopology
Output only. The PhysicalHostTopology of instances within a Block resource.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology physical_host_topology = 390842814; -
getPhysicalHostTopologyBuilder
public ReservationBlockPhysicalTopologyInstancePhysicalHostTopology.Builder getPhysicalHostTopologyBuilder()Output only. The PhysicalHostTopology of instances within a Block resource.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology physical_host_topology = 390842814; -
getPhysicalHostTopologyOrBuilder
public ReservationBlockPhysicalTopologyInstancePhysicalHostTopologyOrBuilder getPhysicalHostTopologyOrBuilder()Output only. The PhysicalHostTopology of instances within a Block resource.
optional .google.cloud.compute.v1.ReservationBlockPhysicalTopologyInstancePhysicalHostTopology physical_host_topology = 390842814;- Specified by:
getPhysicalHostTopologyOrBuilderin interfaceReservationBlockPhysicalTopologyInstanceOrBuilder
-
hasProjectId
public boolean hasProjectId()Project where the instance lives
optional uint64 project_id = 177513473;- Specified by:
hasProjectIdin interfaceReservationBlockPhysicalTopologyInstanceOrBuilder- Returns:
- Whether the projectId field is set.
-
getProjectId
public long getProjectId()Project where the instance lives
optional uint64 project_id = 177513473;- Specified by:
getProjectIdin interfaceReservationBlockPhysicalTopologyInstanceOrBuilder- Returns:
- The projectId.
-
setProjectId
Project where the instance lives
optional uint64 project_id = 177513473;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
Project where the instance lives
optional uint64 project_id = 177513473;- Returns:
- This builder for chaining.
-