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,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable
- Enclosing class:
- DescriptorProtos.DescriptorProto.ExtensionRange
public static final class DescriptorProtos.DescriptorProto.ExtensionRange.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<DescriptorProtos.DescriptorProto.ExtensionRange,DescriptorProtos.DescriptorProto.ExtensionRange.Builder>
implements DescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder
Protobuf type
google.protobuf.DescriptorProto.ExtensionRange-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescriptionclearEnd()Exclusive.optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];Inclusive.intgetEnd()Exclusive.optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];intgetStart()Inclusive.booleanhasEnd()Exclusive.booleanoptional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];booleanhasStart()Inclusive.optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];setEnd(int value) Exclusive.optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];setOptions(DescriptorProtos.ExtensionRangeOptions.Builder builderForValue) optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];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, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasStart
public boolean hasStart()Inclusive.
optional int32 start = 1 [json_name = "start"];- Specified by:
hasStartin interfaceDescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder- Returns:
- Whether the start field is set.
-
getStart
public int getStart()Inclusive.
optional int32 start = 1 [json_name = "start"];- Specified by:
getStartin interfaceDescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder- Returns:
- The start.
-
setStart
Inclusive.
optional int32 start = 1 [json_name = "start"];- Parameters:
value- The start to set.- Returns:
- This builder for chaining.
-
clearStart
Inclusive.
optional int32 start = 1 [json_name = "start"];- Returns:
- This builder for chaining.
-
hasEnd
public boolean hasEnd()Exclusive.
optional int32 end = 2 [json_name = "end"];- Specified by:
hasEndin interfaceDescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder- Returns:
- Whether the end field is set.
-
getEnd
public int getEnd()Exclusive.
optional int32 end = 2 [json_name = "end"];- Specified by:
getEndin interfaceDescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder- Returns:
- The end.
-
setEnd
Exclusive.
optional int32 end = 2 [json_name = "end"];- Parameters:
value- The end to set.- Returns:
- This builder for chaining.
-
clearEnd
Exclusive.
optional int32 end = 2 [json_name = "end"];- Returns:
- This builder for chaining.
-
hasOptions
public boolean hasOptions()optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];- Specified by:
hasOptionsin interfaceDescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder- Returns:
- Whether the options field is set.
-
getOptions
optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];- Specified by:
getOptionsin interfaceDescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder- Returns:
- The options.
-
setOptions
public DescriptorProtos.DescriptorProto.ExtensionRange.Builder setOptions(DescriptorProtos.ExtensionRangeOptions value) optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"]; -
setOptions
public DescriptorProtos.DescriptorProto.ExtensionRange.Builder setOptions(DescriptorProtos.ExtensionRangeOptions.Builder builderForValue) optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"]; -
mergeOptions
public DescriptorProtos.DescriptorProto.ExtensionRange.Builder mergeOptions(DescriptorProtos.ExtensionRangeOptions value) optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"]; -
clearOptions
optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
-