Vision AI V1 API - Class Google::Cloud::VisionAI::V1::AttributeValue (v0.4.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::AttributeValue.

Represents an actual value of an operator attribute.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#b

def b() -> ::Boolean
Returns
  • (::Boolean) — bool.

    Note: The following fields are mutually exclusive: b, i, f, s. If a field in that set is populated, all other fields in the set will automatically be cleared.

#b=

def b=(value) -> ::Boolean
Parameter
  • value (::Boolean) — bool.

    Note: The following fields are mutually exclusive: b, i, f, s. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Boolean) — bool.

    Note: The following fields are mutually exclusive: b, i, f, s. If a field in that set is populated, all other fields in the set will automatically be cleared.

#f

def f() -> ::Float
Returns
  • (::Float) — float.

    Note: The following fields are mutually exclusive: f, i, b, s. If a field in that set is populated, all other fields in the set will automatically be cleared.

#f=

def f=(value) -> ::Float
Parameter
  • value (::Float) — float.

    Note: The following fields are mutually exclusive: f, i, b, s. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Float) — float.

    Note: The following fields are mutually exclusive: f, i, b, s. If a field in that set is populated, all other fields in the set will automatically be cleared.

#i

def i() -> ::Integer
Returns
  • (::Integer) — int.

    Note: The following fields are mutually exclusive: i, f, b, s. If a field in that set is populated, all other fields in the set will automatically be cleared.

#i=

def i=(value) -> ::Integer
Parameter
  • value (::Integer) — int.

    Note: The following fields are mutually exclusive: i, f, b, s. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Integer) — int.

    Note: The following fields are mutually exclusive: i, f, b, s. If a field in that set is populated, all other fields in the set will automatically be cleared.

#s

def s() -> ::String
Returns
  • (::String) — string.

    Note: The following fields are mutually exclusive: s, i, f, b. If a field in that set is populated, all other fields in the set will automatically be cleared.

#s=

def s=(value) -> ::String
Parameter
  • value (::String) — string.

    Note: The following fields are mutually exclusive: s, i, f, b. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::String) — string.

    Note: The following fields are mutually exclusive: s, i, f, b. If a field in that set is populated, all other fields in the set will automatically be cleared.