Package com.google.protobuf
Class DescriptorProtos.DescriptorProto.ExtensionRange.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<DescriptorProtos.DescriptorProto.ExtensionRange,DescriptorProtos.DescriptorProto.ExtensionRange.Builder>
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
,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 type
google.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 -
Method Summary
Modifier and TypeMethodDescriptionclearEnd()
Exclusive.optional .google.protobuf.ExtensionRangeOptions options = 3;
Inclusive.int
getEnd()
Exclusive.optional .google.protobuf.ExtensionRangeOptions options = 3;
int
getStart()
Inclusive.boolean
hasEnd()
Exclusive.boolean
optional .google.protobuf.ExtensionRangeOptions options = 3;
boolean
hasStart()
Inclusive.optional .google.protobuf.ExtensionRangeOptions options = 3;
setEnd
(int value) Exclusive.optional .google.protobuf.ExtensionRangeOptions options = 3;
setOptions
(DescriptorProtos.ExtensionRangeOptions.Builder builderForValue) optional .google.protobuf.ExtensionRangeOptions options = 3;
setStart
(int value) Inclusive.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
-
Constructor Details
-
Builder
private Builder()
-
-
Method Details
-
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
Inclusive.
optional int32 start = 1;
- Parameters:
value
- The start to set.- Returns:
- This builder for chaining.
-
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
Exclusive.
optional int32 end = 2;
- Parameters:
value
- The end to set.- Returns:
- This builder for chaining.
-
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
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
optional .google.protobuf.ExtensionRangeOptions options = 3;
-