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:



3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 3050

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:



3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 3050

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:



3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 3050

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