Class PhysicalPlatformDetails.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PhysicalPlatformDetails.Builder>
-
- com.google.cloud.migrationcenter.v1.PhysicalPlatformDetails.Builder
-
- All Implemented Interfaces:
PhysicalPlatformDetailsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- PhysicalPlatformDetails
public static final class PhysicalPlatformDetails.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PhysicalPlatformDetails.Builder> implements PhysicalPlatformDetailsOrBuilder
Platform specific details for Physical Machines.
Protobuf typegoogle.cloud.migrationcenter.v1.PhysicalPlatformDetails
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PhysicalPlatformDetails.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
PhysicalPlatformDetails
build()
PhysicalPlatformDetails
buildPartial()
PhysicalPlatformDetails.Builder
clear()
PhysicalPlatformDetails.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
PhysicalPlatformDetails.Builder
clearLocation()
Free text representation of the machine location.PhysicalPlatformDetails.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
PhysicalPlatformDetails.Builder
clone()
PhysicalPlatformDetails
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getLocation()
Free text representation of the machine location.com.google.protobuf.ByteString
getLocationBytes()
Free text representation of the machine location.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
PhysicalPlatformDetails.Builder
mergeFrom(PhysicalPlatformDetails other)
PhysicalPlatformDetails.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
PhysicalPlatformDetails.Builder
mergeFrom(com.google.protobuf.Message other)
PhysicalPlatformDetails.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
PhysicalPlatformDetails.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
PhysicalPlatformDetails.Builder
setLocation(String value)
Free text representation of the machine location.PhysicalPlatformDetails.Builder
setLocationBytes(com.google.protobuf.ByteString value)
Free text representation of the machine location.PhysicalPlatformDetails.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
PhysicalPlatformDetails.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhysicalPlatformDetails.Builder>
-
clear
public PhysicalPlatformDetails.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhysicalPlatformDetails.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhysicalPlatformDetails.Builder>
-
getDefaultInstanceForType
public PhysicalPlatformDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PhysicalPlatformDetails build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PhysicalPlatformDetails buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PhysicalPlatformDetails.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhysicalPlatformDetails.Builder>
-
setField
public PhysicalPlatformDetails.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhysicalPlatformDetails.Builder>
-
clearField
public PhysicalPlatformDetails.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhysicalPlatformDetails.Builder>
-
clearOneof
public PhysicalPlatformDetails.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhysicalPlatformDetails.Builder>
-
setRepeatedField
public PhysicalPlatformDetails.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhysicalPlatformDetails.Builder>
-
addRepeatedField
public PhysicalPlatformDetails.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhysicalPlatformDetails.Builder>
-
mergeFrom
public PhysicalPlatformDetails.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PhysicalPlatformDetails.Builder>
-
mergeFrom
public PhysicalPlatformDetails.Builder mergeFrom(PhysicalPlatformDetails other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhysicalPlatformDetails.Builder>
-
mergeFrom
public PhysicalPlatformDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PhysicalPlatformDetails.Builder>
- Throws:
IOException
-
getLocation
public String getLocation()
Free text representation of the machine location. The format of this field should not be relied on. Different machines in the same location may have different string values for this field.
string location = 1;
- Specified by:
getLocation
in interfacePhysicalPlatformDetailsOrBuilder
- Returns:
- The location.
-
getLocationBytes
public com.google.protobuf.ByteString getLocationBytes()
Free text representation of the machine location. The format of this field should not be relied on. Different machines in the same location may have different string values for this field.
string location = 1;
- Specified by:
getLocationBytes
in interfacePhysicalPlatformDetailsOrBuilder
- Returns:
- The bytes for location.
-
setLocation
public PhysicalPlatformDetails.Builder setLocation(String value)
Free text representation of the machine location. The format of this field should not be relied on. Different machines in the same location may have different string values for this field.
string location = 1;
- Parameters:
value
- The location to set.- Returns:
- This builder for chaining.
-
clearLocation
public PhysicalPlatformDetails.Builder clearLocation()
Free text representation of the machine location. The format of this field should not be relied on. Different machines in the same location may have different string values for this field.
string location = 1;
- Returns:
- This builder for chaining.
-
setLocationBytes
public PhysicalPlatformDetails.Builder setLocationBytes(com.google.protobuf.ByteString value)
Free text representation of the machine location. The format of this field should not be relied on. Different machines in the same location may have different string values for this field.
string location = 1;
- Parameters:
value
- The bytes for location to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final PhysicalPlatformDetails.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhysicalPlatformDetails.Builder>
-
mergeUnknownFields
public final PhysicalPlatformDetails.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PhysicalPlatformDetails.Builder>
-
-