Class LengthP.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<LengthP.Builder>
-
- com.ironsoftware.ironpdf.internal.proto.LengthP.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,LengthPOrBuilder
,Cloneable
- Enclosing class:
- LengthP
public static final class LengthP.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LengthP.Builder> implements LengthPOrBuilder
Protobuf typeironpdfengineproto.LengthP
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LengthP
build()
LengthP
buildPartial()
LengthP.Builder
clear()
LengthP.Builder
clearUnit()
.ironpdfengineproto.MeasurementUnitP unit = 2;
LengthP.Builder
clearValue()
double value = 1;
LengthP
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
MeasurementUnitP
getUnit()
.ironpdfengineproto.MeasurementUnitP unit = 2;
MeasurementUnitP.Builder
getUnitBuilder()
.ironpdfengineproto.MeasurementUnitP unit = 2;
MeasurementUnitPOrBuilder
getUnitOrBuilder()
.ironpdfengineproto.MeasurementUnitP unit = 2;
double
getValue()
double value = 1;
boolean
hasUnit()
.ironpdfengineproto.MeasurementUnitP unit = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
LengthP.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
LengthP.Builder
mergeFrom(com.google.protobuf.Message other)
LengthP.Builder
mergeFrom(LengthP other)
LengthP.Builder
mergeUnit(MeasurementUnitP value)
.ironpdfengineproto.MeasurementUnitP unit = 2;
LengthP.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
LengthP.Builder
setUnit(MeasurementUnitP value)
.ironpdfengineproto.MeasurementUnitP unit = 2;
LengthP.Builder
setUnit(MeasurementUnitP.Builder builderForValue)
.ironpdfengineproto.MeasurementUnitP unit = 2;
LengthP.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
LengthP.Builder
setValue(double value)
double value = 1;
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, 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<LengthP.Builder>
-
clear
public LengthP.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<LengthP.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<LengthP.Builder>
-
getDefaultInstanceForType
public LengthP getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public LengthP build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public LengthP buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public LengthP.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LengthP.Builder>
-
mergeFrom
public LengthP.Builder mergeFrom(LengthP other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<LengthP.Builder>
-
mergeFrom
public LengthP.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<LengthP.Builder>
- Throws:
IOException
-
getValue
public double getValue()
double value = 1;
- Specified by:
getValue
in interfaceLengthPOrBuilder
- Returns:
- The value.
-
setValue
public LengthP.Builder setValue(double value)
double value = 1;
- Parameters:
value
- The value to set.- Returns:
- This builder for chaining.
-
clearValue
public LengthP.Builder clearValue()
double value = 1;
- Returns:
- This builder for chaining.
-
hasUnit
public boolean hasUnit()
.ironpdfengineproto.MeasurementUnitP unit = 2;
- Specified by:
hasUnit
in interfaceLengthPOrBuilder
- Returns:
- Whether the unit field is set.
-
getUnit
public MeasurementUnitP getUnit()
.ironpdfengineproto.MeasurementUnitP unit = 2;
- Specified by:
getUnit
in interfaceLengthPOrBuilder
- Returns:
- The unit.
-
setUnit
public LengthP.Builder setUnit(MeasurementUnitP value)
.ironpdfengineproto.MeasurementUnitP unit = 2;
-
setUnit
public LengthP.Builder setUnit(MeasurementUnitP.Builder builderForValue)
.ironpdfengineproto.MeasurementUnitP unit = 2;
-
mergeUnit
public LengthP.Builder mergeUnit(MeasurementUnitP value)
.ironpdfengineproto.MeasurementUnitP unit = 2;
-
clearUnit
public LengthP.Builder clearUnit()
.ironpdfengineproto.MeasurementUnitP unit = 2;
-
getUnitBuilder
public MeasurementUnitP.Builder getUnitBuilder()
.ironpdfengineproto.MeasurementUnitP unit = 2;
-
getUnitOrBuilder
public MeasurementUnitPOrBuilder getUnitOrBuilder()
.ironpdfengineproto.MeasurementUnitP unit = 2;
- Specified by:
getUnitOrBuilder
in interfaceLengthPOrBuilder
-
setUnknownFields
public final LengthP.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LengthP.Builder>
-
mergeUnknownFields
public final LengthP.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LengthP.Builder>
-
-