public static final class Partition.RelativeTemporalPartition extends GeneratedMessageV3 implements Partition.RelativeTemporalPartitionOrBuilder
Partition of asset in relative time. Supported by VIDEO_ON_DEMAND corpus
type.
Protobuf type google.cloud.visionai.v1.Partition.RelativeTemporalPartition
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>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
END_OFFSET_FIELD_NUMBER
public static final int END_OFFSET_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
START_OFFSET_FIELD_NUMBER
public static final int START_OFFSET_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Partition.RelativeTemporalPartition getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Partition.RelativeTemporalPartition.Builder newBuilder()
newBuilder(Partition.RelativeTemporalPartition prototype)
public static Partition.RelativeTemporalPartition.Builder newBuilder(Partition.RelativeTemporalPartition prototype)
public static Partition.RelativeTemporalPartition parseDelimitedFrom(InputStream input)
public static Partition.RelativeTemporalPartition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Partition.RelativeTemporalPartition parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Partition.RelativeTemporalPartition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Partition.RelativeTemporalPartition parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Partition.RelativeTemporalPartition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Partition.RelativeTemporalPartition parseFrom(CodedInputStream input)
public static Partition.RelativeTemporalPartition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Partition.RelativeTemporalPartition parseFrom(InputStream input)
public static Partition.RelativeTemporalPartition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Partition.RelativeTemporalPartition parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Partition.RelativeTemporalPartition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Partition.RelativeTemporalPartition> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Partition.RelativeTemporalPartition getDefaultInstanceForType()
getEndOffset()
public Duration getEndOffset()
End time offset of the partition.
.google.protobuf.Duration end_offset = 2;
Returns |
Type |
Description |
Duration |
The endOffset.
|
getEndOffsetOrBuilder()
public DurationOrBuilder getEndOffsetOrBuilder()
End time offset of the partition.
.google.protobuf.Duration end_offset = 2;
getParserForType()
public Parser<Partition.RelativeTemporalPartition> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getStartOffset()
public Duration getStartOffset()
Start time offset of the partition.
.google.protobuf.Duration start_offset = 1;
Returns |
Type |
Description |
Duration |
The startOffset.
|
getStartOffsetOrBuilder()
public DurationOrBuilder getStartOffsetOrBuilder()
Start time offset of the partition.
.google.protobuf.Duration start_offset = 1;
hasEndOffset()
public boolean hasEndOffset()
End time offset of the partition.
.google.protobuf.Duration end_offset = 2;
Returns |
Type |
Description |
boolean |
Whether the endOffset field is set.
|
hasStartOffset()
public boolean hasStartOffset()
Start time offset of the partition.
.google.protobuf.Duration start_offset = 1;
Returns |
Type |
Description |
boolean |
Whether the startOffset field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Partition.RelativeTemporalPartition.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Partition.RelativeTemporalPartition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public Partition.RelativeTemporalPartition.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides