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
-
-
Field Summary
-
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescriptorProtos.DescriptorProto.ExtensionRange.Builder
clearEnd()
optional int32 end = 2 [json_name = "end"];
DescriptorProtos.DescriptorProto.ExtensionRange.Builder
clearOptions()
optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
DescriptorProtos.DescriptorProto.ExtensionRange.Builder
clearStart()
optional int32 start = 1 [json_name = "start"];
int
getEnd()
optional int32 end = 2 [json_name = "end"];
DescriptorProtos.ExtensionRangeOptions
getOptions()
optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
int
getStart()
optional int32 start = 1 [json_name = "start"];
boolean
hasEnd()
optional int32 end = 2 [json_name = "end"];
boolean
hasOptions()
optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
boolean
hasStart()
optional int32 start = 1 [json_name = "start"];
DescriptorProtos.DescriptorProto.ExtensionRange.Builder
mergeOptions(DescriptorProtos.ExtensionRangeOptions value)
optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
DescriptorProtos.DescriptorProto.ExtensionRange.Builder
setEnd(int value)
optional int32 end = 2 [json_name = "end"];
DescriptorProtos.DescriptorProto.ExtensionRange.Builder
setOptions(DescriptorProtos.ExtensionRangeOptions value)
optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
DescriptorProtos.DescriptorProto.ExtensionRange.Builder
setOptions(DescriptorProtos.ExtensionRangeOptions.Builder builderForValue)
optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
DescriptorProtos.DescriptorProto.ExtensionRange.Builder
setStart(int value)
optional int32 start = 1 [json_name = "start"];
-
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()
optional int32 start = 1 [json_name = "start"];
- Specified by:
hasStart
in interfaceDescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder
- Returns:
- Whether the start field is set.
-
getStart
public int getStart()
optional int32 start = 1 [json_name = "start"];
- Specified by:
getStart
in interfaceDescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder
- Returns:
- The start.
-
setStart
public DescriptorProtos.DescriptorProto.ExtensionRange.Builder setStart(int value)
optional int32 start = 1 [json_name = "start"];
- Parameters:
value
- The start to set.- Returns:
- This builder for chaining.
-
clearStart
public DescriptorProtos.DescriptorProto.ExtensionRange.Builder clearStart()
optional int32 start = 1 [json_name = "start"];
- Returns:
- This builder for chaining.
-
hasEnd
public boolean hasEnd()
optional int32 end = 2 [json_name = "end"];
- Specified by:
hasEnd
in interfaceDescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder
- Returns:
- Whether the end field is set.
-
getEnd
public int getEnd()
optional int32 end = 2 [json_name = "end"];
- Specified by:
getEnd
in interfaceDescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder
- Returns:
- The end.
-
setEnd
public DescriptorProtos.DescriptorProto.ExtensionRange.Builder setEnd(int value)
optional int32 end = 2 [json_name = "end"];
- Parameters:
value
- The end to set.- Returns:
- This builder for chaining.
-
clearEnd
public DescriptorProtos.DescriptorProto.ExtensionRange.Builder clearEnd()
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:
hasOptions
in interfaceDescriptorProtos.DescriptorProto.ExtensionRangeOrBuilder
- Returns:
- Whether the options field is set.
-
getOptions
public DescriptorProtos.ExtensionRangeOptions getOptions()
optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
- 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 [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
public DescriptorProtos.DescriptorProto.ExtensionRange.Builder clearOptions()
optional .google.protobuf.ExtensionRangeOptions options = 3 [json_name = "options"];
-
-