Package com.google.protobuf
Class DescriptorProtos.DescriptorProto.ExtensionRange.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<DescriptorProtos.DescriptorProto.ExtensionRange,DescriptorProtos.DescriptorProto.ExtensionRange.Builder>
-
- com.google.protobuf.DescriptorProtos.DescriptorProto.ExtensionRange.Builder
-
- All Implemented Interfaces:
DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder
,MessageLite.Builder
,MessageLiteOrBuilder
,java.lang.Cloneable
- Enclosing class:
- DescriptorProtos.DescriptorProto.ExtensionRange
public static final class DescriptorProtos.DescriptorProto.ExtensionRange.Builder extends GeneratedMessageLite.Builder<DescriptorProtos.DescriptorProto.ExtensionRange,DescriptorProtos.DescriptorProto.ExtensionRange.Builder> implements DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder
Protobuf typegoogle.protobuf.DescriptorProto.ExtensionRange
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite.Builder
AbstractMessageLite.Builder.LimitedInputStream
-
-
Field Summary
-
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Builder()
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
-
-
-
Method Detail
-
hasStart
public boolean hasStart()
Inclusive.
optional int32 start = 1;
- Specified by:
hasStart
in interfaceDescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder
- Returns:
- Whether the start field is set.
-
getStart
public int getStart()
Inclusive.
optional int32 start = 1;
- Specified by:
getStart
in interfaceDescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder
- Returns:
- The start.
-
setStart
public DescriptorProtos.DescriptorProto.ExtensionRange.Builder setStart(int value)
Inclusive.
optional int32 start = 1;
- Parameters:
value
- The start to set.- Returns:
- This builder for chaining.
-
clearStart
public DescriptorProtos.DescriptorProto.ExtensionRange.Builder clearStart()
Inclusive.
optional int32 start = 1;
- Returns:
- This builder for chaining.
-
hasEnd
public boolean hasEnd()
Exclusive.
optional int32 end = 2;
- Specified by:
hasEnd
in interfaceDescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder
- Returns:
- Whether the end field is set.
-
getEnd
public int getEnd()
Exclusive.
optional int32 end = 2;
- Specified by:
getEnd
in interfaceDescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder
- Returns:
- The end.
-
setEnd
public DescriptorProtos.DescriptorProto.ExtensionRange.Builder setEnd(int value)
Exclusive.
optional int32 end = 2;
- Parameters:
value
- The end to set.- Returns:
- This builder for chaining.
-
clearEnd
public DescriptorProtos.DescriptorProto.ExtensionRange.Builder clearEnd()
Exclusive.
optional int32 end = 2;
- Returns:
- This builder for chaining.
-
hasOptions
public boolean hasOptions()
optional .google.protobuf.ExtensionRangeOptions options = 3;
- Specified by:
hasOptions
in interfaceDescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder
- Returns:
- Whether the options field is set.
-
getOptions
public DescriptorProtos.ExtensionRangeOptions getOptions()
optional .google.protobuf.ExtensionRangeOptions options = 3;
- Specified by:
getOptions
in interfaceDescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder
- Returns:
- The options.
-
setOptions
public DescriptorProtos.DescriptorProto.ExtensionRange.Builder setOptions(DescriptorProtos.ExtensionRangeOptions value)
optional .google.protobuf.ExtensionRangeOptions options = 3;
-
setOptions
public DescriptorProtos.DescriptorProto.ExtensionRange.Builder setOptions(DescriptorProtos.ExtensionRangeOptions.Builder builderForValue)
optional .google.protobuf.ExtensionRangeOptions options = 3;
-
mergeOptions
public DescriptorProtos.DescriptorProto.ExtensionRange.Builder mergeOptions(DescriptorProtos.ExtensionRangeOptions value)
optional .google.protobuf.ExtensionRangeOptions options = 3;
-
clearOptions
public DescriptorProtos.DescriptorProto.ExtensionRange.Builder clearOptions()
optional .google.protobuf.ExtensionRangeOptions options = 3;
-
-