public final class SequentialSegment extends GeneratedMessageV3 implements SequentialSegmentOrBuilder
Start and end position in a sequence (e.g. text segment).
Protobuf type google.cloud.datalabeling.v1beta1.SequentialSegment
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
END_FIELD_NUMBER
public static final int END_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
START_FIELD_NUMBER
public static final int START_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static SequentialSegment getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SequentialSegment.Builder newBuilder()
newBuilder(SequentialSegment prototype)
public static SequentialSegment.Builder newBuilder(SequentialSegment prototype)
public static SequentialSegment parseDelimitedFrom(InputStream input)
public static SequentialSegment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SequentialSegment parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SequentialSegment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SequentialSegment parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SequentialSegment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SequentialSegment parseFrom(CodedInputStream input)
public static SequentialSegment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SequentialSegment parseFrom(InputStream input)
public static SequentialSegment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SequentialSegment parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SequentialSegment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SequentialSegment> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public SequentialSegment getDefaultInstanceForType()
getEnd()
End position (exclusive).
int32 end = 2;
Returns |
---|
Type | Description |
int | The end.
|
getParserForType()
public Parser<SequentialSegment> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getStart()
Start position (inclusive).
int32 start = 1;
Returns |
---|
Type | Description |
int | The start.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SequentialSegment.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SequentialSegment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SequentialSegment.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides