func Int32(value *structpb.Value) int32 {
	nv, ok := value.Kind.(*structpb.Value_NumberValue)
	if !ok {
		return 0
	}
	return int32(nv.NumberValue)
}
// Int32 returns value as an int32. If the value is
// not a NumberValue, returns 0
Int32 returns value as an int32. If the value is
not a NumberValue, returns 0
// Int32 returns value as an int32 . If the value is // not a NumberValue returns 0
func Int32(value *structpb.Value) int32 {
	nv, ok := value.Kind.(*structpb.Value_NumberValue)
	if !ok {
		return 0
	}
	return int32(nv.NumberValue)
}
func Int32 ( value * structpb . Value ) int32 { nv , ok := value . Kind . ( * structpb . Value_NumberValue ) if ! ok { return 0 } return int32 ( nv . NumberValue ) }
Int32 returns value as an int32.
Int32 returns value as an int32 .