Class: Google::Cloud::VisionAI::V1::Partition

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/visionai/v1/warehouse.rb

Overview

Partition to specify the partition in time and space for sub-asset level annotation.

Defined Under Namespace

Classes: RelativeTemporalPartition, SpatialPartition, TemporalPartition

Instance Attribute Summary collapse

Instance Attribute Details

#relative_temporal_partition::Google::Cloud::VisionAI::V1::Partition::RelativeTemporalPartition

Returns Partition of asset in time.

Returns:



2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2986

class Partition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Partition of asset in UTC Epoch time. Supported by STREAM_VIDEO corpus
  # type.
  # @!attribute [rw] start_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Start time of the partition.
  # @!attribute [rw] end_time
  #   @return [::Google::Protobuf::Timestamp]
  #     End time of the partition.
  class TemporalPartition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Partition of asset in space.
  # @!attribute [rw] x_min
  #   @return [::Integer]
  #     The minimum x coordinate value.
  # @!attribute [rw] y_min
  #   @return [::Integer]
  #     The minimum y coordinate value.
  # @!attribute [rw] x_max
  #   @return [::Integer]
  #     The maximum x coordinate value.
  # @!attribute [rw] y_max
  #   @return [::Integer]
  #     The maximum y coordinate value.
  class SpatialPartition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Partition of asset in relative time. Supported by VIDEO_ON_DEMAND corpus
  # type.
  # @!attribute [rw] start_offset
  #   @return [::Google::Protobuf::Duration]
  #     Start time offset of the partition.
  # @!attribute [rw] end_offset
  #   @return [::Google::Protobuf::Duration]
  #     End time offset of the partition.
  class RelativeTemporalPartition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#spatial_partition::Google::Cloud::VisionAI::V1::Partition::SpatialPartition

Returns Partition of asset in space.

Returns:



2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2986

class Partition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Partition of asset in UTC Epoch time. Supported by STREAM_VIDEO corpus
  # type.
  # @!attribute [rw] start_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Start time of the partition.
  # @!attribute [rw] end_time
  #   @return [::Google::Protobuf::Timestamp]
  #     End time of the partition.
  class TemporalPartition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Partition of asset in space.
  # @!attribute [rw] x_min
  #   @return [::Integer]
  #     The minimum x coordinate value.
  # @!attribute [rw] y_min
  #   @return [::Integer]
  #     The minimum y coordinate value.
  # @!attribute [rw] x_max
  #   @return [::Integer]
  #     The maximum x coordinate value.
  # @!attribute [rw] y_max
  #   @return [::Integer]
  #     The maximum y coordinate value.
  class SpatialPartition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Partition of asset in relative time. Supported by VIDEO_ON_DEMAND corpus
  # type.
  # @!attribute [rw] start_offset
  #   @return [::Google::Protobuf::Duration]
  #     Start time offset of the partition.
  # @!attribute [rw] end_offset
  #   @return [::Google::Protobuf::Duration]
  #     End time offset of the partition.
  class RelativeTemporalPartition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#temporal_partition::Google::Cloud::VisionAI::V1::Partition::TemporalPartition

Returns Partition of asset in time.

Returns:



2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2986

class Partition
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # Partition of asset in UTC Epoch time. Supported by STREAM_VIDEO corpus
  # type.
  # @!attribute [rw] start_time
  #   @return [::Google::Protobuf::Timestamp]
  #     Start time of the partition.
  # @!attribute [rw] end_time
  #   @return [::Google::Protobuf::Timestamp]
  #     End time of the partition.
  class TemporalPartition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Partition of asset in space.
  # @!attribute [rw] x_min
  #   @return [::Integer]
  #     The minimum x coordinate value.
  # @!attribute [rw] y_min
  #   @return [::Integer]
  #     The minimum y coordinate value.
  # @!attribute [rw] x_max
  #   @return [::Integer]
  #     The maximum x coordinate value.
  # @!attribute [rw] y_max
  #   @return [::Integer]
  #     The maximum y coordinate value.
  class SpatialPartition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end

  # Partition of asset in relative time. Supported by VIDEO_ON_DEMAND corpus
  # type.
  # @!attribute [rw] start_offset
  #   @return [::Google::Protobuf::Duration]
  #     Start time offset of the partition.
  # @!attribute [rw] end_offset
  #   @return [::Google::Protobuf::Duration]
  #     End time offset of the partition.
  class RelativeTemporalPartition
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end