Class HybridSimProto.Transition.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<HybridSimProto.Transition.Builder>
-
- org.matsim.contrib.hybridsim.proto.HybridSimProto.Transition.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,HybridSimProto.TransitionOrBuilder
- Enclosing class:
- HybridSimProto.Transition
public static final class HybridSimProto.Transition.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HybridSimProto.Transition.Builder> implements HybridSimProto.TransitionOrBuilder
Protobuf typehybridsim.Transition
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
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<HybridSimProto.Transition.Builder>
-
clear
public HybridSimProto.Transition.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<HybridSimProto.Transition.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<HybridSimProto.Transition.Builder>
-
getDefaultInstanceForType
public HybridSimProto.Transition getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public HybridSimProto.Transition build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public HybridSimProto.Transition buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public HybridSimProto.Transition.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridSimProto.Transition.Builder>
-
setField
public HybridSimProto.Transition.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridSimProto.Transition.Builder>
-
clearField
public HybridSimProto.Transition.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridSimProto.Transition.Builder>
-
clearOneof
public HybridSimProto.Transition.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridSimProto.Transition.Builder>
-
setRepeatedField
public HybridSimProto.Transition.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridSimProto.Transition.Builder>
-
addRepeatedField
public HybridSimProto.Transition.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridSimProto.Transition.Builder>
-
mergeFrom
public HybridSimProto.Transition.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<HybridSimProto.Transition.Builder>
-
mergeFrom
public HybridSimProto.Transition.Builder mergeFrom(HybridSimProto.Transition other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridSimProto.Transition.Builder>
-
mergeFrom
public HybridSimProto.Transition.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<HybridSimProto.Transition.Builder>
- Throws:
IOException
-
getId
public int getId()
int32 id = 1;
- Specified by:
getId
in interfaceHybridSimProto.TransitionOrBuilder
- Returns:
- The id.
-
setId
public HybridSimProto.Transition.Builder setId(int value)
int32 id = 1;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
public HybridSimProto.Transition.Builder clearId()
int32 id = 1;
- Returns:
- This builder for chaining.
-
getCaption
public String getCaption()
string caption = 2;
- Specified by:
getCaption
in interfaceHybridSimProto.TransitionOrBuilder
- Returns:
- The caption.
-
getCaptionBytes
public com.google.protobuf.ByteString getCaptionBytes()
string caption = 2;
- Specified by:
getCaptionBytes
in interfaceHybridSimProto.TransitionOrBuilder
- Returns:
- The bytes for caption.
-
setCaption
public HybridSimProto.Transition.Builder setCaption(String value)
string caption = 2;
- Parameters:
value
- The caption to set.- Returns:
- This builder for chaining.
-
clearCaption
public HybridSimProto.Transition.Builder clearCaption()
string caption = 2;
- Returns:
- This builder for chaining.
-
setCaptionBytes
public HybridSimProto.Transition.Builder setCaptionBytes(com.google.protobuf.ByteString value)
string caption = 2;
- Parameters:
value
- The bytes for caption to set.- Returns:
- This builder for chaining.
-
getType
public String getType()
string type = 3;
- Specified by:
getType
in interfaceHybridSimProto.TransitionOrBuilder
- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
string type = 3;
- Specified by:
getTypeBytes
in interfaceHybridSimProto.TransitionOrBuilder
- Returns:
- The bytes for type.
-
setType
public HybridSimProto.Transition.Builder setType(String value)
string type = 3;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public HybridSimProto.Transition.Builder clearType()
string type = 3;
- Returns:
- This builder for chaining.
-
setTypeBytes
public HybridSimProto.Transition.Builder setTypeBytes(com.google.protobuf.ByteString value)
string type = 3;
- Parameters:
value
- The bytes for type to set.- Returns:
- This builder for chaining.
-
getRoom1Id
public int getRoom1Id()
int32 room1_id = 4;
- Specified by:
getRoom1Id
in interfaceHybridSimProto.TransitionOrBuilder
- Returns:
- The room1Id.
-
setRoom1Id
public HybridSimProto.Transition.Builder setRoom1Id(int value)
int32 room1_id = 4;
- Parameters:
value
- The room1Id to set.- Returns:
- This builder for chaining.
-
clearRoom1Id
public HybridSimProto.Transition.Builder clearRoom1Id()
int32 room1_id = 4;
- Returns:
- This builder for chaining.
-
getSubroom1Id
public int getSubroom1Id()
int32 subroom1_id = 5;
- Specified by:
getSubroom1Id
in interfaceHybridSimProto.TransitionOrBuilder
- Returns:
- The subroom1Id.
-
setSubroom1Id
public HybridSimProto.Transition.Builder setSubroom1Id(int value)
int32 subroom1_id = 5;
- Parameters:
value
- The subroom1Id to set.- Returns:
- This builder for chaining.
-
clearSubroom1Id
public HybridSimProto.Transition.Builder clearSubroom1Id()
int32 subroom1_id = 5;
- Returns:
- This builder for chaining.
-
getRoom2Id
public int getRoom2Id()
int32 room2_id = 6;
- Specified by:
getRoom2Id
in interfaceHybridSimProto.TransitionOrBuilder
- Returns:
- The room2Id.
-
setRoom2Id
public HybridSimProto.Transition.Builder setRoom2Id(int value)
int32 room2_id = 6;
- Parameters:
value
- The room2Id to set.- Returns:
- This builder for chaining.
-
clearRoom2Id
public HybridSimProto.Transition.Builder clearRoom2Id()
int32 room2_id = 6;
- Returns:
- This builder for chaining.
-
getSubroom2Id
public int getSubroom2Id()
int32 subroom2_id = 7;
- Specified by:
getSubroom2Id
in interfaceHybridSimProto.TransitionOrBuilder
- Returns:
- The subroom2Id.
-
setSubroom2Id
public HybridSimProto.Transition.Builder setSubroom2Id(int value)
int32 subroom2_id = 7;
- Parameters:
value
- The subroom2Id to set.- Returns:
- This builder for chaining.
-
clearSubroom2Id
public HybridSimProto.Transition.Builder clearSubroom2Id()
int32 subroom2_id = 7;
- Returns:
- This builder for chaining.
-
hasVert1
public boolean hasVert1()
.hybridsim.Coordinate vert1 = 8;
- Specified by:
hasVert1
in interfaceHybridSimProto.TransitionOrBuilder
- Returns:
- Whether the vert1 field is set.
-
getVert1
public HybridSimProto.Coordinate getVert1()
.hybridsim.Coordinate vert1 = 8;
- Specified by:
getVert1
in interfaceHybridSimProto.TransitionOrBuilder
- Returns:
- The vert1.
-
setVert1
public HybridSimProto.Transition.Builder setVert1(HybridSimProto.Coordinate value)
.hybridsim.Coordinate vert1 = 8;
-
setVert1
public HybridSimProto.Transition.Builder setVert1(HybridSimProto.Coordinate.Builder builderForValue)
.hybridsim.Coordinate vert1 = 8;
-
mergeVert1
public HybridSimProto.Transition.Builder mergeVert1(HybridSimProto.Coordinate value)
.hybridsim.Coordinate vert1 = 8;
-
clearVert1
public HybridSimProto.Transition.Builder clearVert1()
.hybridsim.Coordinate vert1 = 8;
-
getVert1Builder
public HybridSimProto.Coordinate.Builder getVert1Builder()
.hybridsim.Coordinate vert1 = 8;
-
getVert1OrBuilder
public HybridSimProto.CoordinateOrBuilder getVert1OrBuilder()
.hybridsim.Coordinate vert1 = 8;
- Specified by:
getVert1OrBuilder
in interfaceHybridSimProto.TransitionOrBuilder
-
hasVert2
public boolean hasVert2()
.hybridsim.Coordinate vert2 = 9;
- Specified by:
hasVert2
in interfaceHybridSimProto.TransitionOrBuilder
- Returns:
- Whether the vert2 field is set.
-
getVert2
public HybridSimProto.Coordinate getVert2()
.hybridsim.Coordinate vert2 = 9;
- Specified by:
getVert2
in interfaceHybridSimProto.TransitionOrBuilder
- Returns:
- The vert2.
-
setVert2
public HybridSimProto.Transition.Builder setVert2(HybridSimProto.Coordinate value)
.hybridsim.Coordinate vert2 = 9;
-
setVert2
public HybridSimProto.Transition.Builder setVert2(HybridSimProto.Coordinate.Builder builderForValue)
.hybridsim.Coordinate vert2 = 9;
-
mergeVert2
public HybridSimProto.Transition.Builder mergeVert2(HybridSimProto.Coordinate value)
.hybridsim.Coordinate vert2 = 9;
-
clearVert2
public HybridSimProto.Transition.Builder clearVert2()
.hybridsim.Coordinate vert2 = 9;
-
getVert2Builder
public HybridSimProto.Coordinate.Builder getVert2Builder()
.hybridsim.Coordinate vert2 = 9;
-
getVert2OrBuilder
public HybridSimProto.CoordinateOrBuilder getVert2OrBuilder()
.hybridsim.Coordinate vert2 = 9;
- Specified by:
getVert2OrBuilder
in interfaceHybridSimProto.TransitionOrBuilder
-
setUnknownFields
public final HybridSimProto.Transition.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridSimProto.Transition.Builder>
-
mergeUnknownFields
public final HybridSimProto.Transition.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<HybridSimProto.Transition.Builder>
-
-